NetBSD/sys/arch/i386/stand
christos 832c3f464d If we have xms print the xms memory size, and indicate that this is xms
memory in the banner. It is confusing to show 0 memory...
1997-07-29 16:01:45 +00:00
..
biosboot New welcome banner code, modeled after NetBSD/hp300's boot program 1997-07-26 01:50:36 +00:00
dosboot If we have xms print the xms memory size, and indicate that this is xms 1997-07-29 16:01:45 +00:00
genprom Purely cosmetic whitespace/indentation changes (mmm, indent(1)) 1997-03-22 09:03:29 +00:00
installboot -Print debug messages to stderr instead of stdout to avoid mix with 1997-07-21 18:04:35 +00:00
lib Don't use <lib/libsa/if_ether.h> anymore. This was a copy of the 1997-07-22 17:41:01 +00:00
libsa Cleanup include file usage: Avoid user space headers, use 1997-07-15 12:45:22 +00:00
netboot New welcome banner code, modeled after NetBSD/hp300's boot program 1997-07-26 01:50:36 +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 New welcome banner code, modeled after NetBSD/hp300's boot program 1997-07-26 01:50:36 +00:00
README
newvers.sh New welcome banner code, modeled after NetBSD/hp300's boot program 1997-07-26 01:50:36 +00:00

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.