|
Sounds like you have a sparse file, probably because you have data/code in two distinct regions of memory SRAM vs SDRAM.
SDRAM is 0x20000000, which is the 512 MB boundary. The SRAM's are at 0x00200000 and 0x00300000 as I recall, the boot code is copied by BootROM into the former, and the stack is located in the latter. Having the C startup copying data into the SDRAM is problematic because the controller needs to be set up first.
Typically a boot loader in SRAM would only access the SDRAM via pointers, and not make reference to it in the linker script.
Post/attach the entire linker script if you want others to look at it.
|