Subject: Re: Changing kernel base address (was: Re: Heads up: shared arm include files)
To: Mike Pumford <mpumford@black-star.demon.co.uk>
From: Chris Gilbert <chris@buzzbee.freeserve.co.uk>
List: port-arm32
Date: 01/18/2001 19:40:21
On Thursday 18 January 2001  7:35 pm, Mike Pumford wrote:

> > > Move Podules and IOMD to f7000000
> > This will allow Video RAM to be a f6e00000
> > Upper limit for KVM is then f6e00000 which should be more than enough.
> > f8000000 and up is the EASI podule space.
>
> Right I have now done some tinkering and it turns out that moving VIDC/IOMD
> and the podules is not that straightforward as tweaking a few #defines and
> recompiling. The code in initarm assumes that these have been mapped by the
> bootloader at f6000000. I have a partial work round for this but the
> kernels crash after switching to the final page tables. On a more positive
> note it is possible to move the VRAM (or video DRAM) without too much
> effort.
>
> However I do now have a booting kernel which has VRAM at f7000000 and 80MB
> available for kernel VM. The patches required are attached below. There is
> one other tweak in my patches that reduces the number of buffers allocated
> which may not be necessary

Yeah I've hit the same problem with shifting things around.  As you said it 
blows up on switching to the final page tables.

I'm currently checking over the defines I've got.

Chris