niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux » powerpc
ld script
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
cyber
*nix forums beginner


Joined: 03 Nov 2005
Posts: 2

PostPosted: Thu Nov 03, 2005 9:03 pm    Post subject: ld script Reply with quote

Hi
Can anyone help me with Linker LD script memory allocation
I need to write a embedded bootloader

The bootloader should be placed i ROM at 0xa000 and above . The code should
include some function foo1()... foo10(). and main() and crt0

The CPU starts at 0x0000 where it should be vector which should point to
crt0 (rom version)
..After boot process . The bootloader wil copy its Ram based program ( runing
in RAM) from external device (Rs232) .

The Memory is mapped as
000-0x50 Hardware vectors (prom)
0x52---0x1ffe Program RAM Where the sshould be copied from external
device
2000-3000 Ram ( ram , heap , stack)
0xa000-0xc000 ROM (bootloader)

How should I write a LD script file for both Rom and Ram based version

With regards
George Arndt
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 8:06 am | All times are GMT
navigation Forum index » *nix » Linux » powerpc
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts does squid 2.6 support setting cache_peer port in redirec... Victor Tsang Squid 0 Fri Jul 21, 2006 8:16 am
No new posts mail script eeb4u@hotmail.com shell 3 Fri Jul 21, 2006 5:50 am
No new posts A simple bash script JPB Suse 2 Fri Jul 21, 2006 2:19 am
No new posts Getting started in PXPerl, i.e how to run a script? Markus Hänchen Perl 5 Thu Jul 20, 2006 2:12 pm
No new posts Match pattern in ksh script lnrntx@gmail.com shell 6 Thu Jul 20, 2006 1:48 am

Reptile Supplies | Credit Cards | Ken Follet | Debt Consolidation | Air Jordans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1246s ][ Queries: 16 (0.0629s) ][ GZIP on - Debug on ]