NetBSD/sys/arch/sparc/stand
pk 1b07d18247 Keep those pointers moving. 1994-08-13 08:33:51 +00:00
..
Makefile Make it work for V0 proms. 1994-07-20 20:47:02 +00:00
README Make it work for V0 proms. 1994-07-20 20:47:02 +00:00
boot.c Use PROM node properties to determine device type. 1994-07-30 14:22:11 +00:00
bootxx.c Make it work for V0 proms. 1994-07-20 20:47:02 +00:00
defs.h Make it work for V0 proms. 1994-07-20 20:47:02 +00:00
filesystem.c Adapt to current libsa. 1994-07-01 10:46:55 +00:00
fixhdr.c Sparc bootblocks (a tight fit) 1994-02-26 10:57:09 +00:00
installboot.c Remove bogus fsstat(). 1994-08-13 08:33:08 +00:00
promdev.c Keep those pointers moving. 1994-08-13 08:33:51 +00:00
srt0.S Make it work for V0 proms. 1994-07-20 20:47:02 +00:00
version.c Make it work for V0 proms. 1994-07-20 20:47:02 +00:00

README

The sparc bootblocks are split into two parts: a small 1st-level program that
gets written right after the superblock in a partition (and is hence limited
in size to SBSIZE - DEV_BSIZE bytes), and a 2nd-level program that resides
in the filesystem proper.

The 1st-level program is loaded into memory by the PROM. It loads the second
stage program from a set of filesystem block numbers that are hard-coded
into it by the `installboot' program. The prototype code for the 1st-level
bootblocks are in `bootxx'.

The 2nd-level program (`boot') is normally installed in the root directory
as `/boot'. It uses the device drivers in the PROM and the stand-alone
filesystem code in `libsa.a' to locate and load the kernel.

Use the following command to install the 1st-level bootblocks in the
root filesystem (on `sd0a') using the file `/boot' as the second level
boot program:

	installboot /boot bootxx /dev/rsd0a