Name Date Size #Lines LOC

..08-May-2022-

boot/H19-Jun-2023-8,5135,752

boot_com0/H08-May-2022-62

boot_vga/H08-May-2022-62

common/H08-May-2022-4124

MakefileH A D08-May-2022133 62

Makefile.incH A D08-May-2022122 83

READMEH A D08-May-20221.1 KiB4127

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