Subject: Re: Changing kernel base address (was: Re: Heads up: shared arm
To: Chris Gilbert <chris@paradox.demon.co.uk>
From: Reinoud Zandijk <imago@kabel065011.kabel.utwente.nl>
List: port-arm32
Date: 01/23/2001 03:35:42
Hi all,

> > > Looks fine other than as a comment says you've not checked RO4.  Looks
> > > like we need the bootloader to pass in current page table address. 
> > > Looking in the bootloader the page table addrs are:
> > > RO3: 0x02c00000
> > > RO4: 0x08000000

Only in the current (old) bootloader ... The new one doesnt use the RO
page tables anymore and is thus not failing on different RO versions's
pagetable addresses.

> > now be adjusted to reflect the new IOMD mappings if we want to continue
> > to rely on console output at this stage. Since we still have the
> > remains of RISC OS kicking around it may be possible to use RISC OS SWI
> > calls to do output.The code in initarm was just a temporary debugging hack.
> > Its not really the sort of code that should be in NetBSD.

Hmm.... well AFAIK, my new bootloader allowes printing just from line 1 in
initarm() in rpc_machdep.c, so allthough this is a nice, be it a pretty
dirty and in the end unreliable aproach, it might not be nessisary
anymore.

> It's probably cleaner, and depends less on the bootloader which I believe 
> someone (Dave D?) said requires a desklib version that doesn't seem to be 
> around any more?
> 
> Of course this is until Reinoud's bootloader works across the board :)

=) yeah ... well just 2 days to wait until i have full access to my source
again ... I must say the other patches i've seen that include the
parameterisation of the IO addresses on the base addresses of IOMD/IOC
etc. are pretty good !!... I was under the impression that these were
allready parameterised ! ... so that saves a lot of work ... thanks a lot
!

Cheers,

Reinoud