Home | History | Annotate | only in /src/sys/arch/bebox/stand
Up to higher level directory
NameDateSize
boot/30-Aug-2025
boot_com0/09-Nov-2022
boot_vga/09-Nov-2022
common/09-Nov-2022
Makefile26-May-2008133
Makefile.inc14-Apr-2021122
README25-Feb-20111.1K

README

      1 $NetBSD: README,v 1.4 2011/02/25 10:06:24 kiyohara Exp $
      2 
      3 contents
      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 
     11 boot:
     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 
     28 Example 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