Scott Wood <scottw...@freescale.com> wrote on 2010/11/24 22:41:19:
> > > > > > How about playing with BATs before entering C code, so that the 
> > > > > > image
> > > > > > always appears at the same effective address?
> > > > >
> > > > > hmm, never thought of that. The extra bonus would be that LINK_OFF 
> > > > > should
> > > > > not be needed either.
> > > >
> > > > After sleeping on it I realize that all direct accesses to the flash
> > > > such as getting the env. will need to be adjusted instead.
> > >
> > > You could have one small mapping for the U-Boot image, and another
> > > larger unchanging mapping that covers the whole flash.
> >
> > Played a little with this but it seems like two BATs cannot overlap?
>
> They can't overlap in effective address space.  They can have
> overlapping physical addresses (make sure the WIMG bits are the same).

hmm, now its starting to get a bit messy, I have flash over and under
my boot area. In general it may be hard to match any random layout.

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to