NetBSD/sys/arch/prep/stand
christos c182898b0d We have three sets of DTYPE_ constants in the kernel:
altq		Drop 		Type
	disklabel	Disk 		Type
	file		Descriptor	Type
(not to mention constants that contain the string DTYPE).
Let's make them two, by changing the disklabel one to be DisK TYPE since the
other disklabel constants seem to do that. Not many userland programs use
these constants (and the ones that they do are mostly in ifdefs). They will
be fixed shortly.
2015-01-02 19:42:05 +00:00
..
boot
boot_com0
boot_com0_vreset
common
installboot
Makefile
Makefile.inc
README

README

$NetBSD: README,v 1.3 2008/04/30 21:20:37 garbled Exp $

Contents.
	boot        NetBSD/prep boot-loader
	boot_com0   NetBSD/prep boot-loader(serial console) 
	mkbootimage Make bootable floppy image.

mkbootimage is located in arch/powerpc/stand/mkbootimage.

How to make bootable floppy disk image.

	 $ cd /sys/arch/prep/stand
	 $ make
	    For cross compile environment:
	        $ for i in common boot_com0 boot; do (cd $i; ppc-make); done
	        $ (cd ../../powerpc/stand/mkbootimage; make)
	 $ mkbootimage boot/boot /tmp/boot.fs
	    To make kernel attached bootable floppy image:
		    $ mkbootimage -m prep -b boot/boot -k ../compile/YOUR_KERNEL/netbsd /tmp/boot.fs