[U-Boot] ARM relocation, probably trivial mistake

Heiko Schocher
2010-10-01T05:25:39Z

Hello Wolfgang,

Wolfgang Denk wrote:
> Dear Heiko Schocher,
>
> In message <4CA4AEFF.3050101@denx.de> you wrote:
>>> 1. should CONFIG_SKIP_RELOCATE_UBOOT be not defined anymore?
>> If TEXT_BASE == relocation address it could be defined,
>> never tested.
>
> We should point out that this is only intended (and allowed) for
> boards where U-Boot gets loaded into RAM by some other means (like a
> first stage boot loader, say when booting from NAND or SDCard).
>
> When booting from NOR or some other persistent memory TEXT_BASE will
> point to that address range, and then it is obviously impossible to
> use the same value as relocation address.

Yes, you are right, that just work on boards, which use a preloader ...

bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany