1$NetBSD: README,v 1.2 2002/04/08 16:12:18 sakamoto Exp $ 2 3contents 4 boot: NetBSD/bebox booter. 5 elf2pef: Convert ELF image to PEF image. 6 mkbootimage: Make bootable BeOS DR8 filesystem(a.k.a. obfs) image. 7 8 9boot: 10 enable one line and comment out other lines, 11 to select one console device from vga,frame buffer,serial. 12 vga: CPPFLAGS+= -DCONS_VGA 13 e.g. S3 Trio64, ... 14 15 frame buffer: CPPFLAGS+= -DCONS_BE 16 e.g. Trio64v+, Millennium I/II, Mystique 220, ... 17 18 serial: CPPFLAGS+= -DCONS_SERIAL ... 19 20 if change CPPFLAGS after make, use 'make cleandir' before 'make'. 21 22 boot can read/exec kernel on ffs(floppy disk), cd9660(floppy disk), 23 attached image by elf2pef. 24 25 26elf2pef: 27 to convert 28 elf2pef boot boot.pef 29 30 if you want to attach kernel file into booter, 31 elf2pef boot boot.pef netbsd 32 of course can attach gzipped kernel file 33 elf2pef boot boot.pef netbsd.gz 34 35 36mkbootimage: 37 to make bootable floppy disk image 38 mkbootimage boot.pef image 39 or, to make direct bootable floppy 40 mkbootimage boot.pef > /dev/rfd0a 41 42 43Example of making bootable floppy disk: 44 % cd /sys/arch/bebox/stand 45 % $(TOOLDIR)/bin/nbmake-bebox 46 % gzip -c ../compile/GENERIC/netbsd > /tmp/netbsd.gz 47 % elf2pef/elf2pef boot/boot /tmp/boot.pef /tmp/netbsd.gz 48 [insert formatted floppy disk] 49 % mkbootimage/mkbootimage /tmp/boot.pef > /dev/rfd0a 50 51