jhawk
187860f8fb
Fix problem from 1.27, and more long-standing in the commented-out
...
-DSUPPORT_SERIAL options:
Only set -DSUPPORT_SERIAL=CONSDEV_PC for "biosboot" and "biosboot_resetvideo",
but not for biosboot_com0.
2000-05-13 19:03:19 +00:00
jhawk
d4091aa02e
Add support for on-the-fly switching of console devices interactively
...
from biosboot via the "consdev" command.
2000-05-13 05:31:00 +00:00
jhawk
a72e1e9c59
Add support for on-the-fly switching of console devices interactively
...
from the i386 biosboot via the "consdev" command.
2000-05-13 05:25:20 +00:00
jhawk
1dac4cd666
Add support for on-the-fly switching of console devices interactively
...
from biosboot via the "consdev" command.
Move "Press return" printf() out of print_banner() so we can
print_banner() reasonably after switching devices.
2000-05-13 05:23:37 +00:00
tsarna
da1f2723c4
Addredd port-i386/9897, but differently. Since the effect of resetting
...
the video mode on machines with ancient or no video cards is not clear,
for safety's sake a I created a new biosboot variant, biosboot_resetvideo
that does the call.
Anyway, now I can boot my i-opener without hitting Tab. Thanks Andrew!
2000-04-23 19:57:12 +00:00
soren
71398b0ad8
With e.g. mbr_bootsel, the boot loader just exits rather than reboot,
...
so print that.
2000-03-29 14:29:34 +00:00
christos
c6b70bdfe2
Use .PATH.c not .PATH otherwise builds without objdirs fail from biosboot_com0.
...
Reported by Tron.
2000-01-20 16:51:01 +00:00
mycroft
093997a6f6
Remove totally gratuitous check on the unit number in dev2bios().
1999-10-28 05:20:05 +00:00
drochner
4486b15211
-make ustarfs optional (enabled per default) for cases where space is
...
scarce
-make the boot timeout patchable
-optionally, call checkpasswd() before the boot menu can be accessed
(The latter 2 follow PR port-i386/8196 by Stephan Thesing.)
1999-09-10 16:38:46 +00:00
kim
f93a90f888
Use same Makefile for biosboot_com0 too.
1999-07-11 01:22:45 +00:00
christos
2f1646ea98
Remove -DDEBUG
1999-07-06 14:37:05 +00:00
christos
5317a4673a
Use new loadfile
1999-04-28 09:14:07 +00:00
drochner
312eae2bf4
add prototypes, use ufs_ls() from mi libsa, revert to "void main()",
...
compile with -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main
1999-04-14 11:45:39 +00:00
fvdl
35d517b9f1
Hack to make biosboot_ser work.
...
XXX The makefile structure in src/sys/arch/i386/stand is very bad.
1999-03-14 00:04:06 +00:00
fvdl
f8e221511b
* query BIOS geometry information, possibly using the int 13 extensions.
...
* pass them on to the kernel
* print a message if the 2nd stage bootloader returns (i.e. fails)
instead of just hanging.
1999-03-08 00:09:24 +00:00
lukem
dcab0210a0
convert from NOxxx= to MKxxx=no.
...
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
cjs
3e90f302b6
Don't give exit() a parameter, as libstand version doesn't take one.
1999-02-12 05:14:22 +00:00
christos
25fc1fa758
Add exec.c here...
1999-01-30 17:43:38 +00:00
christos
35ca0db06c
Revert, wrong place for this.
1999-01-29 18:47:24 +00:00
christos
6cadeb1ea6
Add exec.c here.
1999-01-29 18:46:15 +00:00
christos
408aa9a669
Bump number to 2.6 and say ELF works!
...
But, this is not selfhosting yet. I need to fix the installboot crap.
[i.e. you need the a.out tools to build it and install it].
1999-01-28 20:12:49 +00:00
he
bdafd9591e
Add "ustarfs" as a recognized boot file system type, and bump version number.
1998-12-19 19:44:56 +00:00
ws
a541c86a76
Update version number and mention int13 extension support
...
(sorry, forgot this on the recent commit of the above).
1998-10-27 12:59:02 +00:00
rvb
67390e1ee2
Make serial line debugging easier to enable and use
1998-08-13 17:41:10 +00:00
drochner
13b329cdd2
bump version number to reflect the partition ID change
...
(should have been done long ago)
1998-07-08 17:46:21 +00:00
drochner
a8857f05e8
Allow to use the code in user land test programs.
1998-05-15 16:38:53 +00:00
mycroft
4fe1e7a83d
Make main() return int to shut up egcs. (Yuck.)
1998-03-31 05:29:21 +00:00
drochner
ce380ad936
enable "old partition ID" compatibility per default
1998-02-19 14:18:36 +00:00
drochner
23e7d0a259
Adjust comment for new default fragment table size.
1997-11-07 17:01:45 +00:00
drochner
4de13c78d3
Use the "proginstall" rule from <bsd.prog.mk> to get the UPDATE
...
behaviour right.
1997-09-28 11:47:29 +00:00
drochner
c03122fcb1
In some future (ie, without COMPAT_OLDBOOT), we don't want to bother
...
with the disk type (IDE or SCSI) here - the BIOS doesn't do it either.
Set "#ifdef"s accordingly.
1997-09-20 12:36:05 +00:00
drochner
dc0b04e0ad
Note use of common menu functions and new framework for argument passing
...
to the kernel.
1997-09-20 12:28:21 +00:00
drochner
8b0c39d09e
The additional linefeed appeared again... kill it.
1997-09-17 19:39:37 +00:00
drochner
38b36ed152
-Use shared menu / parsing functions.
...
-Adapt to changed console and exec_netbsd arguments.
-Turn private "cd"-like behaviour into a regular command.
1997-09-17 18:37:58 +00:00
drochner
1d521976af
Put name of booted file into a "bootinfo" structure.
1997-09-17 18:32:50 +00:00
drochner
c65435feb3
"document" serial console support
1997-09-17 18:28:50 +00:00
drochner
80a5032beb
Make new memory detection default.
...
Introduce a new option, "CONSERVATIVE_MEMDETECT", which disables the
new BIOS calls.
1997-08-14 17:00:18 +00:00
drochner
26f8c5bd65
Prepare definition for EXTENDED_MEMDETECT.
...
Not yet default.
1997-08-14 15:38:30 +00:00
thorpej
e31d380775
New welcome banner code, modeled after NetBSD/hp300's boot program
...
welcome banner code. Includes additional build information, and it
generally nicer to look at.
1997-07-26 01:50:36 +00:00
drochner
6b02672ee8
Cleanup include file usage: Avoid user space headers, use
...
<sys/types.h> instead of <sys/param.h> where possible.
1997-07-15 12:45:22 +00:00
drochner
41c3159f16
Emulate old bootblocks better: Use type of boot harddisk, extracted
...
from disklabel, as default.
(Pushed by Darren Reed <darrenr@cyber.com.au>:-)
1997-07-04 10:52:44 +00:00
drochner
0b58e59709
Correct the error message printing for failed boot attempts
...
("filename" must be processed by parsebootfile() first).
Being here:
- remove the special "#ifdef MATTHIAS" mainloop
- make some "booting..." output match reality
- print '\n' and '\b' more controlled
1997-07-02 13:20:36 +00:00
mikel
7b93ae0fcb
if exec_netbsd() fails, indicate what file we were trying to boot.
...
suggested by Havard Eidnes in PR port-i386/3771.
1997-07-02 04:07:43 +00:00
drochner
cc7a41e5d2
Weaken the restrictions on the device file name a bit: /boot can
...
now be installed on any partition.
Allow PRIM_LOADSZ to be set in the Makefile.
This together allows to make bootable 720k floppys.
closes PR port-i386/3751
1997-06-19 11:46:44 +00:00
drochner
906ad4efef
Remove strerror() prototype, it goes into stand.h.
1997-06-13 13:22:08 +00:00
drochner
771175f3d8
Remove some relicts from the time before libsa/Makefile got
...
"SAMISCCPPFLAGS".
Enable -Wall.
1997-06-13 13:17:46 +00:00
mycroft
5432d44374
Override the proginstall target to do our special hackery. (Yuck.)
1997-05-07 16:15:01 +00:00
perry
a0e583f33e
Fix problem I just introduced in booting on timeout.
1997-04-13 19:10:00 +00:00
perry
7f3e4fcb29
bump to 2.0Beta2; we'll keep incrementing until we release the real 2.0
1997-04-13 18:49:31 +00:00
perry
20b87fc0c9
1) Make carriage return start boot immediately.
...
2) Make "quit" reboot machine. This works by adding a reboot assembler
hook that calls INT 19h
1997-04-13 18:44:39 +00:00