diff options
author | Ian Dowse <iedowse@FreeBSD.org> | 2005-08-18 00:42:45 +0000 |
---|---|---|
committer | Ian Dowse <iedowse@FreeBSD.org> | 2005-08-18 00:42:45 +0000 |
commit | a00a259113386508d26882780ad746fbc558a235 (patch) | |
tree | f77701998d64b645834b575ed4da156006e7fe4b /sbin/reboot | |
parent | ef0a6e203b6db3e19a2cdb3bb466ed6ee55013dd (diff) | |
download | src-a00a259113386508d26882780ad746fbc558a235.tar.gz src-a00a259113386508d26882780ad746fbc558a235.zip |
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.
Notes
Notes:
svn path=/head/; revision=149212
Diffstat (limited to 'sbin/reboot')
-rw-r--r-- | sbin/reboot/boot_i386.8 | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/sbin/reboot/boot_i386.8 b/sbin/reboot/boot_i386.8 index a6d4c3ce867e..5e59eecdb9af 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 |