[U-Boot] [PATCH] mpc83xx: Add -fpic relocation support

Joakim Tjernlund joakim.tjernlund at transmode.se
Tue Oct 12 22:40:27 CEST 2010


Scott Wood <scottwood at freescale.com> wrote on 2010/10/12 22:16:14:
> 
> On Tue, 12 Oct 2010 21:51:44 +0200
> Joakim Tjernlund <joakim.tjernlund at transmode.se> wrote:
> 
> > Scott Wood <scottwood at freescale.com> wrote on 2010/10/12 21:20:26:
> > > We do need to relocate with NAND SPL.  We start in the NAND buffer,
> > > but we have to move to RAM to free up the buffer for loading the 
rest
> > > of U-Boot.
> > 
> > Sure, but do you move to a specific RAM address and is
> > it the same as your link address?
> 
> The link address is of the pre-relocation NAND buffer.

hmm, then I don't understand how you get by. Initialized static/global
ptrs should point into some random area. Perhaps you do
something special(such as leaving a copy of u-boot at its link address)?

 Jocke


More information about the U-Boot mailing list