Module Name:    src
Committed By:   bouyer
Date:           Tue Feb  8 18:15:42 UTC 2011

Added Files:
        src/share/man/man4/man4.emips [bouyer-quota2]: Makefile ace.4
            autoconf.4 dz.4 ebus.4 eclock.4 enic.4 intro.4
        src/share/man/man4/man4.sandpoint [bouyer-quota2]: Makefile satmgr.4
        src/share/man/man8/man8.emips [bouyer-quota2]: Makefile boot.8
        src/share/man/man8/man8.sandpoint [bouyer-quota2]: Makefile altboot.8

Log Message:
Sync with HEAD


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.2 src/share/man/man4/man4.emips/Makefile \
    src/share/man/man4/man4.emips/ace.4 \
    src/share/man/man4/man4.emips/autoconf.4 \
    src/share/man/man4/man4.emips/dz.4 src/share/man/man4/man4.emips/ebus.4 \
    src/share/man/man4/man4.emips/eclock.4 \
    src/share/man/man4/man4.emips/enic.4 \
    src/share/man/man4/man4.emips/intro.4
cvs rdiff -u -r0 -r1.1.2.2 src/share/man/man4/man4.sandpoint/Makefile
cvs rdiff -u -r0 -r1.3.2.2 src/share/man/man4/man4.sandpoint/satmgr.4
cvs rdiff -u -r0 -r1.1.2.2 src/share/man/man8/man8.emips/Makefile \
    src/share/man/man8/man8.emips/boot.8
