Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/bebox/stand Description of making bootable floppy d...
details: https://anonhg.NetBSD.org/src/rev/6fbe805abbcf
branches: trunk
changeset: 474098:6fbe805abbcf
user: sakamoto <sakamoto%NetBSD.org@localhost>
date: Mon Jun 28 02:19:37 1999 +0000
description:
Description of making bootable floppy disk for NetBSD/bebox.
diffstat:
sys/arch/bebox/stand/README | 57 +++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 57 insertions(+), 0 deletions(-)
diffs (61 lines):
diff -r 59d5f08bc88c -r 6fbe805abbcf sys/arch/bebox/stand/README
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/bebox/stand/README Mon Jun 28 02:19:37 1999 +0000
@@ -0,0 +1,57 @@
+$NetBSD: README,v 1.1 1999/06/28 02:19:37 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 remake' to remake.
+
+ 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
+ % make
+ cross compile environment:
+ do the following method instead of make,
+ % (cd boot; ppc-make)
+ % (cd elf2pef; make)
+ % (cd mkbootimage; make)
+ % elf2pef/elf2pef boot/boot /tmp/boot.pef
+ to attach kernel:
+ % 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
+
Home |
Main Index |
Thread Index |
Old Index