Subject: Re: Bootloader 'Todo' List
To: Reinoud Zandijk <imago@kabel065011.kabel.utwente.nl>
From: Ben Harris <bjh21@netbsd.org>
List: port-arm32
Date: 11/15/2000 12:49:30
On Wed, 15 Nov 2000, Reinoud Zandijk wrote:

> So since the page swapping isn't really working that well since all pages
> you need are not nessisarily mapped in by default ... (grumbl) ... and
> RiscOS isn't that pleased with the page swapping after all .... i think i
> have to opt for my option 2 : relocating the thing...

Fun.  On the other hand, the code to do that should be fairly easily
portable to arm26 (only the actual changing of the memory map is
different).

> One problem however is that if i run the kernel with the physical memory
> map the `start' ARM code has to run at 0x1000000 but the C main() has to
> run in 0xf0000000 ... so maybe its wise to offer a very simple pagetable
> with the specific area's section mapped.... and use that as the kernel
> pmap bootstrap.

I'm inclined to say that the right solution is to get away from
start() needing to be at an odd address.

-- 
Ben Harris                                                   <bjh21@netbsd.org>
Portmaster, NetBSD/arm26               <URL:http://www.netbsd.org/Ports/arm26/>