• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

boot/07-Feb-2025-8,5135,752

boot_com0/20-Jan-2014-62

boot_vga/20-Jan-2014-62

common/06-Sep-2014-4124

elf2pef/20-Jan-2014-

mkbootimage/20-Jan-2014-

MakefileD26-May-2008133 62

Makefile.incD21-Dec-2021122 83

READMED25-Feb-20111.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