NetBSD/sys/arch/sparc/stand
1995-09-18 23:33:42 +00:00
..
boot Network booting; "oldmon" support; combine all functionality in single images. 1995-09-16 23:20:22 +00:00
bootxx Don't strip bootxx on installation. 1995-09-18 23:32:41 +00:00
installboot Install in /usr/mdec 1995-09-18 23:33:42 +00:00
boot.c Correct some prototypes. 1995-09-17 00:50:54 +00:00
bootxx.c Adapt to libsa changes & some other minor nits. 1995-09-18 21:31:44 +00:00
conf.c Adapt to libsa changes & some other minor nits. 1995-09-18 21:31:44 +00:00
dvma.c Correct some prototypes. 1995-09-17 00:50:54 +00:00
installboot.c sync filesystems just prior to writing the bootblocks to the raw device. 1995-09-18 22:36:19 +00:00
Makefile Network booting; "oldmon" support; combine all functionality in single images. 1995-09-16 23:20:22 +00:00
Makefile.inc Fixed RELOC's to be hex numbers (as expected) rather than decimal. 1995-09-18 19:52:15 +00:00
net.c Adapt to libsa changes & some other minor nits. 1995-09-18 21:31:44 +00:00
netif_sun.c Adapt to libsa changes & some other minor nits. 1995-09-18 21:31:44 +00:00
promdev.c Adapt to libsa changes & some other minor nits. 1995-09-18 21:31:44 +00:00
promdev.h Adapt to libsa changes & some other minor nits. 1995-09-18 21:31:44 +00:00
README Network booting; "oldmon" support; combine all functionality in single images. 1995-09-16 23:20:22 +00:00
srt0.S Network booting; "oldmon" support; combine all functionality in single images. 1995-09-16 23:20:22 +00:00
version.c Network booting; "oldmon" support; combine all functionality in single images. 1995-09-16 23:20:22 +00:00

/*	$NetBSD: README,v 1.5 1995/09/16 23:20:24 pk 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 is 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

Note: This only works with securelevel <= 0 (see init.8 manual).

On machines with an Openboot Prom, the boot programs must retain the a.out
header when installed on disk. On the "old monitor" machines the a.out
header must be stripped off. Use the `-h' switch to leave the header on.
So, on an Openboot machine you do:

	installboot -h /boot bootxx /dev/rsd0a

Note: installboot should find this out by asking the kernel (sysctl).