Subject: Re: Booting via OS9 EPROM
To: Chuck Cranor <chuck@maria.wustl.edu>
From: Stephan Boettcher <stephan@alzt.tau.ac.il>
List: port-mvme68k
Date: 05/27/1996 12:56:08
Hi, thanks for the reply

On Sun, 26 May 1996, Chuck Cranor wrote:
>    i am not very familiar with OS9.     does the OS9 prom totally replace
> the bug proms, or is it in there in addition to the bug proms?

The OS9 PROM replaces the bug PROM.  It contains an OS9 system level 
debugger, and boot code, which an option to boot via BOOTP/TFTP.  I don't 
know how it works, probably the PROM dumps the received bootfile into 
memory, checks for valid OS9 modules, and starts the kernel.  Now that I 
think about it, the solution might be, to first boot OS9, then start a 
program which loads the NetBSD kernel, and of it goes.  But: does the 
kernel need the bug PROM, or does it run without any PROM.

To give it a try, I need to know:

 * which file should I get to be dumped into memory, probably any 
   precompiled kernel (netboot / boot.mvme68k)
 * where should it be dumped into, 0x0400?
 * where should execution start?

If it works, I'd expect some messages, up to the point when the NFS 
mounts take place.  When I see this messages, I'd go on to install the 
directories on my decstation, oops, how do I tell the kernel, where to 
look for the NFS server?  Seems to be the wrong approch.

So I'd rather dump kind of an except from sboot into the memory, and do a 
BOOTP/TFTP boot with that code.  Is there a file available, and 
information about destination address, execution entry, or do I need to 
extract the info from sboot? (I know nothing about 147-bug, but it should 
be easy)

As soon as I need to build my own kernel, I'll drop the project, my time 
is too limited fro this kind of work right now.

Any comments?  Am I the first, who ever tried this?

Stephan

---------------------------------------------------------------------------
Stephan B"ottcher                       FAX: +972-3-640-7932
School of Physics and Astronomy         Tel: +972-3-640-7722
High Energy Physics Department            or           -8240
Tel Aviv University                   Email: stephan@alzt.tau.ac.il
69978 Tel Aviv                            or boettcher@desy.de
Israel                   WWW:  http://zow00.desy.de:8000/~stephan/home.html
---------------------------------------------------------------------------