
Wolfgang Denk <wd <at> denx.de> writes:
Dear PHIL.EDWORTHY <at> renesas.com,
In message <OF460D0558.A844A780-ONC12578AE.0047905C-802578AE.00482EFA <at>
eu.necel.com> you wrote:
U-boot is typically stored in flash and one of the first things it does when executed is relocate to ram. CONFIG_SYS_TEXT_BASE is the relocation address. Typically, u-boot global data, heap and then
This is completely wrong. The relocation address is determined dynamically, depending on RAM size and a number of coinfigured options.
CONFIG_SYS_TEXT_BASE is the start address of the text segment when execution starts - on ROM booting systems this is an address in ROM.
I am sure more experienced u-boot developers will correct me if I am
wrong :)
Indeed this was necessary.
Best regards,
Wolfgang Denk
Hello Wolfgang,
is it safe to say that this is the base address of the flash memory, the CONFIG_SYS_TEXT_BASE? Of course if I boot from flash.. Say if my flash is in 0x10000000 for NCS0 of at91rm9200 as an example, CONFIG_SYS_TEXT_BASE = 0x10000000?
Thanks
Chris