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

Scott Wood scottwood at freescale.com
Tue Oct 12 22:48:59 CEST 2010


On Tue, 12 Oct 2010 22:40:27 +0200
Joakim Tjernlund <joakim.tjernlund at transmode.se> wrote:

> Scott Wood <scottwood at freescale.com> wrote on 2010/10/12 22:16:14:
> > 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.

It suspect we just don't have any such pointers in the SPL.

> Perhaps you do something special(such as leaving a copy of u-boot at its link address)?

No, that buffer is re-used for loading additional data via NAND once we
relocate out of it.

-Scott



More information about the U-Boot mailing list