Stefan Eßer
bd5844977d
Add missing "path mnemonics" as given in Table 4-3 of rev. 1.2 of the
...
ARC Specification.
1999-08-02 18:26:28 +00:00
Stefan Eßer
a243da2bc6
Fix install target (install loader.exe, not loader).
1999-07-29 22:22:38 +00:00
Stefan Eßer
79f5bd8308
Activate "arc" (ARC / AlphaBIOS loader) on Alpha.
1999-07-28 20:32:44 +00:00
Nik Clayton
51e09cd72a
Fix some typos.
...
PR: docs/11955
Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
1999-07-28 20:30:59 +00:00
Stefan Eßer
ed4e46bdce
The ARC BIOS / AlphaBIOS specific primary boot loader. This code is the
...
result of a joined effort with parts contributed by Doug Rabson, Warner
Losh and Stefan Esser (hope I did not forget anybody). Part of the sources
is obtained from NetBSD with modifications.
This code is work in progress:
As of the time of the initial import, a loader.exe executable is built,
which can be loaded on an Alpha with NT only firmware, but no attempt is
made to switch to OSF PAL code as required to start an actual kernel.
1999-07-28 20:28:47 +00:00
Robert Nordier
fad2f0e686
Recognise NetBSD slices.
...
Submitted by : Lars Koeller <lkoeller@cc.fh-lippe.de>
PR : 12772
1999-07-24 17:40:40 +00:00
Mike Smith
73332890ea
Walk around the end of all the silly guessing of device types and unit
...
numbers that we have been doing in the past, and read /etc/fstab off the
proposed root filesystem to determine the actual device name and vfs
type for the root filesystem. These are then exported to the kernel
via the environment variable vfs.root.mountfrom.
1999-07-21 00:08:54 +00:00
Robert Nordier
50d57a133e
Reintroduce LBA (cyl > 1023) support in the bootblocks, enabled by
...
means of a build option.
1999-07-20 01:19:23 +00:00
Robert Nordier
ac176e5590
Activate kgzldr.
1999-07-19 20:16:34 +00:00
Robert Nordier
b407f553fb
Use M4FLAGS for m4.
1999-07-19 20:10:17 +00:00
Robert Nordier
ba8860241d
kgzldr is a kzipboot replacement for use with kgzip(8).
...
Development sponsored by Global Technology Associates, Inc.
Reviewed/tested by: abial
1999-07-19 18:07:44 +00:00
Nick Hibma
1854719067
The boot countdown timer says it will boot in 1 seconds,
...
which is grammatically incorrect.
PR: 12628
Submitted-By: R. Matthew Emerson <rme@nightfly.apk.net>
1999-07-15 20:40:52 +00:00
Mike Smith
396641ab13
Document the hw.physmem tunable. (There should be arch-specific tunable
...
help sections.)
1999-07-02 20:38:05 +00:00
Peter Wemm
a6cbd18d26
Fix typo (wrong path)
1999-06-29 21:40:05 +00:00
Peter Wemm
5110b634b0
Reconcile all the loader newvers.sh's into one common one.
1999-06-29 21:23:26 +00:00
Peter Wemm
a36ed03d44
Don't use head/tail - they don't exist in a 'make world' environment.
...
(Why do we have three copies of this script anyway?)
1999-06-29 21:06:16 +00:00
Peter Wemm
240ee5d0e0
ABS_SET() and BSS_SET() are no longer used. The sole remaining user of
...
TEXT_SET() is DDB's command tables.
1999-06-26 12:27:01 +00:00
Ruslan Ermilov
d41ebb5068
-mdoc fix.
1999-06-23 09:06:18 +00:00
Robert Nordier
f841485278
Fill in bi_bios_geom[] in the bootinfo structure passed to the kernel.
...
This should resolve the problem raised in PR 12315, and incidentally
makes it easier to determine what geometry the BIOS is actually using
(by way of boot -v and dmesg).
1999-06-21 18:27:02 +00:00
Robert Nordier
fc2ff140c2
Provide for enabling/disabling each slice individually.
1999-06-19 21:40:55 +00:00
Robert Nordier
bc53095dd4
Fix use of e_phoff in place of e_phnum.
1999-06-19 20:50:38 +00:00
Robert Nordier
68aadbb9c9
Correct and clarify some comments.
1999-06-19 20:40:32 +00:00
Robert Nordier
97a62e386d
Change active flag handling; sanity check passed drive number; pass
...
partition pointer to bootstrap; optimise away 10 bytes; cosmetics.
1999-06-18 21:49:18 +00:00
Roger Hardiman
d56282d89f
Add bktr_load for the loadable Bt848/Bt878 driver.
1999-06-13 15:45:49 +00:00
KATO Takenori
621ba6f2bb
Sync with sys/boot/i386/libi386/bootinfo.c revision 1.19.
1999-06-06 12:46:40 +00:00
Guy Helmer
3d8993c197
Modify the boot loader to recognize the -C flag and pass the RB_CDROM
...
flag to the kernel to mount a CDROM as the root filesystem. Alternatively,
the boot_cdrom env var can be set.
As Mike Smith noted, "-C is the "wrong" way to do this", but this is
an acceptable stopgap in lieu of a better way.
PR: bin/11884
Reviewed by: msmith@freebsd.org
1999-06-04 03:18:28 +00:00
Doug Rabson
75aeebed71
Typo: "can't boot 'boot'" should be "can't boot 'kernel'"
1999-05-30 10:45:03 +00:00
Brian Somers
8a768b4324
Always output a linefeed when we've decided whether to boot
...
or display a loader prompt; either we've said
"Booting [%s]..." or we've received a non-line-feed character
and need a '\n' anyway.
1999-05-28 08:01:52 +00:00
Robert Nordier
c9091105f3
Activate mbr.
1999-05-24 22:44:32 +00:00
Robert Nordier
9292eec80d
Add mbr: a standard master boot record intended to replace a couple
...
that are presently embedded in the fdisk and sysinstall code.
1999-05-24 22:36:24 +00:00
Robert Nordier
32ea10b4fc
Fix a reference to the mysterious Mike Smisth.
1999-05-22 13:18:28 +00:00
KATO Takenori
c9929b08f7
Sync with sys/boot/i386/btx/Makefile revision 1.5.
1999-05-20 08:00:08 +00:00
Robert Nordier
e2c9098e4f
Drop some non-existent commented-out targets.
1999-05-18 22:10:05 +00:00
Daniel C. Sobral
c4b16f49fc
Add "initialize" to loader.4th, so running "start" is not actually needed.
1999-05-14 18:59:27 +00:00
Daniel C. Sobral
b097076e25
Add fxp on a category of it's own.
1999-05-14 10:20:54 +00:00
Daniel C. Sobral
372dd86a44
Remove atapi and joy, add svr4 and streams. I wonder if removing vinum
...
is in order or not... (things are _not_ loaded by default, but it serves
as a reference to people tweaking their own loader.conf files)
1999-05-14 10:14:50 +00:00
Daniel C. Sobral
5109966e43
Add ntfs and splash_pcx, remove pcic and wcd (yikes! what was THAT
...
doing here?).
Candidate for 3.2.
1999-05-14 10:03:58 +00:00
Brian Somers
897e65b9ff
Better English.
1999-05-13 14:53:13 +00:00
John Birrell
957055c6a9
Found the needle in the haystack!
...
Use colons instead of semi-colons in the default init_path to behave like
UNIX instead of DOS.
Suggested by: bde
Reminded by: des (with no hint as to *which* man page).
1999-05-11 11:20:13 +00:00
Doug Rabson
84b399de51
Changes to support diskless booting on the alpha:
...
* Make the network code in the bootstrap more chatty (helps debugging)
* Add nfs root stuff to cpu_rootconf(). I also added a check to make sure
it really was netbooting which allows the use of the same kernel for local
and network boots.
* Tweak the de driver so that it takes the speed setting from the console
for the alpha (some PWSs have broken de chipsets). This is the same
behaviour as NetBSD/alpha.
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
1999-05-03 09:36:29 +00:00
Joseph Koshy
e539c67bbb
Correct typos.
...
PR: docs/11445
Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>
1999-05-03 08:32:45 +00:00
Joseph Koshy
5d48be470c
Correct misuse of .Nm.
...
PR: docs/11449
Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>
1999-05-03 07:25:50 +00:00
Daniel C. Sobral
4093b9aa2e
Make man page reflect reality on parsing rules. Now I know Jordan
...
never read this man page... :-)
1999-04-25 21:41:09 +00:00
KATO Takenori
e3583fafb4
Sync with sys/boot/i386/loader/Makefile revision 1.34.
1999-04-25 03:56:44 +00:00
Daniel C. Sobral
fdbad643d5
Minor nit. It is probably still incorrect, but at least don't
...
claim to use i386-specific files on alpha...
1999-04-24 18:05:45 +00:00
Daniel C. Sobral
cf69fad236
Move loader.conf.5, while it is still in it's first revision.
1999-04-24 17:49:47 +00:00
Daniel C. Sobral
2de24e689e
Add loader.4th man page (worst man page I ever wrote -- reviews
...
are welcomed). Correct a nasty bug in loader.4th before anyone
notices, add a couple of features.
1999-04-24 17:25:35 +00:00
KATO Takenori
5d6d02b1e2
Optimize better for space.
...
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1999-04-24 04:29:13 +00:00
John Polstra
607c815bef
Update #include statements to reflect the new location of "sioreg.h".
...
With these changes plus the egcs fix I committed a few minutes ago,
"make -DWANT_AOUT world" works again. Most likely, "make upgrade"
is fixed too, though I haven't tested that.
1999-04-22 21:02:44 +00:00
Dag-Erling Smørgrav
5f967b24fc
Make the location of init(8) tunable at boot time.
1999-04-20 21:15:13 +00:00
Joerg Wunsch
346f1ca8fc
Don't clobber the "prompt" variable if it has already been set (e. g.
...
from within loader.conf).
Reviewed by: dcs
1999-04-20 12:07:03 +00:00
KATO Takenori
aad1d9f29a
Sync with sys/boot/i386/loader/Makefile revision 1.32.
1999-04-19 11:02:19 +00:00
Daniel C. Sobral
5d9a0e5b26
Installs a default loader.rc if none exists. Document loader.conf.
1999-04-18 09:21:12 +00:00
Daniel C. Sobral
f6c2a57dee
A default loader.rc to be installed.
1999-04-18 09:20:08 +00:00
Peter Wemm
6182fdbda8
Bring the 'new-bus' to the i386. This extensively changes the way the
...
i386 platform boots, it is no longer ISA-centric, and is fully dynamic.
Most old drivers compile and run without modification via 'compatability
shims' to enable a smoother transition. eisa, isapnp and pccard* are
not yet using the new resource manager. Once fully converted, all drivers
will be loadable, including PCI and ISA.
(Some other changes appear to have snuck in, including a port of Soren's
ATA driver to the Alpha. Soren, back this out if you need to.)
This is a checkpoint of work-in-progress, but is quite functional.
The bulk of the work was done over the last few years by Doug Rabson and
Garrett Wollman.
Approved by: core
1999-04-16 21:22:55 +00:00
Daniel C. Sobral
459b9f6fce
Reactivate trace! after making it egcs-friendly.
1999-04-06 02:43:06 +00:00
Robert Nordier
0e5731f9f4
Fix damage introduced in previous commit.
1999-04-05 07:36:30 +00:00
Robert Nordier
bf0eae60c5
Optimize better for space.
...
Thanks to: jdp
1999-04-05 07:24:51 +00:00
David E. O'Brien
df5ee53868
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
KATO Takenori
95e56ffcb0
Use files under sys/boot/i386 instead of copying under sys/boot/pc98.
...
Submitted by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
1999-04-02 08:59:11 +00:00
Joerg Wunsch
9859e703f6
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
Daniel C. Sobral
22004b5952
Revert bootinfo to 1.4 and use a different solution to NULL m_args
...
instead (don't copy).
1999-03-20 14:13:09 +00:00
Daniel C. Sobral
f6eaf40e07
Fix a couple of nasty errors in the README.
1999-03-20 12:25:43 +00:00
KATO Takenori
a3eb4bf80c
Sync with sys/boot/i386/loader/version revision 1.4.
1999-03-19 15:59:56 +00:00
KATO Takenori
6fafdac65b
Sync with sys/boot/i386/libi386/bootinfo.c revision 1.18.
1999-03-19 15:58:05 +00:00
Daniel C. Sobral
76bd51f729
Avoid copying m_args if none exists. (Perhaps this is a better solution,
...
Doug?)
1999-03-18 14:36:22 +00:00
KATO Takenori
c0318acd20
Install the manual page in sys/boot/i386/loader.
...
Sumbmitted by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
1999-03-18 13:42:21 +00:00
Doug Rabson
28add8fe61
Don't choke in MOD_ARGS() if mp->m_args is NULL.
1999-03-18 11:00:48 +00:00
Chuck Robey
84b4a89764
This is a temporary README file, to help those trying to experiment
...
with the new boot loader configuration process. I got a lot of
help from Daniel Sobral, and both Dan and I got help from Mike
Smith. This really belongs in Warner's UPDATING, but he's not
been answering his email recently, so that will wait a little.
Robert Nordier also gave me a lot of help, but he hasn't seen the
last version, and can't be blamed for my errors.
Approved by: jkh
Reviewed by: Mike Smith
1999-03-17 23:44:19 +00:00
Daniel C. Sobral
276dcca185
Version bump: kvm & dictionary size.
1999-03-17 23:05:46 +00:00
Daniel C. Sobral
a1134d7659
Disable trace! until it gets fixed.
1999-03-17 23:03:36 +00:00
Daniel C. Sobral
306a07af57
The man page, version 0.1.
1999-03-15 08:52:23 +00:00
Daniel C. Sobral
3e626fb3c1
Remove redundant code.
1999-03-15 08:08:20 +00:00
Daniel C. Sobral
d9d2e726c0
Replace /kernel.config with /boot/kernel.conf.
1999-03-14 21:57:49 +00:00
Mike Smith
8a252a3737
Fix syntax for boot command
...
Noticed by: Ruslan Ermilov <ru@ucb.crimea.ua>
1999-03-14 19:55:01 +00:00
KATO Takenori
29ebfa3ecc
Sync with sys/boot/i386/loader/Makefile revision 1.30.
1999-03-10 13:41:44 +00:00
KATO Takenori
12637fce17
Sync with sys/boot/i386/libi386/bootinfo.c revision 1.17.
1999-03-10 13:40:29 +00:00
Daniel C. Sobral
f847f7558c
Install new loader.rc stuff.
1999-03-10 03:34:14 +00:00
Daniel C. Sobral
7caa817b0e
New loader.rc stuff.
...
Reviewed by: jkh
1999-03-09 14:06:55 +00:00
Daniel C. Sobral
445a035707
Add MODINFO_ARGS, parameters passed to a module at load time.
...
VS: ----------------------------------------------------------------------
1999-03-08 11:05:52 +00:00
Daniel C. Sobral
1d2a3d5731
Increase ficl's dictionary size, in preparation for the newer loader.rc.
1999-03-08 11:00:02 +00:00
Daniel C. Sobral
08c9325cb2
Fix a number of memory leaks and other memory-related disorders.
...
Also, unbreak the breakage introduced at the last revision of module.c.
This changes the semantics of mod_searchfile() (and mod_searchmodule())
to make the caller's responsibility freeing the buffer returned. This
is different from other functions in loader's code, and was done as a
fix for kern/9631. If someone wants to revert this to the original
behavior, don't forget to fix kern/9631 in another way.
This should also fix bin/10462, which was introduced as a result of the
first try at kern/9631 (module.c last revision).
PR: bin/10462
Submitted by: Takanori Saneto <sanewo@ba2.so-net.ne.jp>
1999-03-08 10:32:39 +00:00
KATO Takenori
94709d1d93
Make loader be able to load 1.2MB fd on machines w/ 1.44MB fdd.
...
Sumbmitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
1999-03-04 16:38:12 +00:00
KATO Takenori
86d0f76681
Added an entry for 1.44MB fd.
...
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
1999-03-04 16:34:52 +00:00
KATO Takenori
b4531f58da
Oops, forgot to read boot.config file.
...
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
1999-03-04 16:31:55 +00:00
KATO Takenori
72578dfa5a
When SCSI IDs are not contiguous, the loader could not find correct
...
unit number for da device. This commit fixes this problem.
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
1999-03-04 10:48:14 +00:00
KATO Takenori
4a1bb98b26
boot2 doesn't need to say 'Can't find file boot.config.'
...
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
1999-03-04 10:45:06 +00:00
KATO Takenori
eae8225c4c
Fix character code of backslash. PC98 should use 0xfc instead of 0x5c.
...
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
1999-03-04 10:44:01 +00:00
Daniel C. Sobral
c7bf325ce2
Don't treat empty lines as end-of-file in include(). (I can't
...
believe this bug is still here... :-( )
1999-03-02 16:16:57 +00:00
KATO Takenori
729b255473
Sync with sys/boot/i386/btx/btx/btx.s revision 1.10.
1999-03-01 10:02:45 +00:00
Robert Nordier
a3c69bbcf8
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
Daniel C. Sobral
52f42bab71
Make $ print different lines in, well, different lines.
1999-02-28 02:10:14 +00:00
Robert Nordier
5052aa25a1
Implement "setdrv" option
1999-02-26 14:51:14 +00:00
Robert Nordier
401d37631a
Emulate a V86 "movl %cr0,%eax" instruction.
...
Feedback and testing: Kurt Hopfensperger <kjhmdjd@ix.netcom.com>
1999-02-25 16:27:41 +00:00
KATO Takenori
5c3d6cdb69
Sync with sys/boot/i386/loader/Makefile revision 1.29.
1999-02-25 11:01:54 +00:00
Mike Smith
bf18286593
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
Daniel C. Sobral
85f0ea7590
Fix assorted memory leak/buffer reuse problems.
...
Not restricted to, but including:
PR: kern/9631
Submitted by: Bill Fenner <fenner@parc.xerox.com>
1999-02-22 13:12:37 +00:00
Tor Egge
3d8befc22d
Enable load of i386 ELF kernels with larger KVA range (e.g. starting at
...
0xe0100000u or 0xc0100000u instead of the usual 0xf0100000u).
1999-02-15 17:36:58 +00:00
Jordan K. Hubbard
73899d2e48
Remove dictHashSummary internal function; it used doubles.
...
Submitted by: Daniel C. Sobral <dcs@newsguy.com>
1999-02-09 16:04:19 +00:00
KATO Takenori
d4df79101c
Sync with sys/boot/i386/loader/version revision 1.3.
1999-02-08 09:59:38 +00:00