NetBSD/sys/arch/i386/stand
perry 520b71bb34 From Matthias Drochner:
give global constants more meaningful names
1997-03-15 22:20:55 +00:00
..
biosboot - Some cosmetic changes to whitespace 1997-03-14 06:56:27 +00:00
dosboot Make this work with obj* dirs. 1997-03-14 04:59:34 +00:00
genprom From Matthias Drochner: 1997-03-15 22:14:02 +00:00
installboot Initial import of new boot code, created by Matthias Drochner with a 1997-03-14 02:40:32 +00:00
lib From Matthias Drochner: 1997-03-15 22:20:55 +00:00
libsa Initial import of new boot code, created by Matthias Drochner with a 1997-03-14 02:40:29 +00:00
netboot From Matthias Drochner: 1997-03-15 22:16:35 +00:00
Makefile Ressurect (not quite, since this is in fact the new boot code Makefile 1997-03-14 02:54:14 +00:00
Makefile.booters Initial import of new boot code, created by Matthias Drochner with a 1997-03-14 02:40:29 +00:00
README Initial import of new boot code, created by Matthias Drochner with a 1997-03-14 02:40:29 +00:00

$NetBSD: README,v 1.1.1.1 1997/03/14 02:40:29 perry Exp $

[This is Matthias Drochner's original README, very lightly edited.]

libsa-based bootcode for i386
should work with -current libsa (I used 97/02/06.)

contents:
./libsa: additions to sys/lib/libsa, not i386 specific
./lib: i386 specific parts
./lib/netif: driver for ethernet adapters
./biosboot: boot sector for hd / fd
./installboot: program to install boot sector
./dosboot: DOS program to boot from DOS or UFS drives
./netboot: ROM image for diskless boot
./genprom: program to create ROM image

to build:
make, hopefully
perhaps adjust "S" to location of kernel sources

notes:
-to install bootsect:
  mount /dev/XdNa /somewhere
  installboot biosboot.sym /dev/rXdNa
-netboot ethernet cards:
  select with USE_NETIF
  for wd80x3, BASEREG and BASEMEM must be set properly
  for pcnet_isapnp, ISAPNPID must be set properly
-text+data+bss+stack <= 64k, heap can be above

Please report all errors!

Source taken from FreeBSD (as noted in the file) has the following copyright:

Copyright 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved. 

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

    1. Redistributions of source code must retain the above copyright
       notice, this list of conditions and the following disclaimer.
    2. Redistributions in binary form must reproduce the above
       copyright notice, this list of conditions and the following
       disclaimer in the documentation and/or other materials provided
       with the distribution.
    3. All advertising materials mentioning features or use of this
       software must display the following acknowledgement:

	This product includes software developed by the University of
	California, Berkeley and its contributors.

    4. Neither the name of the University nor the names of its
       contributors may be used to endorse or promote products derived
       from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS''
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.