NetBSD/sys/arch/sparc/stand
pk 09ea33db05 Do away with ROM printf. 1995-06-26 23:45:06 +00:00
..
Makefile Adapt to new lib{sa,kern} regime. 1995-06-26 23:26:57 +00:00
README copyright/Id cleanup 1994-11-20 20:51:32 +00:00
boot.c Reserve arguments 2-4 for SunOS loaders; pass DDB stuff in args 5 and 6. 1995-06-25 23:26:21 +00:00
bootxx.c Use the twiddle() from libsa. 1995-02-22 08:18:18 +00:00
defs.h Do away with ROM printf. 1995-06-26 23:45:06 +00:00
filesystem.c copyright/Id cleanup 1994-11-20 20:51:32 +00:00
fixhdr.c copyright/Id cleanup 1994-11-20 20:51:32 +00:00
installboot.c don't assume the f_fsnamelen is nul-truncated or longer than MFSNAMELEN 1995-06-18 14:45:14 +00:00
promdev.c Adapt declaration to stand.h; PR #1036 1995-05-08 18:56:06 +00:00
srt0.S copyright/Id cleanup 1994-11-20 20:51:32 +00:00
version.c copyright/Id cleanup 1994-11-20 20:51:32 +00:00

README

/*	$NetBSD: README,v 1.4 1994/11/20 20:54:50 deraadt Exp $ */

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