[U-Boot] [RFC] arm926ejs: fix jump to RAM nand_boot

Wolfgang Denk wd at denx.de
Wed Nov 3 12:27:59 CET 2010


Dear "V, Aneesh",

In message <FF55437E1F14DA4BAEB721A458B6701706FD3137F3 at dbde02.ent.ti.com> you wrote:
> 
> If the preloader loads the u-boot to the location that it is built for 
> everything should work fine once bss is initialized, right?

There is no such thing as a "location that it is built for", as the
location in RAM may differ, depending on enabled features - for
example, pRAM size or (shared) frame buffer size may change depending
on environment variable settings. In the result, the location of
U-Boot in RAM shifts.  You cannot know the final address at build
time.

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 at denx.de
"In matters of principle, stand like a rock;  in  matters  of  taste,
swim with the current."                            - Thomas Jefferson


More information about the U-Boot mailing list