Subject: Re: Which preboot-loader?
To: Andrew Cagney <cagney@highland.com.au>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-ports
Date: 04/22/1996 15:26:22
On Sat, 20 Apr 1996 12:43:19 +1000 
 Andrew Cagney <cagney@highland.com.au> wrote:

 > NetBSD has a number of kernel loaders (the program that gets loaded by
 > the firmware and in turn will locate and load a kernel proper).  Of
 > the choice available, any one care to make an informed decision on
 > which one best represents what the loader should look like?

I'm personally sort of partial to the NetBSD/hp300 boot program (you'd 
want to look at pboot.c), but if yours is a system which provides access 
to the hardware via PROM routines, you might want to look at the sun3 or 
sparc second-stage boot programs instead, though you should probably use 
the MI libsa exec code (with the appropriate machine-dependent hook).

--------------------------------------------------------------------------
Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939