xref: /netbsd-src/share/man/man8/man8.emips/boot.8 (revision 9491cef7bc621862ad242279c70a118a21b9df17)
1*9491cef7Sskrll.\"	$NetBSD: boot.8,v 1.2 2013/10/05 08:20:22 skrll Exp $
25f7e80a8Spooka.\"
35f7e80a8Spooka.\" Copyright (c) 2010 Microsoft Corp.
45f7e80a8Spooka.\" Copyright (c) 2010 NetBSD Foundation, Inc.
55f7e80a8Spooka.\" All rights reserved.
65f7e80a8Spooka.\"
75f7e80a8Spooka.\" Redistribution and use in source and binary forms, with or without
85f7e80a8Spooka.\" modification, are permitted provided that the following conditions
95f7e80a8Spooka.\" are met:
105f7e80a8Spooka.\" 1. Redistributions of source code must retain the above copyright
115f7e80a8Spooka.\"    notice, this list of conditions and the following disclaimer.
125f7e80a8Spooka.\" 2. Redistributions in binary form must reproduce the above copyright
135f7e80a8Spooka.\"    notice, this list of conditions and the following disclaimer in the
145f7e80a8Spooka.\"    documentation and/or other materials provided with the distribution.
155f7e80a8Spooka.\"
165f7e80a8Spooka.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
175f7e80a8Spooka.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
185f7e80a8Spooka.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
195f7e80a8Spooka.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
205f7e80a8Spooka.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
215f7e80a8Spooka.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
225f7e80a8Spooka.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
235f7e80a8Spooka.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
245f7e80a8Spooka.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
255f7e80a8Spooka.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
265f7e80a8Spooka.\" SUCH DAMAGE.
275f7e80a8Spooka.\"
28*9491cef7Sskrll.Dd October 5, 2013
295f7e80a8Spooka.Dt BOOT 8 emips
305f7e80a8Spooka.Os
315f7e80a8Spooka.Sh NAME
325f7e80a8Spooka.Nm boot
335f7e80a8Spooka.Nd system bootstrapping procedures
345f7e80a8Spooka.Sh DESCRIPTION
355f7e80a8SpookaThe
365f7e80a8Spooka.Nx
375f7e80a8Spookakernel is started by placing it near the beginning of physical
385f7e80a8Spookamemory and transferring to the entry point.
395f7e80a8SpookaSince the system is not reenterable,
405f7e80a8Spookait is necessary to read it in from disk or the network
415f7e80a8Spookaeach time it is to be bootstrapped.
425f7e80a8Spooka.Ss Power fail and crash recovery
435f7e80a8SpookaFPGA devices lose their content upon loss of power and must be re-programmed.
445f7e80a8SpookaThis is usually accomplished via a JTAG cable programmer, or using a FLASH device.
455f7e80a8SpookaOnce the eMIPS processor has been programmed into the FPGA, the system will normally boot itself.
465f7e80a8SpookaAn automatic consistency check of the file systems will be performed,
475f7e80a8Spookaand unless this fails, the system will resume multi-user operations.
485f7e80a8Spooka.Sh Xilinx XUP, ML401 and ML402
495f7e80a8SpookaOn these systems the kernel is normally read in from disk. The path used for automatic booting is
505f7e80a8Spooka.Nm /netbsd ,
515f7e80a8Spookabut it can be overridden in the optional file
525f7e80a8Spooka.Nm /boot.config
535f7e80a8Spookastored in the root of the disk filesystem. The user can also type a different filename and a combination of boot options.
545f7e80a8Spooka.Sh BeSquare BEE3
555f7e80a8SpookaOn this system there is no local disk and booting over the network is the only option.
565f7e80a8SpookaNetwork boot can also be explicitly selected by hitting
575f7e80a8Spooka.Nm f
585f7e80a8Spookaat the boot loader prompt.
595f7e80a8Spooka.Sh KERNEL ARGUMENTS
605f7e80a8SpookaAt the boot loader prompt, the user may boot
615f7e80a8Spooka.Nx
62*9491cef7Sskrllwith a number of options that are passed to the kernel unmodified. Parsing of these options is
635f7e80a8Spookadefined in the file
645f7e80a8Spooka.Nm /sys/boot_flag.h
655f7e80a8SpookaSome additional flags are as follows.
665f7e80a8Spooka.Bl -tag -width xxx -offset indent
675f7e80a8Spooka.It Li e
685f7e80a8SpookaEmpty -- this argument requests
695f7e80a8Spooka.Nx
705f7e80a8Spookato ignore all symbolic information and empty its initial symbol table.
715f7e80a8Spooka.It Li n
725f7e80a8SpookaName -- Prompt for the root file system device, the system crash dump
735f7e80a8Spookadevice, and the path to
745f7e80a8Spooka.Xr init 8 .
755f7e80a8Spooka.It Li N
765f7e80a8SpookaNoName -- Do not prompt for the root file system device, the system crash dump
775f7e80a8Spookadevice, and the path to
785f7e80a8Spooka.Xr init 8 .
795f7e80a8SpookaIf the configured-in devices are present, use them.
805f7e80a8Spooka.It Li s
815f7e80a8SpookaSingle -- Boot only to single-user mode.
825f7e80a8Spooka.El
835f7e80a8Spooka.Sh SEE ALSO
845f7e80a8Spooka.Xr ddb 4 ,
855f7e80a8Spooka.Xr halt 8 ,
865f7e80a8Spooka.Xr init 8 ,
875f7e80a8Spooka.Xr installboot 8 ,
885f7e80a8Spooka.Xr rc 8 ,
895f7e80a8Spooka.Xr reboot 8 ,
905f7e80a8Spooka.Xr savecore 8 ,
915f7e80a8Spooka.Xr shutdown 8
925f7e80a8Spooka.Sh HISTORY
935f7e80a8SpookaThe
945f7e80a8Spooka.Nm
955f7e80a8Spookacommand is
965f7e80a8Spooka.Ud .
97