NetBSD/sys/arch/sun3/stand
gwr 76cd67b8c7 Allow netif_getether() to use sif->sif_macaddr() on the Sun-3X
but check the PROM rev first, and print some info I want when
a PROM earlier than 3.0 is found.  (Then just try it!)
1998-07-02 21:58:25 +00:00
..
bootxx Minor tweaks for consistency with the other boot programs. 1998-06-29 20:11:06 +00:00
installboot allow LDSTATIC definition to be overridden by bsd.own.mk/mk.conf 1998-03-02 19:57:00 +00:00
libsa Allow netif_getether() to use sif->sif_macaddr() on the Sun-3X 1998-07-02 21:58:25 +00:00
netboot Use the shared ../libsa/xxboot.c 1998-07-01 22:56:45 +00:00
tapeboot Add a comment, kill an unused variable. 1998-06-29 20:18:07 +00:00
ufsboot Use the shared ../libsa/xxboot.c 1998-07-01 22:56:45 +00:00
Makefile
Makefile.inc Reimplement the header strip using two instances of dd in a pipe, 1998-06-29 20:09:14 +00:00
README

README

/*	$NetBSD: README,v 1.3 1995/11/17 23:23:45 gwr Exp $ */

The sun 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 (`ufsboot') is normally installed in the root FS
as `/ufsboot'. 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:

	mount /dev/sd0a /mnt
	cd /usr/mdec
	cp -p ufsboot /mnt/ufsboot
	sync ; sleep 1 ; sync
	./installboot -v /mnt/ufsboot bootxx /dev/rsd0a

The above only works with securelevel <= 0 (see init.8 manual).

Status:

netboot works.

bootxx, installboot are tested and working.  It would be nice if
installboot would find the inumber for the 2nd stage boot program
without having the filesystem mounted so this command can work
with securelevel==1 (the default).  Doing this requies adding
code to read and do a directory lookup in the root...