cvs rdiff -u -r0 -r1.2.22.1 src/share/man/man8/man8.sandpoint/Makefile
cvs rdiff -u -r0 -r1.3.2.2 src/share/man/man8/man8.sandpoint/altboot.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: src/share/man/man4/man4.emips/Makefile
diff -u /dev/null src/share/man/man4/man4.emips/Makefile:1.1.2.2
--- /dev/null	Tue Feb  8 18:15:42 2011
+++ src/share/man/man4/man4.emips/Makefile	Tue Feb  8 18:15:41 2011
@@ -0,0 +1,7 @@
+#	$NetBSD: Makefile,v 1.1.2.2 2011/02/08 18:15:41 bouyer Exp $
+#	from: @(#)Makefile	8.2 (Berkeley) 2/16/94
+
+MAN=	ace.4 autoconf.4 dz.4 ebus.4 eclock.4 enic.4 intro.4
+MANSUBDIR=/emips
+
+.include <bsd.man.mk>
Index: src/share/man/man4/man4.emips/ace.4
diff -u /dev/null src/share/man/man4/man4.emips/ace.4:1.1.2.2
--- /dev/null	Tue Feb  8 18:15:42 2011
+++ src/share/man/man4/man4.emips/ace.4	Tue Feb  8 18:15:41 2011
@@ -0,0 +1,58 @@
+.\"
+.\" Copyright (c) 2010 Microsoft Corp.
+.\" Copyright (c) 2010 NetBSD Foundation, Inc.
+.\" 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.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
+.\"
+.\"	$NetBSD: ace.4,v 1.1.2.2 2011/02/08 18:15:41 bouyer Exp $
+.\"
+.Dd July 17, 2010
+.Dt ACE 4 emips
+.Os
+.Sh NAME
+.Nm ace
+.Nd
+ACE disk adaptor
+.Sh SYNOPSIS
+.Cd "ace* at ebus0 addr ?
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for the
+.Tn Xilinx
+SystemACE Compact-FLASH card adaptor used in the Xilinx XUP, ML401, ML401.
+.Pp
+The
+.Nm
+is a medium-performance implementation of the CF interface.
+.Pp
+The
+.Nm
+chip currently does not support DMA and the CPU must copy data using programmed-I/O.
+.Sh SEE ALSO
+.Xr ebus 4 ,
+.Xr intro 4 ,
+.Sh HISTORY
+The
+.Nm
+driver first appeared in
+.Nx 6.0 .
Index: src/share/man/man4/man4.emips/autoconf.4
diff -u /dev/null src/share/man/man4/man4.emips/autoconf.4:1.1.2.2
--- /dev/null	Tue Feb  8 18:15:42 2011
+++ src/share/man/man4/man4.emips/autoconf.4	Tue Feb  8 18:15:41 2011
@@ -0,0 +1,60 @@
+.\"
+.\" Copyright (c) 2010 Microsoft Corp.
+.\" Copyright (c) 2010 NetBSD Foundation, Inc.
+.\" 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.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
+.\"
+.\" $NetBSD: autoconf.4,v 1.1.2.2 2011/02/08 18:15:41 bouyer Exp $
+.\"
+.Dd July 17, 2010
+.Dt AUTOCONF 4 emips
+.Os
+.Sh NAME
+.Nm autoconf
+.Nd diagnostics from the autoconfiguration code
+.Sh DESCRIPTION
+When
+.Nx
+bootstraps it probes the innards of the machine on which it is running
+and locates controllers, drives, and other devices, printing out what
+it finds on the console.  This procedure is driven by a system
+configuration table which is processed by
+.Xr config 1
+and compiled into each kernel.
+Devices which exist in the machine but are not configured into the
+kernel are not detected.
+.Sh DIAGNOSTICS
+.Bl -diag
+.It CPU type (0x%x) not supported.
+You tried to boot
+.Nx
+on a type of
+.Tn CPU
+type which it doesn't
+(or at least this compiled version of
+.Nx
+doesn't) understand.
+.El
+.Sh SEE ALSO
+.Xr config 1 ,
+.Xr intro 4 ,
+.Xr boot 8
Index: src/share/man/man4/man4.emips/dz.4
diff -u /dev/null src/share/man/man4/man4.emips/dz.4:1.1.2.2
--- /dev/null	Tue Feb  8 18:15:42 2011
+++ src/share/man/man4/man4.emips/dz.4	Tue Feb  8 18:15:41 2011
@@ -0,0 +1,91 @@
+.\"	$NetBSD: dz.4,v 1.1.2.2 2011/02/08 18:15:41 bouyer Exp $
+.\"
+.\" Copyright (c) 2010 Microsoft Corp.
+.\" Copyright (c) 2010 NetBSD Foundation, Inc.
+.\" 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.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
+.\"
+.\"
+.Dd July 17, 2010
+.Dt DZ 4 emips
+.Os
+.Sh NAME
+.Nm dz
+.Nd
+.Tn eMIPS
+console serial device interface
+.Sh SYNOPSIS
+.Cd "dz* at ebus0 addr ?"
+.Sh DESCRIPTION
+This serial line provides a simple communication line with no modem control.
+It is not adequate for
+.Ux
+dialup use.
+.Pp
+Normal I/O
+control parameters for individual lines are managed by
+.Xr ioctl 2
+calls.
+Line speeds may be initiated via
+the
+.Xr ttys 5
+file,
+.Xr stty 1
+or
+.Xr ifconfig 8
+to name a few,
+see
+.Xr tty 4 .
+.Pp
+The
+.Nm dz
+driver monitors the rate of input on each board,
+and switches between the use of character-at-a-time interrupts
+and input silos.
+While the silo is enabled during periods of high-speed input,
+the driver polls for input 30 times per second.
+.Sh FILES
+.Bl -tag -width /dev/tty[0-9][0-9]xx -compact
+.It Pa /dev/ttyD0
+phys interface.
+.El
+.Sh DIAGNOSTICS
+.Bl -diag
+.It dz%d: silo overflow .
+The 1 character input silo overflowed
+before it could be serviced.  This can happen if a hard error occurs
+when the
+.Tn CPU
+is running with elevated priority, as the system will
+then print a message on the console with interrupts disabled.
+It is not serious.
+.El
+.Sh SEE ALSO
+.Xr stty 1 ,
+.Xr tty 4 ,
+.Xr ttys 5 ,
+.Xr getty 8
+.Sh HISTORY
+A
+.Nm
+driver appeared in
+.Nx 6.0 .
Index: src/share/man/man4/man4.emips/ebus.4
diff -u /dev/null src/share/man/man4/man4.emips/ebus.4:1.1.2.2
--- /dev/null	Tue Feb  8 18:15:42 2011
+++ src/share/man/man4/man4.emips/ebus.4	Tue Feb  8 18:15:41 2011
@@ -0,0 +1,67 @@
+.\"	$NetBSD: ebus.4,v 1.1.2.2 2011/02/08 18:15:41 bouyer Exp $
+.\"
+.\" Copyright (c) 2010 Microsoft Corp.
+.\" Copyright (c) 2010 NetBSD Foundation, Inc.
+.\" 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.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
+.\"
+.Dd July 17, 2010
+.Dt EBUS 4 emips
+.Os
+.Sh NAME
+.Nm ebus
+.Nd eMIPS Extensible I/O BUS driver
+.Sh SYNOPSIS
+.Cd "ebus0 at mainbus0"
+.Sh DESCRIPTION
+.Nm
+is a virtual device for the Extensible I/O BUS realized with eMIPS
+on FPGA boards such as the BEE3, Xilinx XUP, and Xilinx ML40x systems.
+.Pp
+Devices on the BUS can generally be relocated and can be found by
+scanning the Peripheral Mapping Table at the top of the BUS physical space.
+The driver is responsible for identifying devices that are currently available,
+and to map them into the kernel virtual space during the kernel startup procedure.
+.Pp
+The
+.Nm
+driver manages the Extensible I/O BUS on eMIPS and provides
+.Pp
+.Bl -bullet -offset indent
+.It
+Address range management to avoid conflicts.
+.It
+Interrupt vector management.
+.It
+Other utility functions.
+.El
+.Pp
+.Nm
+is always required to run the
+.Nx
+kernel.
+.Sh SEE ALSO
+.Xr intro 4 ,
+.Xr ace 4 ,
+.Xr dz 4 ,
+.Xr eclock 4 ,
+.Xr enic 4
Index: src/share/man/man4/man4.emips/eclock.4
diff -u /dev/null src/share/man/man4/man4.emips/eclock.4:1.1.2.2
--- /dev/null	Tue Feb  8 18:15:42 2011
+++ src/share/man/man4/man4.emips/eclock.4	Tue Feb  8 18:15:41 2011
@@ -0,0 +1,43 @@
+.\"     $NetBSD: eclock.4,v 1.1.2.2 2011/02/08 18:15:41 bouyer Exp $
+.\"
+.\" Copyright (c) 2010 Microsoft Corp.
+.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
+.\" 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.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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.
+.\"
+.Dd July 17, 2010
+.Dt ECLOCK 4
+.Os
+.Sh NAME
+.Nm eclock
+.Nd eMIPS system real-time clock
+.Sh SYNOPSIS
+.Ss emips
+.Cd "eclock* at ebus0 addr ?"
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for the eMIPS real-time clock.
+.Sh SEE ALSO
+.Xr intro 4 ,
+.Xr ebus 4 
Index: src/share/man/man4/man4.emips/enic.4
diff -u /dev/null src/share/man/man4/man4.emips/enic.4:1.1.2.2
--- /dev/null	Tue Feb  8 18:15:42 2011
+++ src/share/man/man4/man4.emips/enic.4	Tue Feb  8 18:15:41 2011
@@ -0,0 +1,78 @@
+.\"	$NetBSD: enic.4,v 1.1.2.2 2011/02/08 18:15:41 bouyer Exp $
+.\"
+.\" Copyright (c) 2010 Microsoft Corp.
+.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
+.\"
+.\" 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.
+.\"
+.\" 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.
+.\"
+.\"
+.Dd July 27, 2010
+.Dt ENIC 4
+.Os
+.Sh NAME
+.Nm enic
+.Nd eMIPS ExtensibleNIC Ethernet interface driver
+.Cd "enic* at ebus0 addr ?"
+.Sh DESCRIPTION
+The
+.Nm
+interface provides access to a
+.Tn Ethernet
+network via the eMIPS builtin 
+.Tn eNIC
+(Extensible Network Interface Controller - Ethernet) interface.
+.Pp
+Each of the host's network addresses
+is specified at boot time with an
+.Dv SIOCSIFADDR
+.Xr ioctl 2 .
+The
+.Nm
+interface employs the Address Resolution Protocol (ARP) described in
+.Xr arp 4
+to dynamically map between Internet and
+.Tn Ethernet
+addresses on the local network.
+.Pp
+Multicast Ethernet frames are unconditionally received and must be filtered in software.
+.Sh HARDWARE
+.Ss emips
+The
+.Tn ENIC
+interface is present on the BEE3 and Xilinx XUP boards. The interface speed is wired at 1Gbps.
+.Sh DIAGNOSTICS
+.Bl -diag
+.It "le%d: enic_put: no mem?"
+The driver could not allocate a transmit buffer, packet was not sent.
+.It "le%d: internal error"
+This and other messages are indicative of bad hardware or software driver coding errors.
+.El
+.Sh SEE ALSO
+.Xr arp 4 ,
+.Xr ifmedia 4 ,
+.Xr inet 4 ,
+.Xr intro 4 ,
+.Xr ifconfig 8
+.Sh HISTORY
+.Nm
+driver first appeared in
+.Nx 6.0 .
Index: src/share/man/man4/man4.emips/intro.4
diff -u /dev/null src/share/man/man4/man4.emips/intro.4:1.1.2.2
--- /dev/null	Tue Feb  8 18:15:42 2011
+++ src/share/man/man4/man4.emips/intro.4	Tue Feb  8 18:15:41 2011
@@ -0,0 +1,126 @@
+.\"
+.\" Copyright (c) 2010 Microsoft Corp.
+.\" Copyright (c) 2010 NetBSD Foundation, Inc.
+.\" 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.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
+.\"
+.\"	$NetBSD: intro.4,v 1.1.2.2 2011/02/08 18:15:41 bouyer Exp $
+.\"
+.Dd July 17, 2010
+.Dt INTRO 4 emips
+.Os
+.Sh NAME
+.Nm intro
+.Nd introduction to emips special files and hardware support
+.Sh DESCRIPTION
+This section describes the special files, related driver functions,
+and networking support available in the system.
+In this part of the manual, the
+.Tn SYNOPSIS
+section of each configurable device gives a sample specification
+for use in constructing a system description for the
+.Xr config 1
+program.
+The
+.Tn DIAGNOSTICS
+section lists messages which may appear on the console
+and/or in the system error log
+.Pa /var/log/messages
+due to errors in device operation; see
+.Xr syslogd 8
+for more information.
+.Pp
+This section contains both devices which may be configured into
+the system and network related information.
+The networking support is introduced in
+.Xr netintro 4 .
+.Sh DEVICE SUPPORT
+This section describes the hardware supported on eMIPS
+(Microsoft Extensible MIPS processor)-based platforms.
+Software support for these devices comes in two forms.
+A hardware device may be supported with a character or block
+.Em device driver ,
+or it may be used within the networking subsystem and have a
+.Em network interface driver .
+Block and character devices are accessed through files in the file
+system of a special type; see
+.Xr mknod 8 .
+Network interfaces are indirectly accessed through the interprocess
+communication facilities provided by the system; see
+.Xr socket 2 .
+.Pp
+A hardware device is identified to the system at configuration time
+and the appropriate device or network interface driver is then compiled
+into the system.
+When the resultant system is booted, the autoconfiguration facilities
+in the system probe for the device and, if found, enable the software
+support for it.
+If a device does not respond at autoconfiguration
+time it is not accessible at any time afterwards.
+To enable a device which did not autoconfigure,
+the system must be rebooted.
+.Pp
+The autoconfiguration system is described in
+.Xr autoconf 4 .
+A list of the supported devices is given below.
+.Sh SEE ALSO
+.Xr config 1 ,
+.Xr autoconf 4
+.Sh SUPPORTED SYSTEMS
+The following systems are supported:
+.Pp
+.Bl -tag -width speaker -offset indent -compact
+.It BeSquare BErkeley Emulation System-3 FPGA development board
+known as the "BEE3". This is a quad-chip FPGA system where eMIPS can run on each FPGA separately,
+on multiple FPGAs in concert, and in multi-processor configurations.
+.It Xilinx University Program board
+known as "XUP". This is the Xilinx reference board for the Virtex-5 series chips.
+It can use the same XL110T FPGA chip present on the BEE3.
+.It Xilinx ML402
+Xilinx reference board for the Virtex-4 series chip, including the SX35.
+.It Xilinx ML401
+Same as the above, but with the smaller LX25 chip. 
+.El
+.Sh LIST OF DEVICES
+The devices listed below are supported in this incarnation of the system.
+Devices are indicated by their functional interface.
+Not all supported devices are listed.
+.Pp
+.Bl -tag -width speaker -offset indent -compact
+.It ace
+Xilinx SystemACE interface for Compact-FLASH cards, bears similarities to the IDE interface.
+Present on XUP and ML40x boards. Not present on BEE3.
+.It dz
+serial driver for the eMIPS console serial device. Present on all systems.
+.It enic
+Ethernet driver for the eNIC device. Present on XUP and BEE3 systems. Not present on ML40x systems.
+.It eclock
+System clock, must be configured on all systems.
+.It ebus
+Extensible BUS, present on all systems.
+.El
+.Sh HISTORY
+This
+.Tn eMIPS
+.Nm intro
+appeared in
+.Nx 6.0 .

Index: src/share/man/man4/man4.sandpoint/Makefile
diff -u /dev/null src/share/man/man4/man4.sandpoint/Makefile:1.1.2.2
--- /dev/null	Tue Feb  8 18:15:42 2011
+++ src/share/man/man4/man4.sandpoint/Makefile	Tue Feb  8 18:15:42 2011
@@ -0,0 +1,8 @@
+# 	from: @(#)Makefile	8.2 (Berkeley) 2/16/94
+#	$NetBSD: Makefile,v 1.1.2.2 2011/02/08 18:15:42 bouyer Exp $
+
+MAN=	satmgr.4
+MLINKS=
+MANSUBDIR=/sandpoint
+
+.include <bsd.man.mk>

Index: src/share/man/man4/man4.sandpoint/satmgr.4
diff -u /dev/null src/share/man/man4/man4.sandpoint/satmgr.4:1.3.2.2
--- /dev/null	Tue Feb  8 18:15:42 2011
+++ src/share/man/man4/man4.sandpoint/satmgr.4	Tue Feb  8 18:15:42 2011
@@ -0,0 +1,109 @@
+.\" $NetBSD: satmgr.4,v 1.3.2.2 2011/02/08 18:15:42 bouyer Exp $
+.\"
+.\" Copyright (c) 2011 The NetBSD Foundation, Inc.
+.\" All rights reserved.
+.\"
+.\" This code is derived from software contributed to The NetBSD Foundation
+.\" by Tohru Nishimura.
+.\"
+.\" 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.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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.
+.\"
+.Dd January 26, 2011
+.Dt SATMGR 4 sandpoint
+.Os
+.Sh NAME
+.Nm satmgr
+.Nd driver for satellite processor, controlling power, front panel LEDs, and buttons
+.Sh SYNOPSIS
+.Cd "satmgr0 at eumb? unit 0"
+.Cd "satmgr0 at eumb? unit 1"
+.Sh DESCRIPTION
+This driver provides an interface to the
+.Tn NAS
+builtin satellite microprocessor which controls the power, front
+panel LEDs, and push buttons.
+Communication is performed through character sequences, whose
+definition and usage depend on the
+.Tn NAS
+product models.
+.Pp
+The device file
+.Pa /dev/satmgr
+can be written to control the satellite processor and the LEDs.
+Reading it will return single characters for button press events.
+This facility was designed to implement a
+.Tn NAS
+control
+.Tn CGI
+program.
+.Pp
+.Nm
+detects a soft power-off condition, which is triggered by holding
+the front panel power button pressed for several seconds.
+This driver can optionally invoke
+.Xr powerd 8
+to get a finer control over the system shutdown procedure.
+It is capable of reporting a power-button-pressed event.
+Refer to the
+.Xr powerd 8
+manual section for more details.
+.Pp
+For
+.Tn "Kurobox/Linkstation"
+.Tn NAS
+products it also provides a way to toggle the system watchdog with the
+.Xr sysctl 8
+utility.
+The usage is:
+.Bd -literal -offset indent
+# sysctl -w machdep.satmgr.hwwdog_enable=1
+# sysctl -w machdep.satmgr.hwwdog_enable=0
+.Ed
+.Pp
+.Tn NAS
+products currently supported by
+.Nm :
+.Bl -bullet -compact
+.It
+KuroBox
+.It
+Buffalo LinkStation
+.It
+Synology DiskStation
+.El
+.Sh FILES
+.Bl -tag -width /dev/satmgrX -compact
+.It Pa /dev/satmgr
+communication inferface to
+.Nm .
+.It Pa /dev/power
+event notify channel to
+.Xr powerd 8 .
+.El
+.Sh SEE ALSO
+.Xr powerd 8
+.Sh HISTORY
+The
+.Nm
+driver
+first appeared in
+.Nx 6.0 .

Index: src/share/man/man8/man8.emips/Makefile
diff -u /dev/null src/share/man/man8/man8.emips/Makefile:1.1.2.2
--- /dev/null	Tue Feb  8 18:15:42 2011
+++ src/share/man/man8/man8.emips/Makefile	Tue Feb  8 18:15:42 2011
@@ -0,0 +1,7 @@
+#	$NetBSD: Makefile,v 1.1.2.2 2011/02/08 18:15:42 bouyer Exp $
+#
+
+MAN=	boot.8
+MANSUBDIR=/emips
+
+.include <bsd.man.mk>
Index: src/share/man/man8/man8.emips/boot.8
diff -u /dev/null src/share/man/man8/man8.emips/boot.8:1.1.2.2
--- /dev/null	Tue Feb  8 18:15:42 2011
+++ src/share/man/man8/man8.emips/boot.8	Tue Feb  8 18:15:42 2011
@@ -0,0 +1,96 @@
+.\"	$NetBSD: boot.8,v 1.1.2.2 2011/02/08 18:15:42 bouyer Exp $
+.\"
+.\" Copyright (c) 2010 Microsoft Corp.
+.\" Copyright (c) 2010 NetBSD Foundation, Inc.
+.\" 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.
+.\"
+.\" 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.
+.\"
+.Dd July 17, 2010
+.Dt BOOT 8 emips
+.Os
+.Sh NAME
+.Nm boot
+.Nd system bootstrapping procedures
+.Sh DESCRIPTION
+The
+.Nx
+kernel is started by placing it near the beginning of physical
+memory and transferring to the entry point.
+Since the system is not reenterable,
+it is necessary to read it in from disk or the network
+each time it is to be bootstrapped.
+.Ss Power fail and crash recovery
+FPGA devices lose their content upon loss of power and must be re-programmed.
+This is usually accomplished via a JTAG cable programmer, or using a FLASH device.
+Once the eMIPS processor has been programmed into the FPGA, the system will normally boot itself.
+An automatic consistency check of the file systems will be performed,
+and unless this fails, the system will resume multi-user operations.
+.Sh Xilinx XUP, ML401 and ML402
+On these systems the kernel is normally read in from disk. The path used for automatic booting is
+.Nm /netbsd ,
+but it can be overridden in the optional file
+.Nm /boot.config
+stored in the root of the disk filesystem. The user can also type a different filename and a combination of boot options.
+.Sh BeSquare BEE3
+On this system there is no local disk and booting over the network is the only option.
+Network boot can also be explicitly selected by hitting
+.Nm f
+at the boot loader prompt.
+.Sh KERNEL ARGUMENTS
+At the boot loader prompt, the user may boot
+.Nx
+with a number of otions that are passed to the kernel unmodified. Parsing of these options is
+defined in the file
+.Nm /sys/boot_flag.h
+Some additional flags are as follows.
+.Bl -tag -width xxx -offset indent
+.It Li e
+Empty -- this argument requests
+.Nx
+to ignore all symbolic information and empty its initial symbol table.
+.It Li n
+Name -- Prompt for the root file system device, the system crash dump
+device, and the path to
+.Xr init 8 .
+.It Li N
+NoName -- Do not prompt for the root file system device, the system crash dump
+device, and the path to
+.Xr init 8 .
+If the configured-in devices are present, use them.
+.It Li s
+Single -- Boot only to single-user mode.
+.El
+.Sh SEE ALSO
+.Xr ddb 4 ,
+.Xr halt 8 ,
+.Xr init 8 ,
+.Xr installboot 8 ,
+.Xr rc 8 ,
+.Xr reboot 8 ,
+.Xr savecore 8 ,
+.Xr shutdown 8
+.Sh HISTORY
+The
+.Nm
+command is
+.Ud .

Index: src/share/man/man8/man8.sandpoint/Makefile
diff -u /dev/null src/share/man/man8/man8.sandpoint/Makefile:1.2.22.1
--- /dev/null	Tue Feb  8 18:15:42 2011
+++ src/share/man/man8/man8.sandpoint/Makefile	Tue Feb  8 18:15:42 2011
@@ -0,0 +1,7 @@
+#	@(#)Makefile	5.1 (Berkeley) 3/22/91
+#	$NetBSD: Makefile,v 1.2.22.1 2011/02/08 18:15:42 bouyer Exp $
+
+MAN=	altboot.8
+MANSUBDIR=/sandpoint
+
+.include <bsd.man.mk>

Index: src/share/man/man8/man8.sandpoint/altboot.8
diff -u /dev/null src/share/man/man8/man8.sandpoint/altboot.8:1.3.2.2
--- /dev/null	Tue Feb  8 18:15:42 2011
+++ src/share/man/man8/man8.sandpoint/altboot.8	Tue Feb  8 18:15:42 2011
@@ -0,0 +1,204 @@
+.\" $NetBSD: altboot.8,v 1.3.2.2 2011/02/08 18:15:42 bouyer Exp $
+.\"
+.\" Copyright (c) 2011 The NetBSD Foundation, Inc.
+.\" All rights reserved.
+.\"
+.\" This code is derived from software contributed to The NetBSD Foundation
+.\" by Tohru Nishimura.
+.\"
+.\" 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.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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.
+.\"
+.Dd January 26, 2011
+.Dt ALTBOOT 8 sandpoint
+.Os
+.Sh NAME
+.Nm altboot
+.Nd program to boot
+.Nx
+kernel from disk or network
+.Sh DESCRIPTION
+.Nm
+is a
+.Nx
+program which works on top of a
+.Tn NAS
+product's bootloader.
+It is capable of loading a
+.Nx
+kernel from an
+.Tn IDE
+or
+.Tn SATA
+disk drive, or via network with
+.Tn NFS
+or
+.Tn TFTP
+protocol.
+.Nm
+can be stored in flash ROM.
+Typically you will first copy it from flash into RAM and then invoke
+it there to boot the
+.Nx
+kernel.
+.Pp
+.Nm
+runs in conjunction with popular
+.Tn U-Boot/PPCBoot
+bootloaders used by
+.Tn NAS
+products.
+With an appropriate boot command line, saved in the environment,
+.Nm
+can load and start a
+.Nx
+kernel without manual intervention.
+The original
+.Tn U-Boot/PPCBoot
+bootloaders remain useful and altboot works as a functional extension
+of them.
+.Sh EXAMPLES
+.Nm
+occupies less than 128KB in volume and can be stored to any vacant
+space of the system's flash.
+It is made to run at RAM address offset 0x0100'0000.
+.Tn U-Boot/PPCboot
+is instructed to copy the program to RAM in this way:
+.Pp
+.Dl => cp.b fffe0000 1000000 20000
+.Pp
+Here 0xfffe'0000 is the flash address where
+.Nm
+is stored while 0x0100'0000 is the RAM address to copy to.
+.Pp
+The invocation syntax is:
+.Pp
+.Dl => go 1000000 Ar opt1 Ar opt2 ... Ar bootname
+.Bl -tag -width xx
+.It Va optN
+multi, auto, ask, single, ddb, userconf, norm, quiet, verb,
+silent, debug
+.Pp
+Omitting optN makes
+.Nm
+default to multi-user mode boot.
+.Pp
+N.B., the maximum number of the go command argument varies
+and depends on the
+.Tn U-Boot/PPCBoot
+buildtime configuration.
+.It Va bootname
+One of the following:
+.Pp
+.Dl nfs: Ns Ar filename
+.Dl nfs:
+.Dl tftp: Ns Ar filename
+.Dl tftp:
+.Dl wd Ns Ar Np Ns : Ns Ar filename
+.Dl wd Ns Ar Np Ns :
+.Dl net:
+.Pp
+The last one is a synonym of
+.Dq nfs .
+.It nfs: Ns Va filename
+issue a
+.Tn DHCP
+request to determine the
+.Tn IP
+address and download
+.Em filename
+from the
+.Tn NFS
+server.
+.It nfs:
+target file is determined by
+.Sy filename
+field of
+.Pa /etc/dhcpd.conf
+.It tftp: Ns Va filename
+issue a
+.Tn DHCP
+request to determine
+.Tn IP
+address and download
+.Em filename
+from the
+.Tn TFTP
+server.
+.It tftp:
+target file is determined by
+.Sy filename
+field of
+.Pa /etc/dhcpd.conf
+.It wd Ns Va Np : Ns Va filename
+load the
+.Tn ELF
+.Nx
+kernel
+.Em filename
+from an
+.Tn FFSv2
+or
+.Tn FFSv1
+filesystem.
+.Em N
+is a number to distinguish the target drive.
+.Em p
+is a partition specifier.
+When omitted, partition
+.Sq a
+is assumed.
+.Dq wd0a
+means partition
+.Sq a
+of the first disk drive.
+.It wd Ns Va Np :
+use filename
+.Dq netbsd
+for booting the
+.Tn ELF
+.Nx
+kernel.
+.El
+.Pp
+.Tn U-Boot/PPCBoot
+provides a way to run a short list of commands right after power-on.
+The following is a procedure to setup the system for starting
+.Nx
+after a 5 second delay, allowing the user to break into interactive
+mode.
+Note that a backslashed
+.Sq \&;
+is necessary to enter the script correctly.
+.Bd -literal -offset indent
+=> setenv bootcmd cp.b fffe0000 1000000 20000\e; go 1000000 wd0:
+=> setenv bootdelay 5
+=> saveenv
+.Ed
+.Sh SEE ALSO
+.Xr dhcpd 8 ,
+.Xr diskless 8
+.Sh HISTORY
+The
+.Nx Ns Tn /sandpoint
+.Nm
+first appeared in
+.Nx 6.0 .

Reply via email to