NetBSD/sys/arch/i386/stand
drochner 41c3159f16 Emulate old bootblocks better: Use type of boot harddisk, extracted
from disklabel, as default.
(Pushed by Darren Reed <darrenr@cyber.com.au>:-)
1997-07-04 10:52:44 +00:00
..
biosboot Emulate old bootblocks better: Use type of boot harddisk, extracted 1997-07-04 10:52:44 +00:00
dosboot Allow to boot from DOS if a XMS manager is installed. 1997-06-13 17:49:22 +00:00
genprom Purely cosmetic whitespace/indentation changes (mmm, indent(1)) 1997-03-22 09:03:29 +00:00
installboot move man pages into share/man. 1997-06-22 05:58:25 +00:00
lib Support SMC Ultra. 1997-06-21 14:43:11 +00:00
libsa Remove strerror() prototype, it goes into stand.h. 1997-06-13 13:48:47 +00:00
netboot "document" the new hardware support. 1997-06-21 14:43:51 +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 Define _STANDALONE for standalone programs. 1997-06-26 19:03:32 +00:00
README

README

$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.