des
d3e9d9a7c3
Make the location of init(8) tunable at boot time.
1999-04-20 21:15:13 +00:00
dcs
7da9554ad1
Installs a default loader.rc if none exists. Document loader.conf.
1999-04-18 09:21:12 +00:00
rnordier
3fdb487782
Fix damage introduced in previous commit.
1999-04-05 07:36:30 +00:00
rnordier
33dbdcecb9
Optimize better for space.
...
Thanks to: jdp
1999-04-05 07:24:51 +00:00
obrien
d343a5cdea
Remove the string ">>> FreeBSD/i386 BOOT". I need to reduce the size of
...
boot2 by 16 bytes. I expect this to be temperary until the boot2 authors
can do the proper fix.
1999-04-04 21:15:41 +00:00
joerg
378da8f135
Make <DEL> an alternative rubout character for command input; many
...
serial terminals use this as their default rubout key.
1999-03-31 08:28:42 +00:00
dcs
c18006911a
Avoid copying m_args if none exists. (Perhaps this is a better solution,
...
Doug?)
1999-03-18 14:36:22 +00:00
dcs
5286c095cf
Version bump: kvm & dictionary size.
1999-03-17 23:05:46 +00:00
dcs
fa973cd0a2
The man page, version 0.1.
1999-03-15 08:52:23 +00:00
dcs
313dc063d0
Install new loader.rc stuff.
1999-03-10 03:34:14 +00:00
dcs
526581a289
Add MODINFO_ARGS, parameters passed to a module at load time.
...
VS: ----------------------------------------------------------------------
1999-03-08 11:05:52 +00:00
rnordier
c74450fa3d
Save option, rather than slice, selected. This permits unattended
...
booting from other than drive 0, as the F5 keypress is saved and
"replayed."
Requested (some time ago) by: archie
1999-03-01 02:42:47 +00:00
rnordier
c17b4c476c
Implement "setdrv" option
1999-02-26 14:51:14 +00:00
rnordier
a3fa9785d0
Emulate a V86 "movl %cr0,%eax" instruction.
...
Feedback and testing: Kurt Hopfensperger <kjhmdjd@ix.netcom.com>
1999-02-25 16:27:41 +00:00
msmith
7648580bdb
Don't try protecting page 0; it seems that BIOS writers now feel it's
...
appropriate to check for Windows95 by polling for state in low
memory, with fatal results.
Submitted by: rnordier@freebsd.org
1999-02-24 01:37:23 +00:00
dcs
ea6b709336
Bumb up loader's version.
...
Reviewed by: Michael Smith <msmith@freebsd.org>
1999-02-08 04:14:31 +00:00
rnordier
c84955e100
Check size of partition before using it.
1999-01-29 03:36:42 +00:00
rnordier
7332041031
Fix a couple of further bugs: missing argument to sprintf() and
...
"==" used for "=".
1999-01-25 23:07:02 +00:00
msmith
6f8753800c
Bleh. Missing 'unit =' doesn't help legacy num_ide_disks code.
...
PR: bin/9651
Submitted by: "Daniel C. Sobral" <dcs@newsguy.com>
1999-01-24 06:03:44 +00:00
msmith
d0d15b4eb8
Document root_disk_unit
1999-01-24 00:12:17 +00:00
msmith
1e566c5505
biosdisk.c
...
Implement a new variable 'root_disk_unit' which supersedes
'num_ide_disks' and makes it possible to explicitly set the
root device unit number regardless of type considerations.
bootinfo.c
If we can't calculate a dev_t for the root disk, complain and
don't proceed to boot with an invalid boot device.
1999-01-24 00:12:04 +00:00
msmith
13b06fbe36
Fill in the bi_bios_dev field in the bootinfo struct; the loader doesn't
...
guess this value well in anything other than the simplest of situations.
1999-01-24 00:10:10 +00:00
rnordier
8603959049
Fix read error not being detected.
1999-01-22 18:32:52 +00:00
rnordier
aa2df6372b
Push version numbers up to 1.00. This is just intended to reflect
...
that the BTX code can be regarded as stable: there are no associated
code changes.
Suggested by: obrien
1999-01-22 13:07:17 +00:00
msmith
488523664e
Transition from using Perl to using awk for our text-manipulation
...
needs. This removes the dependancy on Perl for the generation of the
loader, allowing the world to be built on a perl-free system.
Submitted by: Joe Abley <jabley@clear.co.nz>
1999-01-18 19:05:27 +00:00
rnordier
6edc8726f9
In the event of a disk error, boot2 is expecting an error
...
code to be returned: give it one
1999-01-13 23:30:07 +00:00
rnordier
192bb84877
Drop boot.help support.
1999-01-11 11:36:03 +00:00
msmith
527d380042
Preserve the previous loader as loader.old.
...
Note no matching commit for the Alpha, as the alpha boot0 stage does
not have the ability to prompt for user input.
PR: kern/9406
Submitted by: "Daniel C. Sobral" <dcs@newsguy.com>
1999-01-11 05:52:28 +00:00
msmith
ea810b3ebb
Disable kzipping the loader; it seems to be breaking the aout-to-elf build
1999-01-10 20:20:27 +00:00
steve
01f82cbb96
Remove redundant line of code.
...
PR: 9364
Submitted by: Daniel C. Sobral <dcs@newsguy.com>
1999-01-10 18:22:23 +00:00
rnordier
7f3d245232
Use etc/make.conf settings for serial port and speed.
...
Submitted by: rvb
Reviewed by: bde
1999-01-10 14:48:05 +00:00
peter
6f74dc01b4
Damn, I thought I had committed this already, but it seems not.
...
Move the relocated boot1 and arg transfer space from 0x600/0x800 to
0x700/0x900. In theory this should make no difference, apart from the fact
that Buslogic controllers happen to use a few bytes at 0x600 for some sort
of scratch space for it's int 0x13 hook (!!!), causing the machine to crash
badly when the boot2 code makes it's callbacks into boot1 for disk IO.
Submitted by: Robert Nordier <rnordier@freebsd.org>
1999-01-10 13:29:52 +00:00
msmith
48d88654f8
Explicitly look for kzip in /usr/bin, again this is a stopgap, to avoid
...
making kzip a build tool.
1999-01-09 20:14:46 +00:00
msmith
dc29b5609b
kzip the loader, this shrinks it to about 60% of its original size.
...
Note that this is a stopgap with dependancies on the a.out tools.
1999-01-09 02:38:40 +00:00
msmith
6ed8cbf467
Extend bd_print() so that it displays slices and partitions on disks.
1999-01-09 02:36:19 +00:00
peter
46c636cd84
Fix a potential sign extension bug on 8-bit chars.
...
Outputting a backspace isn't supposed to be destructive.. It isn't on
most terminals, nor on the standard bios output (vs. TERM_EMU mode)
1999-01-04 18:45:08 +00:00
msmith
18c1130833
Restore dependancy to build loader.help here
1999-01-04 01:28:46 +00:00
msmith
a344fa1d6d
Reenable generation of the loader.help file
1999-01-03 20:50:35 +00:00
abial
b3642b0f23
Add back ability to make beeps when using new TERM_EMU.
...
Submitted by: W Gerald Hicks <wghicks@bellsouth.net>
1998-12-31 13:44:04 +00:00
abial
75069f671c
Add simple terminal emulator, compatible with cons25. Currently supported
...
capabilities are: AF, AB, cm, ho, me, cd. The code is hidden behind
-DTERM_EMU - should it cause any problems, you can remove this define
to get back the old behaviour.
You'll find some examples how to use it in src/share/examples/bootforth.
Reviewed by: jkh
1998-12-22 11:51:25 +00:00
msmith
fca47ff171
Disable build/install of boot.help until we sort out how to construct it
...
in the makeworld environment.
1998-12-16 02:27:15 +00:00
msmith
8b77bf750a
Reformat help to improve subtopic display appearance, other minor
...
cleaning. The 'help' command in the loader should now be usable and
hopefully informative.
1998-12-15 14:32:17 +00:00
msmith
98e8c7d522
Build the composite help file from the generic and architecture-specific
...
help files, sorting topics and subtopics to allow maximum flexibility.
1998-12-15 14:21:30 +00:00
ache
c46111d079
unlocalize date
...
Submitted by: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
1998-12-07 16:17:41 +00:00
rnordier
e625ce3562
Revise some comments and labels.
1998-12-05 11:58:33 +00:00
rnordier
3b5f1e1ac9
Drop EDD support detection, though retain configurable use of disk
...
packet interface. Add booteasy-style F5 support. Add no-update
option. Implement various space optimizations and consistency fixes.
1998-11-29 14:09:00 +00:00
rnordier
2b7d69a8df
Drop use of BIOS int 0x14 services in favor of direct port I/O.
...
Feedback and testing: Adrian Filipi-Martin <adrian@ubergeeks.com>
1998-11-22 07:59:16 +00:00
msmith
20e409b11b
Add a new variable $num_ide_disks which is used to offset the unit number
...
for SCSI disks when converting from BIOS unit numbers to da unit numbers.
Prompted by Kevin Street <street@iname.com>
1998-11-13 23:40:02 +00:00
jkh
c6de7d3383
bootforth seems to be working well enough for me and others to turn
...
on by default. If it causes trouble, it's very easy to switch off again.
1998-11-12 07:40:51 +00:00
rnordier
225b2f2541
Revise error messages.
1998-11-11 08:56:17 +00:00