[U-Boot] [RFC] [PATCH] arm: arm926ejs: use ELF relocations

Albert ARIBAUD
2010-10-05T05:47:26Z

Le 05/10/2010 07:30, Wolfgang Denk a ?crit :
> Dear Albert ARIBAUD,
>
> In message<4CAA50AA.3000608@free.fr> you wrote:
>>
>> Remember: this patch only applies to boards which boot from NOR FLASH!
>> You can test it on other types of boards (NAND-based, etc) for
>> regression testing, but nothing more.
>
> Assuming the NAND loder does not load U-Boot to it's final location
> at the upper end of RAM, but - say - somewhere in lower memory, the
> standard relocation preocess will be running, so I think there should
> be no real difference between (such) NAND booting systems and NOR
> booting ones - or am I missing something?

No, you're not; instead of "but [you can test] nothing more", I should
have written "but don't expect much more" -- NAND testers may find it
works because yes, relocation does not differ whether from FLASH or from
RAM; however I did nothing to make sure NAND booting (and other similar
methods) works, whereas I spent quite some time to make NOR boot work.

> Best regards,
>
> Wolfgang Denk

Amicalement,
--
Albert.