Robert Nordier
1165e4c9a4
Fix column alignment (whitespace-only change).
2000-12-19 00:17:36 +00:00
KATO Takenori
db53335483
Merged from sys/boot/i386/loader/Makefile revision 1.49.
2000-12-16 03:15:48 +00:00
Ruslan Ermilov
c5f49c2585
mdoc(7) police: removed duplicate .Os call.
2000-12-14 12:48:07 +00:00
Robert Nordier
81578f4a33
Strip the .comment and .note sections when stripping. There's no
...
point in retaining this info, particularly under BTX.
2000-12-13 17:10:38 +00:00
Robert Nordier
1ec5afb81e
Add a magic number, for easier identification of boot0. At present,
...
this is used only by libdisk.
2000-12-12 17:27:35 +00:00
Marcel Moolenaar
d5b14b2a37
Add "empty" makefile. Cross-building fails without it.
2000-12-08 04:08:09 +00:00
Andrey A. Chernov
fea0a15961
Cosmetique: don't use localized date
2000-12-01 01:58:48 +00:00
John Baldwin
0a7f15c202
Set the proper bit in the howto flags for a serial console rather than
...
setting the index of the bit. (0xc vs. 0x1000)
2000-11-30 18:33:59 +00:00
Paul Saab
43ab35c8c7
Add support for probing the keyboard from pxeboot which will behave
...
exactly the same as passing -P to boot2.
Submitted by: jhb
2000-11-30 14:55:10 +00:00
David E. O'Brien
4a93f235c1
`cdboot' is broken as it cannot load a kernel.
...
The release engineer keeps using the wrong /boot/cdboot when creating the
ISO images. So we'll add the 4.0-RELEASE cdboot to the tree until someone
bothers to fix the source so a working `cdboot' is built.
2000-11-27 02:15:13 +00:00
Ruslan Ermilov
f4d874a1db
mdoc(7) police: do not split author names in the AUTHORS section.
2000-11-22 09:35:58 +00:00
Ruslan Ermilov
d5874785b9
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 17:05:46 +00:00
Ruslan Ermilov
251c176f41
mdoc(7) police: use certified section headers wherever possible.
2000-11-17 11:44:16 +00:00
Mike Smith
1d6dc22916
The default kernel filename is "kernel" again, not "kernel.ko".
...
Submitted by: mckusick
2000-11-17 04:43:56 +00:00
Ben Smithurst
c6662b8e3d
remove period from SEE ALSO.
2000-11-15 17:02:54 +00:00
David E. O'Brien
f9c70d7647
Don't use the Gawkism strftime(). Pass in the date stamp on the awk
...
command line instead.
Approved by: dcs
2000-11-14 21:02:49 +00:00
Ruslan Ermilov
b5c508fba3
Use Fx macro wherever possible.
2000-11-14 11:20:58 +00:00
Matt Jacob
492ecc5fbd
init booted_kernel from environment kernelname (if there)
2000-11-14 08:11:03 +00:00
Matt Jacob
178e6e0fed
move init of booted_kernel to bootinfo.c
2000-11-14 08:10:15 +00:00
Benno Rice
4cc1860f9b
OpenFirmware/PowerPC loader, part 2.
...
As of this patchset, the loader builds (under NetBSD/macppc), boots, interacts
and talks to BOOTP/NFS servers.
(main.c was moved from boot/ofw/libofw to boot/ofw/common but has no revision
history)
Reviewed by: obrien
2000-11-10 06:39:58 +00:00
Benno Rice
f1fb6c2132
Give the network device a print method.
...
Reviewed by: obrien
2000-11-10 06:37:43 +00:00
Benno Rice
5b98b64392
OpenFirmware/PowerPC loader, part 2.
...
This brings the loader up to the point where I can compile it under
NetBSD/macppc and have it boot, interact and talk to NFS servers.
sys/boot/ofw/libofw/main.c has been deleted (it has no revision history) and
replaced with sys/boot/ofw/common/main.c
Reviewed by: obrien
2000-11-10 06:29:42 +00:00
Paul Saab
3d122d8e2c
Honor the ip address given in the root-path dhcp option.
...
PR: 21743
Submitted by: Brian Candler <B.Candler@pobox.com>
2000-11-05 14:55:09 +00:00
Yoshihiro Takahashi
64ee4b5b08
Merged from the following changes.
...
sys/boot/i386/btx/btx/Makefile 1.9
sys/boot/i386/btx/btx/btx.s 1.23
sys/boot/i386/libi386/biosdisk.c 1.32 and 1.33
sys/boot/i386/libi386/biosmem.c 1.5
sys/boot/i386/libi386/comconsole.c 1.8
sys/boot/i386/libi386/gatea20.c 1.3
sys/boot/i386/libi386/time.c 1.4
sys/boot/i386/libi386/vidconsole.c 1.13
sys/boot/i386/loader/Makefile 1.48
sys/boot/i386/loader/main.c 1.22
2000-11-05 12:35:41 +00:00
Robert Nordier
9e3377b8b3
Support a.out: avoid (%dx) in in/out instructions, and use an m4
...
macro to supply underscores for externals.
2000-11-04 13:03:52 +00:00
Paul Saab
9193b12844
MF4: Add LOADER_TFTP_SUPPORT make.conf flag.
2000-11-04 08:43:13 +00:00
John Baldwin
f251e6cfa1
The Number of Fixed Disks at memory location 0x475 is only 1 byte, not a
...
2 byte word. This fixes machines that probe 30-odd hard drives during boot
in the loader.
Submitted by: Helpful folks at Tyan via ps
2000-11-02 23:28:12 +00:00
Matthew Hunt
26b5d23688
"it's" --> "its" (possessive).
...
Correct a malformed sentence.
2000-11-01 00:36:12 +00:00
Nick Hibma
25c8418620
Add entry for umodem
2000-10-30 10:55:03 +00:00
Doug Rabson
445516e4e0
Backout revision 1.7 which was a bad idea since it would force people
...
to reinstall boot1 after a 'make world'.
Unfortunately this means that people who have already installed a new
boot1 from a 'make world' after 2000/09/18 *must* reinstall it after
their next build using something like:
# disklabel -B /dev/da0c
2000-10-27 09:36:34 +00:00
David E. O'Brien
bc6049dd46
Install the loader manpages.
2000-10-26 21:47:59 +00:00
Doug Rabson
d2041924cd
Move the call to extend_heap() from main to start so that if our BSS
...
expands beyond the limit we will extend the address space before trying
to zero the BSS. This should give us plenty of headroom for modest
expansion of the loader.
2000-10-25 23:36:01 +00:00
Doug Rabson
75cdadceb4
Don't build start.S as part of libalpha.a - its built specially.
2000-10-25 23:30:04 +00:00
Doug Rabson
bcdb85b6b8
Don't indirect through a null pointer if we run out of kernel filenames.
2000-10-25 23:28:19 +00:00
Doug Rabson
a3fc4e0754
Make a few functions inline to save space.
2000-10-25 23:24:43 +00:00
Nick Hibma
2fd84f56d5
The USB scanner driver. To be used together with SANE.
2000-10-25 10:34:38 +00:00
David E. O'Brien
c2606cffec
Convert from the Alpha compontents to PowerPC ones.
2000-10-16 19:58:32 +00:00
David E. O'Brien
146a7d5318
"Ok, my loader's now up to putting up a prompt. It probes disks partially
...
but can't boot from them yet."
Thanks to Stephane Potvin for the some of the code in this set.
Submitted by: Benno Rice <benno@jeamland.net>
2000-10-16 10:46:22 +00:00
Yoshihiro Takahashi
54bb2a24af
Merged from sys/boot/i386/loader/main.c revision 1.21.
2000-10-15 02:56:48 +00:00
Daniel C. Sobral
3851401454
Now I see the error of my ways.
...
Previous revision of this file changed the "boot" commands to take
no arguments from the stack. This is only valid in the case where
a kernel has not been loaded. In that case, load_kernel_and_modules
will be called, which takes a list of arguments from the stack.
When a kernel is presently loaded, though, the list of arguments must
be passed to the boot command, which was the behaviour before the last
revision.
Fix things for both cases.
Noticed by: S-Max and others on that chat room
2000-10-09 11:29:40 +00:00
Robert Nordier
8c964b9bca
Go back to occupying just a single sector, reverting r1.17 - r1.20.
...
Taking over the sector following the MBR causes problems on some
machines, and the actual gains are fairly small in terms of how
the space is presently used.
Since we need a number of further features (eg. handling extended
partitions) that can't be readily accommodated in the basic boot0
design anyway, rather choose to implement the additional stuff
separately and concentrate on compatibility rather than features
here.
2000-10-02 17:30:22 +00:00
Robert Nordier
ce6a6a0f90
Set MAINTAINER.
2000-10-02 17:23:16 +00:00
Daniel C. Sobral
530df9baad
Get rid of garbage left on the stack.
2000-09-25 11:36:55 +00:00
Daniel C. Sobral
a360c980c2
What could possibly have possessed me to forget the "0 (arguments)"
...
in two of the three boot words in the "boot" redefinition, I have no
clue. Fix it.
Noticed by: bp
Noticed by: adrian
2000-09-25 11:18:02 +00:00
KATO Takenori
6473734288
Merged from sys/boot/i386/loader/main.c revision 1.23.
2000-09-22 12:51:22 +00:00
KATO Takenori
87eae000dd
Merged from sys/boot/i386/libi386/Makefile revision 1.19.
2000-09-22 12:49:15 +00:00
Archie Cobbs
474afc4230
Add support for the "nullconsole" console type, for systems with
...
neither a video console nor a serial port. Use it if the RB_MUTE
flag is set.
Submitted by: Doug Ambrisko <ambrisko@whistle.com>
Reviewed by: jhb
2000-09-20 18:13:36 +00:00
Daniel C. Sobral
504119265e
Check for the correct minimum version required by the current code.
...
I hope I got this right... :-)
2000-09-18 22:42:54 +00:00
Matt Jacob
81372ff0ed
Steal 512KB more from system memory for heap instead of 256KB. We died
...
without the extra space. What a pity.
2000-09-18 08:19:04 +00:00
Matt Jacob
8c8c7c234b
Run SECONDARY_LOAD_ADDRESS down to 0x2000a000- this still leaves
...
(barely) enough room for boot1 and gives us 8KB more to play with
in the loader.
2000-09-18 08:17:57 +00:00