[U-Boot] new uboot with relocation change cannot boot when download the bin file to different address than TEXT_BASE

Wolfgang Denk wd at denx.de
Sat Oct 9 19:50:04 CEST 2010


Dear Lei Wen,

In message <AANLkTi==rkiYsGNFYiy2nO_w4uSw=Da8stZjcHt14Q9J at mail.gmail.com> you wrote:
>
> But it let the uboot lose a good feature that let it boot itself to
> debug a new feature.

This has never been supported, and never been working reliably, not
across acrchitectures, and not on all ARM systems.

> In original scheme, the relocate operation is done before calling the
> init_sequence,
> so the problem here was gone.

No. Before, There was no relocation done at all, because U-Boot was
linked to a fixed RAM address, and was simply copied there.

You ware just lucky when you were able to start U-Boot from an already
running system.


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
Q: Why do PCs have a reset button on the front?
A: Because they are expected to run Microsoft operating systems.


More information about the U-Boot mailing list