NetBSD/sys/arch/bebox/stand
he 14bbdadd3d The ANSIfication unconvered that we were calling devlookup() with
an extra argument.  It seems to be correct just to drop the last arg.
2005-07-15 23:15:00 +00:00
..
boot The ANSIfication unconvered that we were calling devlookup() with 2005-07-15 23:15:00 +00:00
elf2pef Convert bebox's remaining host tools over to cross tools scheme. Builds to sets 2004-11-25 08:09:14 +00:00
mkbootimage Convert bebox's remaining host tools over to cross tools scheme. Builds to sets 2004-11-25 08:09:14 +00:00
Makefile
Makefile.inc Convert bebox's remaining host tools over to cross tools scheme. Builds to sets 2004-11-25 08:09:14 +00:00
README

README

$NetBSD: README,v 1.2 2002/04/08 16:12:18 sakamoto Exp $

contents
	boot:	     NetBSD/bebox booter.
	elf2pef:     Convert ELF image to PEF image.
	mkbootimage: Make bootable BeOS DR8 filesystem(a.k.a. obfs) image.


boot:
	enable one line and comment out other lines,
	to select one console device from vga,frame buffer,serial.
		vga:		CPPFLAGS+= -DCONS_VGA
			e.g. S3 Trio64, ...

		frame buffer:	CPPFLAGS+= -DCONS_BE
			e.g. Trio64v+, Millennium I/II, Mystique 220, ...

		serial:		CPPFLAGS+= -DCONS_SERIAL ...

	if change CPPFLAGS after make, use 'make cleandir' before 'make'.

	boot can read/exec kernel on ffs(floppy disk), cd9660(floppy disk),
	attached image by elf2pef.


elf2pef:
	to convert
		elf2pef boot boot.pef

	if you want to attach kernel file into booter,
		elf2pef boot boot.pef netbsd
	of course can attach gzipped kernel file
		elf2pef boot boot.pef netbsd.gz


mkbootimage:
	to make bootable floppy disk image
		mkbootimage boot.pef image
	or, to make direct bootable floppy
		mkbootimage boot.pef > /dev/rfd0a


Example of making bootable floppy disk:
	% cd /sys/arch/bebox/stand
	% $(TOOLDIR)/bin/nbmake-bebox
	% gzip -c ../compile/GENERIC/netbsd > /tmp/netbsd.gz
	% elf2pef/elf2pef boot/boot /tmp/boot.pef /tmp/netbsd.gz
	[insert formatted floppy disk]
	% mkbootimage/mkbootimage /tmp/boot.pef > /dev/rfd0a