[U-Boot-Users] Relocatable U-Boot

Josh Boyer jwboyer at gmail.com
Wed May 30 16:39:36 CEST 2007

On 5/29/07, Ulf Samuelsson <ulf at atmel.com> wrote:
> >
> > A handful of projects I have worked on use multiple copies of u-boot
> > stored in different locations of flash and a small assembly stub
> > determines which to boot.  Currently, to do that u-boot has to be
> > compiled two different times with different settings to accommodate
> > the different base addresses.
> >
> > Is there a way to use a single build of u-boot which can be placed at
> > two different addresses in flash?  That seems to me that it would be a
> > useful general feature.
> If you copy your U-Boot to RAM, you can have multiple U-Boots
> each linked to the same location.
> You need a small utility which runs before U-Boot which
> determines which version to use.

Hm... yes.  Though I think that is more of a workaround than a truly
relocatable u-boot.


More information about the U-Boot mailing list