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

V, Aneesh
2010-11-03T10:39:37Z

Dear Wolfgang,

> -----Original Message-----
> From: Wolfgang Denk [mailto:wd at denx.de]
> Sent: Wednesday, November 03, 2010 1:33 PM
> To: V, Aneesh
> Cc: Reinhard Meyer; Albert ARIBAUD; u-boot at lists.denx.de; hs at denx.de
> Subject: Re: [U-Boot] [RFC] arm926ejs: fix jump to RAM nand_boot
>
> Dear "V, Aneesh",
>
> In message
> <FF55437E1F14DA4BAEB721A458B6701706FD313705@dbde02.ent.ti.com> you
> wrote:
> >
> > Shouldn't we provide a CONFIG option by which users can disable
> > Elf relocation?
>
> Why should we? It would just make the code even more complicated,
> and
> require a lot of additional test cases.
>
> > On production systems you know exactly how much memory you have.
> > Relocation may not be very useful. On the other hand faster boot
> is a
> > bigger concern. Shouldn't we support this case?
>
> If time in your concern, then did you measure the time the
> relocation
> costs you? How long is it on your system?
>

We will do this measurement and get back to you.

> Please be aware that a whole number of other features depend on
> doing
> real relocation. Also, it brings us a lot closer to use common code

If the preloader loads the u-boot to the location that it is built for
everything should work fine once bss is initialized, right?

Best regards,
Aneesh