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

Scott Wood scottwood at freescale.com
Wed Nov 24 00:24:09 CET 2010


On Wed, 24 Nov 2010 00:03:13 +0100
Wolfgang Denk <wd at denx.de> wrote:

> Dear Scott Wood,
> 
> In message <20101123163204.4f843e61 at udp111988uds.am.freescale.net> you wrote:
> >
> > How about playing with BATs before entering C code, so that the image
> > always appears at the same effective address?
> 
> Not all systems have BATs.

I was speaking in the context of what he wanted to do with an 83xx board
-- but the concept applies to any hardware with an MMU that isn't too
painful to set up that early.

If someone wants to do this kind of thing on hardware that doesn't
meet that description, that's another matter -- if the the hardware
doesn't provide a nicer bank switching mechanism (e.g. p4080ds lets you
rotate the flash banks' physical addresses, rather than change the
reset vector), or an SRAM that U-Boot (or an SPL) could copy itself to
before C code, etc.

-Scott



More information about the U-Boot mailing list