[U-Boot] [PATCH 6/6] powerpc: Add LINK_OFF calls in early C-code.

Scott Wood scottwood at freescale.com
Tue Nov 23 23:32:04 CET 2010


On Tue, 23 Nov 2010 23:14:06 +0100
Joakim Tjernlund <joakim.tjernlund at transmode.se> wrote:

> Scott Wood <scottwood at freescale.com> wrote on 2010/11/23 22:20:58:
> > "load address" being pre-relocation?  Currently these must be equal
> > (which doesn't seem particularly burdensome).
> 
> Yes, but in our case we update the boot in the field and we want to
> make that safer by having two uboot areas but we don't want to carry around
> two u-boot images.

How about playing with BATs before entering C code, so that the image
always appears at the same effective address?

In fact, we could probably do something similar when copying to RAM as
well, and not need any sort of link relocation.

-Scott



More information about the U-Boot mailing list