On Fri, 14 Sep 2001, David Anders wrote:
> Nicolas Pitre wrote:
>
> > On Fri, 14 Sep 2001, David Anders wrote:
> >
> > > howdy all,
> > >
> > >
> > > i hate to be a pest, but i had one more question. if i have some
> > > assembly code to turn the mmu off (my bootloader turns it on), i can
> > > include this in the head-sa1100.S file so that when the kernel is
> > > uncompressed the mmu is off and ready, right?
> >
> > In fact, head-sa1100.S is doing just that already.
> >
>
> yes i saw that, however the bootloader i'm working with is initializing
> the mmu in a different way than the normal sa-11xx type systems. i have
> some additional code that is suppose the remap the virtual space to
> physical space before the mmu is turned off, that way you are pointing to
> the same memory location. i assume you saw that Erik expressed concern of
> making "clutter' changes to the kernel, and i agree. i guess i'll have to
> take another approach.
The code in head-sa1100.S will deal with an identity mapping for ram and
turn MMU off. Consider this as a courtesy. If your bootloader is setting
up a more complex mapping then it's your responsibility to turn MMU off
prior to branching to the kernel binary.
Nicolas
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.