1$NetBSD: README,v 1.3 2008/05/25 16:21:07 kiyohara Exp $ 2 3contents 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. 9 10 11boot: 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 15 e.g. S3 Trio64, ... 16 17 frame buffer: CPPFLAGS+= -DCONS_BE 18 e.g. Trio64v+, Millennium I/II, Mystique 220, ... 19 20 serial: CPPFLAGS+= -DCONS_SERIAL ... 21 22 if change CPPFLAGS after make, use 'make cleandir' before 'make'. 23 24 boot can read/exec kernel on ffs(floppy disk), cd9660(floppy disk), 25 attached image by powerpc's mkimageboot. 26 27 28 29Example 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 36 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 40 41