NetBSD/sys/arch/prep/stand/README

20 lines
675 B
Plaintext
Raw Normal View History

2008-05-01 01:20:37 +04:00
$NetBSD: README,v 1.3 2008/04/30 21:20:37 garbled Exp $
2000-02-29 18:21:20 +03:00
Contents.
boot NetBSD/prep boot-loader
boot_com0 NetBSD/prep boot-loader(serial console)
mkbootimage Make bootable floppy image.
2008-05-01 01:20:37 +04:00
mkbootimage is located in arch/powerpc/stand/mkbootimage.
2000-02-29 18:21:20 +03:00
How to make bootable floppy disk image.
$ cd /sys/arch/prep/stand
$ make
For cross compile environment:
$ for i in common boot_com0 boot; do (cd $i; ppc-make); done
2008-05-01 01:20:37 +04:00
$ (cd ../../powerpc/stand/mkbootimage; make)
$ mkbootimage boot/boot /tmp/boot.fs
2000-02-29 18:21:20 +03:00
To make kernel attached bootable floppy image:
2008-05-01 01:20:37 +04:00
$ mkbootimage -m prep -b boot/boot -k ../compile/YOUR_KERNEL/netbsd /tmp/boot.fs