README revision 1.1 1 $NetBSD: README,v 1.1 1999/06/28 02:19:37 sakamoto Exp $
2
3 contents
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
9 boot:
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 remake' to remake.
21
22 boot can read/exec kernel on ffs(floppy disk),cd9660(floppy disk),
23 attached image by elf2pef.
24
25
26 elf2pef:
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
36 mkbootimage:
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
43 Example of making bootable floppy disk:
44 % cd /sys/arch/bebox/stand
45 % make
46 cross compile environment:
47 do the following method instead of make,
48 % (cd boot; ppc-make)
49 % (cd elf2pef; make)
50 % (cd mkbootimage; make)
51 % elf2pef/elf2pef boot/boot /tmp/boot.pef
52 to attach kernel:
53 % gzip -c ../compile/GENERIC/netbsd > /tmp/netbsd.gz
54 % elf2pef/elf2pef boot/boot /tmp/boot.pef /tmp/netbsd.gz
55 [insert formatted floppy disk]
56 % mkbootimage/mkbootimage /tmp/boot.pef > /dev/rfd0a
57
58