NetBSD/sys/arch/bebox/stand
joerg 3c550524b5 Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly
disabled by -D) from the output of newvers_stand.sh.  Change -D to the
inverted logic, so that it adds the date to bootprog_rev in ().

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
2011-01-22 19:19:14 +00:00
..
boot Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly 2011-01-22 19:19:14 +00:00
boot_com0 Split boot/boot_com0/boot_vga. 2008-05-26 16:28:39 +00:00
boot_vga Split boot/boot_com0/boot_vga. 2008-05-26 16:28:39 +00:00
common Introduce .WAIT into the cleandir rule for blasting the libsa/libkern/etc. 2010-05-27 06:58:12 +00:00
Makefile Split boot/boot_com0/boot_vga. 2008-05-26 16:28:39 +00:00
Makefile.inc
README Integrated to powerpc-mkbootimage. Obsoleted. 2008-05-25 16:21:07 +00:00

README

$NetBSD: README,v 1.3 2008/05/25 16:21:07 kiyohara Exp $

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


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 powerpc's mkimageboot.



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

	% powerpc-mkbootimage -m bebox -b boot/boot \
	      -k ../compile/GENERIC/netbsd /tmp/fd.img
	% dd if=/tmp/fd.img of=/dev/rfd0a