thorpej
7c2615290b
Add support for MS-DOS file system, but don't enable it by
...
default -- the resulting binary is too large, and thus does
not work.
2000-11-02 01:02:07 +00:00
jdolecek
2308091f66
update usage message (new flags -v, -q)
2000-09-24 18:28:18 +00:00
jdolecek
49c105ffdb
add new macro BOOT_FLAG() (defined in <sys/boot_flag.h>) - this
...
maps standard boot flags to corresponding RB_* values
use BOOT_FLAG() in port's MD code as appropriate
as discussed on tech-kern, add new boot flags -v, -q for booting
verbosely or quietly, and corresponding AB_VERBOSE/AB_QUIET
boot flags; also add FreeBSD-compatible bootverbose macro and
NetBSD-specific bootquiet macro
for hpcmips, use new bootverbose instead of it's own hpcmips_verbose
Tested on i386, and to limited extend (compile of affected files) also for
mvme68k, hp300, luna68k, sun3.
2000-09-24 12:32:31 +00:00
erh
df316aa06c
Change the heap limit from 40000 to 50000 so the heap is the same size as it was before the "Hack from Hell'.
2000-08-22 02:46:30 +00:00
jdolecek
e25636b5da
g/c RB_DFLTROOT
...
I've tried hard to find also various usage() messages and remove the
appropriate flag from there as well, hopefully all occurences are covered.
2000-07-29 20:06:27 +00:00
jdolecek
c8f528ad5e
switch to MI newvers_stand.sh version info generator
2000-07-12 21:05:35 +00:00
thorpej
7f1c64b910
Enable the code that passes the ACPI memory map to the kernel.
2000-06-02 18:26:10 +00:00
jhawk
24396ea653
revert 1.21 (back to 1.20);
...
the problem was due to diskbuf[] getting pushed over a 64k
boundary, and has now been fixed (for the moment).
2000-05-21 16:33:12 +00:00
jhawk
07a3d660c5
This change courtesy of Charles Hannum <root@ihack.net>. This
...
addresses the problems seen by Jason Thorpe <thorpej@netbsd.org> and
Erik Berls <cyber@netbsd.org> necessitating rev 1.20 of
biosboot/main.c.
Move BOOTSEG from 0x100 to 0x1000.
Move heap from 0x10000 to 0x20000.
XXXXXXXX
This is a Kluge From Hell to allow boot blocks to grow a little larger
without diskbuf[] crossing a 64k boundary.
2000-05-21 16:29:14 +00:00
thorpej
4756ba9e32
#if 0 out the consdev command stuff -- with it, boot blocks don't
...
work, without it, they work fine. Size issue?
2000-05-19 22:26:50 +00:00
jdolecek
950749ab6f
add special bootblocks for IBM PS/2 - those machines need different gate A20
...
addressing
2000-05-13 19:58:01 +00:00
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