summaryrefslogtreecommitdiffstats
path: root/sys/boot
Commit message (Collapse)AuthorAgeFilesLines
* mdoc(7) police: use certified section headers wherever possible.ru2000-11-171-1/+1
|
* The default kernel filename is "kernel" again, not "kernel.ko".msmith2000-11-171-1/+1
| | | | Submitted by: mckusick
* remove period from SEE ALSO.ben2000-11-151-1/+1
|
* Don't use the Gawkism strftime(). Pass in the date stamp on the awkobrien2000-11-142-2/+3
| | | | | | command line instead. Approved by: dcs
* Use Fx macro wherever possible.ru2000-11-141-1/+3
|
* init booted_kernel from environment kernelname (if there)mjacob2000-11-141-0/+6
|
* move init of booted_kernel to bootinfo.cmjacob2000-11-141-4/+2
|
* OpenFirmware/PowerPC loader, part 2.benno2000-11-1018-226/+693
| | | | | | | | | | 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
* Give the network device a print method.benno2000-11-101-1/+9
| | | | Reviewed by: obrien
* OpenFirmware/PowerPC loader, part 2.benno2000-11-101-0/+5
| | | | | | | | | | 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
* Honor the ip address given in the root-path dhcp option.ps2000-11-051-4/+6
| | | | | PR: 21743 Submitted by: Brian Candler <B.Candler@pobox.com>
* Merged from the following changes.nyan2000-11-0511-125/+179
| | | | | | | | | | | | | 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
* Support a.out: avoid (%dx) in in/out instructions, and use an m4rnordier2000-11-045-11/+34
| | | | macro to supply underscores for externals.
* MF4: Add LOADER_TFTP_SUPPORT make.conf flag.ps2000-11-041-1/+4
|
* The Number of Fixed Disks at memory location 0x475 is only 1 byte, not ajhb2000-11-021-1/+1
| | | | | | | 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
* "it's" --> "its" (possessive).mph2000-11-011-2/+2
| | | | Correct a malformed sentence.
* Add entry for umodemn_hibma2000-10-301-0/+1
|
* Backout revision 1.7 which was a bad idea since it would force peopledfr2000-10-271-1/+1
| | | | | | | | | | 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
* Install the loader manpages.obrien2000-10-261-1/+0
|
* Move the call to extend_heap() from main to start so that if our BSSdfr2000-10-252-3/+6
| | | | | | 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.
* Don't build start.S as part of libalpha.a - its built specially.dfr2000-10-251-1/+1
|
* Don't indirect through a null pointer if we run out of kernel filenames.dfr2000-10-251-1/+1
|
* Make a few functions inline to save space.dfr2000-10-251-3/+3
|
* The USB scanner driver. To be used together with SANE.n_hibma2000-10-251-0/+1
|
* Convert from the Alpha compontents to PowerPC ones.obrien2000-10-166-202/+119
|
* "Ok, my loader's now up to putting up a prompt. It probes disks partiallyobrien2000-10-1618-0/+1866
| | | | | | | | 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>
* Merged from sys/boot/i386/loader/main.c revision 1.21.nyan2000-10-151-10/+0
|
* Now I see the error of my ways.dcs2000-10-091-6/+8
| | | | | | | | | | | | | | | 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
* Go back to occupying just a single sector, reverting r1.17 - r1.20.rnordier2000-10-022-166/+82
| | | | | | | | | | | | 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.
* Set MAINTAINER.rnordier2000-10-028-0/+16
|
* Get rid of garbage left on the stack.dcs2000-09-251-2/+1
|
* What could possibly have possessed me to forget the "0 (arguments)"dcs2000-09-251-2/+2
| | | | | | | | in two of the three boot words in the "boot" redefinition, I have no clue. Fix it. Noticed by: bp Noticed by: adrian
* Merged from sys/boot/i386/loader/main.c revision 1.23.kato2000-09-221-0/+2
|
* Merged from sys/boot/i386/libi386/Makefile revision 1.19.kato2000-09-221-1/+3
|
* Add support for the "nullconsole" console type, for systems witharchie2000-09-207-1/+109
| | | | | | | | 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
* Check for the correct minimum version required by the current code.dcs2000-09-181-4/+4
| | | | I hope I got this right... :-)
* Steal 512KB more from system memory for heap instead of 256KB. We diedmjacob2000-09-181-9/+11
| | | | without the extra space. What a pity.
* Run SECONDARY_LOAD_ADDRESS down to 0x2000a000- this still leavesmjacob2000-09-181-1/+1
| | | | | (barely) enough room for boot1 and gives us 8KB more to play with in the loader.
* Make the stack 12K- we seem to need a bit more.mjacob2000-09-181-3/+3
| | | | | Rename 'stack' to 'stackbase' as this variable more correctly denotes what it is.
* Use _ instead or - where proper, according to the style I have beendcs2000-09-162-17/+35
| | | | | | using. Overload "?" so it will also show loader.4th commands.
* Solve a name clash.dcs2000-09-162-6/+12
| | | | Add something to help debugging.
* The default search path for kernel and modules was bogus. It makes nodcs2000-09-161-1/+1
| | | | sense for /boot/kernel to come last.
* The module_path set by default was bogus. It had /boot/kernel last,dcs2000-09-161-3/+3
| | | | which makes little sense.
* Both boot and boot-conf were using a different algorithm from the onedcs2000-09-162-32/+38
| | | | | | | | | | | | | used by start to find the kernel. Fix this. Also, boot would proceed immediately in the absence of a path as argument. Check first if a kernel has already been loaded, and, if not, fall back to load kernel&modules behavior. Some further factorizing. I deem this code to be mostly readable by now! :-) Many thanks to: Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
* Factorize, reorganize, and move code around.dcs2000-09-152-116/+152
| | | | | | | | | | | | | | | | | | | | | | | The boot-conf and boot code had various bugs, and some of it was big, ugly, unwieldy, and, sometimes, plain incorrect. I'm just about completely replaced these ugly parts with something much more manageable. Minor changes were made to the well-factorized parts of it, to accomodate the new code. Of note: * make sure boot-conf has the exact same behavior wrt boot order as start. * Correct both boot and boot-conf so they'll work correctly when compiled in, as they both had some bugs, minor and major. * Remove all the crud from loader.4th back into support.4th, for the first time since boot-conf was first improved. Hurray! I'm fairly satisfied with the code at this time. Time to see about those man pages...
* Start countdown only _after_ the kernel was loaded. Not very fair otherwise.dcs2000-09-151-4/+4
|
* New world order wrt to kernel location and name. This doesn't actuallydcs2000-09-121-2/+2
| | | | | changes anything (in theory), just better document it. I'm waiting for the final word before I tackle the man pages.
* Back out bktr_mem_load. It is not needed because I'm use MODULE_DEPENDroger2000-09-121-1/+0
| | | | | elsewhere. Reminded by: Mike Smith
* Add bktr_mem_loader, default to NO.roger2000-09-111-0/+1
| | | | In the near future the bktr module will need the bktr_mem module too.
* Fix this so that we actually define HAVE_PNP when its available.dfr2000-09-101-2/+2
|
OpenPOWER on IntegriCloud