[U-Boot] Most ARM CPU's have buggy clear_bss?

Wolfgang Denk wd at denx.de
Wed Oct 27 12:40:28 CEST 2010


Dear Darius Augulis,

In message <AANLkTimWZv=XBC1s1G8-=D6nAJ09poqHYP9RXHeTTM4q at mail.gmail.com> you wrote:
>
> > I don't think we can define CONFIG_SKIP_RELOCATE_UBOOT with
> > relocation enabled unless we ensure that the TEXT_BASE would be same
> > as the relocation address.
> 
> in case of nand_spl you don't need to to relocation twice because it's
> done by preloader.

Maybe, maybe not. The preloader is usually very simple and may not be
clever enough to adjust the oad address to the avalable memory and
such; also, U-Boot features like protected RAM, shared video buffers
or log buffers may also require to dynamically adjust the final load
address. In such cases relocation will be needed.

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
Voodoo Programming: Things programmers do that  they  know  shouldn't
work  but they try anyway, and which sometimes actually work, such as
recompiling everything.                             - Karl Lehenbauer


More information about the U-Boot mailing list