1 $NetBSD: README,v 1.2 2002/04/08 16:12:18 sakamoto Exp $
4 boot: NetBSD/bebox booter.
5 elf2pef: Convert ELF image to PEF image. Integrated to
6 powerpc's mkbootimage. Obsolete.
7 mkbootimage: Make bootable BeOS DR8 filesystem(a.k.a. obfs) image.
8 Integrated to powerpc's mkbootimage. Obsolete.
12 enable one line and comment out other lines,
13 to select one console device from vga,frame buffer,serial.
14 vga: CPPFLAGS+= -DCONS_VGA
17 frame buffer: CPPFLAGS+= -DCONS_BE
18 e.g. Trio64v+, Millennium I/II, Mystique 220, ...
20 serial: CPPFLAGS+= -DCONS_SERIAL ...
22 if change CPPFLAGS after make, use 'make cleandir' before 'make'.
24 boot can read/exec kernel on ffs(floppy disk), cd9660(floppy disk),
25 attached image by powerpc's mkimageboot.
29 Example of making bootable floppy disk:
30 % cd /sys/arch/bebox/stand
31 % $(TOOLDIR)/bin/nbmake-bebox
32 % gzip -c ../compile/GENERIC/netbsd > /tmp/netbsd.gz
33 % elf2pef/elf2pef boot/boot /tmp/boot.pef /tmp/netbsd.gz
34 [insert formatted floppy disk]
35 % mkbootimage/mkbootimage /tmp/boot.pef > /dev/rfd0a
37 % powerpc-mkbootimage -m bebox -b boot/boot \
38 -k ../compile/GENERIC/netbsd /tmp/fd.img
39 % dd if=/tmp/fd.img of=/dev/rfd0a