summaryrefslogtreecommitdiffstats
path: root/sbin/reboot/boot_i386.8
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2005-08-18 00:42:45 +0000
committeriedowse <iedowse@FreeBSD.org>2005-08-18 00:42:45 +0000
commit1161399eefe49cc63043fec5cc9e5ba8c9a2cb32 (patch)
treef77701998d64b645834b575ed4da156006e7fe4b /sbin/reboot/boot_i386.8
parent352b6c307b4abedd12512a605aaec6e8df2c96bd (diff)
downloadFreeBSD-src-1161399eefe49cc63043fec5cc9e5ba8c9a2cb32.zip
FreeBSD-src-1161399eefe49cc63043fec5cc9e5ba8c9a2cb32.tar.gz
Add the ability to specify the boot2 serial console speed in
/boot.config or on the "boot:" prompt line via a "-S<speed>" flag, e.g. "-h -S19200". This adds about 50 bytes to the size of boot2 and required a few other small changes to limit the size impact. This changes only affects boot2; there are further loader changes to follow.
Diffstat (limited to 'sbin/reboot/boot_i386.8')
-rw-r--r--sbin/reboot/boot_i386.826
1 files changed, 22 insertions, 4 deletions
diff --git a/sbin/reboot/boot_i386.8 b/sbin/reboot/boot_i386.8
index a6d4c3c..5e59eec 100644
--- a/sbin/reboot/boot_i386.8
+++ b/sbin/reboot/boot_i386.8
@@ -36,7 +36,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd September 30, 2004
+.Dd August 18, 2005
.Dt BOOT 8 i386
.Os
.Sh NAME
@@ -126,9 +126,12 @@ the listing will be of the relevant subdirectory.)
.It Xo
.Sm off
.Ar bios_drive : interface ( unit , Oo Ar slice , Oc Ar part )
-.Sm on
.Ar filename
+.Sm on
.Op Fl aCcDdghmnPprsv
+.Sm off
+.Op Fl S Ar speed
+.Sm on
.Xc
Specify boot file and flags.
.Bl -tag -width indent
@@ -186,9 +189,13 @@ slice) is booted from.
The pathname of the file to boot (relative to the root directory
on the specified partition).
Defaults to
-.Pa /kernel .
+.Pa /boot/kernel/kernel .
Symbolic links are not supported (hard links are).
-.It Fl aCcDdghmnPprsv
+.It Xo Op Fl aCcDdghmnPprsv
+.Sm off
+.Op Fl S Ar speed
+.Sm on
+.Xc
Boot flags:
.Pp
.Bl -tag -width "-CXX" -compact
@@ -263,6 +270,17 @@ boot into single-user mode; if the console is marked as
(see
.Xr ttys 5 ) ,
the root password must be entered.
+.It Xo Sm off
+.Fl S Ar speed
+.Sm on
+.Xc
+set the speed of the serial console to
+.Ar speed .
+The default is 9600 unless it has been overridden by setting
+.Va BOOT_COMCONSOLE_SPEED
+in
+.Pa /etc/make.conf
+and recompiling the boot blocks.
.It Fl v
be verbose during device probing (and later).
.El
OpenPOWER on IntegriCloud