[U-Boot] reloacting uboot

E Robertson e.robertson.svg at gmail.com
Tue Aug 25 21:42:53 CEST 2009


On Tuesday 25 August 2009 02:11:36 pm Wolfgang Denk wrote:
> Dear E Robertson,
>
> In message <200908251403.20809.e.robertson.svg at gmail.com> you wrote:
> > I am using the at91sam9263 device from which the bootstrap code load
> > u-boot to the desired ram address. However, I would like to re-relocate
> > this at the different address based on memory availability. Can / or
> > should this be done?
>
> Yes, it can be done, and it should be done. The fact that we don't do
> it so far is due to the fact that the guys who did the original ARM
> code found this too complicated (even though they had a working
> example in the PowerPC code) and not worth the effort. We're suffering
> since from this misconception.
>
> But there is no reason why you would have to copy the  code  again  -
> just copy it to the correct address right from the beginning, like we
> do in PowerPC.

By the way, my reason for doing this is that i want to maintain a proportional 
memory space available so if I increase the ram size I would like to relocate 
the boot loader without doing a separate build. Make sense?




More information about the U-Boot mailing list