|
|
|
|
|
|
| Author |
Message |
cyber *nix forums beginner
Joined: 03 Nov 2005
Posts: 2
|
Posted: Thu Nov 03, 2005 9:03 pm Post subject:
ld script
|
|
|
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 |
|
 |
|
|
The time now is Thu Jan 08, 2009 8:06 am | All times are GMT
|
|
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
|
|