Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 08-May-2022 | - | ||||
boot/ | H | 19-Jun-2023 | - | 8,513 | 5,752 | |
boot_com0/ | H | 08-May-2022 | - | 6 | 2 | |
boot_vga/ | H | 08-May-2022 | - | 6 | 2 | |
common/ | H | 08-May-2022 | - | 41 | 24 | |
Makefile | H A D | 08-May-2022 | 133 | 6 | 2 | |
Makefile.inc | H A D | 08-May-2022 | 122 | 8 | 3 | |
README | H A D | 08-May-2022 | 1.1 KiB | 41 | 27 |
README
1$NetBSD: README,v 1.4 2011/02/25 10:06:24 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/ide/scsi) or attached 25 in-kernel image by powerpc's mkbootimage. 26 27 28Example of making bootable floppy disk: 29 % cd sys/arch/bebox/stand 30 % $(TOOLDIR)/bin/nbmake-bebox 31 32 % nbpowerpc-mkbootimage -I -m bebox -b boot/boot /tmp/fd.img 33 34 Or 35 36 % nbpowerpc-mkbootimage -m bebox -b boot/boot \ 37 -k ../compile/INSTALL/netbsd /tmp/fd.img 38 39 [insert formatted floppy disk] 40 % dd if=/tmp/fd.img of=/dev/rfd0a 41