
13 Jun
2011
13 Jun
'11
5:58 p.m.
Dear PHIL.EDWORTHY@renesas.com,
In message OF460D0558.A844A780-ONC12578AE.0047905C-802578AE.00482EFA@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
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
A person who is more than casually interested in computers should be
well schooled in machine language, since it is a fundamental part of
a computer. -- Donald Knuth