summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/loader
Commit message (Collapse)AuthorAgeFilesLines
* Add support for loading bzip2-compressed kernels and modules. This supportsobomax2001-09-182-0/+12
| | | | | | | | | | | | | | is turned off by default and could be enabled by defining LOADER_BZIP2_SUPPORT make variable. Also make gzip support optional (turned on by default) - it could be turned off via LOADER_NO_GZIP_SUPPORT make variable. Please note, that due to limit on the amount of memory available to the loader(8), it is possible to load modules/kernels compressed with the smallest block size supported by the bzip2 - 100k (`-1' bzip2(1) option), however even in this mode bzip2(1) usually provides better compression ratio than gzip(1) in its best compression mode. MFC after: 1 month
* Create backup copies using install(1).ru2001-09-121-3/+1
|
* Mention that the ACPI module load can be disabled by unsetting $acpi_loadmsmith2001-08-301-0/+14
|
* Teach the loader how to find the system ACPI information, and autoloadmsmith2001-08-301-0/+3
| | | | | | | the ACPI module if the system apperars to be ACPI compliant. This is an initial cut; the load should really be done by Forth support code, and we should check both the BIOS build date and a blacklist.
* OK, now I am scared of pxeldr. It had /boot/loader appended ontopeter2001-08-221-1/+1
| | | | | | the end of it and decoded the headers. Submitted by: jhb
* Generate an ELF /boot/loader instead of fake a.out. The fake a.out wrapperpeter2001-08-221-1/+1
| | | | did not work with old a.out-only bootblocks anyway. :-(
* Remove -DNEW_LINKERSET, it is not used here anymore. This is now native.peter2001-06-211-3/+0
|
* Strip the .comment and .note sections when stripping. There's nornordier2000-12-131-1/+1
| | | | point in retaining this info, particularly under BTX.
* MF4: Add LOADER_TFTP_SUPPORT make.conf flag.ps2000-11-041-1/+4
|
* Add support for the "nullconsole" console type, for systems witharchie2000-09-202-0/+4
| | | | | | | | 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
* Bump up version as a result of the recent changes to kernel path,dcs2000-09-101-0/+1
| | | | | | | | and boot-conf&boot semantic changes. Also, make it 1.0. Reminded by: peter (even though he doesn't know it)
* Look for libstand in the built tree rather than in /usr/lib. Thisimp2000-09-081-1/+7
| | | | | | | likely could be done better, but the tree is broken and I wanted to get a fix into the tree. Reviewed by: msmith
* Cleanup warnings. Most of these are signed/unsigned warnings, as well asjhb2000-08-031-21/+28
| | | | some added const's.
* Bump loader version due to copyin, copyout, setenv&cia.dcs2000-06-071-0/+1
|
* This file got repo-copied to common/.dcs2000-05-191-756/+0
|
* Move man page directives to common/Makefile.inc.dcs2000-05-191-2/+0
|
* Make corrections to allow for Alpha.dcs2000-05-181-4/+4
|
* Remove the static heap. It is unknown why it was needed in theps2000-05-051-10/+0
| | | | | beginning, but it no longer is required. This has been tested with many different revisions of the PXE rom from Intel.
* Make documentation on recently added heap? command reflect reality.dcs2000-05-041-2/+2
|
* Add "heap?" to loader's man page.dcs2000-05-041-0/+3
|
* Further improve ordering.dcs2000-05-041-4/+4
|
* Sort entries in FreeBSD-specific FICL commands.dcs2000-05-041-14/+14
|
* Update loader logic to distinguish modules vs. files.bp2000-05-011-3/+3
| | | | | | | Add support for module metadata. The old way of dependancy handling will be supported for a while. Reviewed by: peter
* Teach the loader about the ext2fs filesystem, extended partitions, andjlemon2000-04-291-0/+1
| | | | the new readdir function.
* Now that we are compiling PXE into libi386, we don't need ../libi386 injhb2000-04-261-1/+0
| | | | .PATH anymore.
* Move the building of the PXE module into libi386.ps2000-04-211-2/+2
|
* Add a cleanup function. This is needed for PXE where you shouldps2000-04-201-0/+5
| | | | shutdown the UNDI and unload the stack.
* Make PXE use the UDP API. This allows for both TFTP and NFS support.ps2000-04-083-4/+29
| | | | | | | | You may specify TFTP or NFS via compile time options in the loader, but not both at this time. Also, remove a warning about not knowing how to boot from network devices. We can obviously do that now.
* Mega i386 loader commit.jhb2000-03-283-30/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Don't hard code 0x10000 as the entry point for the loader. Instead add src/sys/boot/i386/Makefile.inc which defines a make variable with the entry point for the loader. Move the loader's entry point up to 0x20000, which makes PXE happy. - Don't try to use cpp to parse btxldr for the optional BTXLDR_VERBOSE, instead use m4 to achieve this. Also, add a BTXLDR_VERBOSE knob in the btxldr Makefile to turn this option on. - Redo parts of cdldr's Makefile so that it now builds and installs cdboot instead of having i386/loader/Makefile do that. Also, add in some more variables to make the pxeldr Makefile almost identical and thus to ease maintainability. - Teach cdldr about the a.out format. Cdldr now parsers the a.out header of the loader binary and relocates it based on that. The entry point of the loader no longer has to be hardcoded into cdldr. Also, the boot info table from mkisofs is no longer required to get a useful cdboot. - Update the lsdev function for BIOS disks to parse other file systems (such as DOS FAT) that we currently support. This is still buggy as it assumes that a floppy with a DOS boot sector actually has a MBR and parses it as such. I'll be fixing this in the future. - The biggie: Add in support for booting off of PXE-enabled network adapters. Currently, we use the TFTP API provided by the PXE BIOS. Eventually we will switch to using the low-level NIC driver thus allowing both TFTP and NFS to be used, but for now it's just TFTP. Submitted by: ps, alfred Testing by: Benno Rice <benno@netizen.com.au>
* Add a NOFORTH variable so we can build a smaller loader withoutluigi2000-02-041-0/+2
| | | | | | Forth support, for use with PicoBSD Approved-By: jordan
* Fix bogon in previous commit. Re-enable Forth in the loader.jhb2000-01-301-2/+2
| | | | | Noticed by: dcs Approved by: jkh
* Allow for cdldr to be built in ${.OBJDIR}/../cdldr/cdldr instead ofjhb2000-01-281-3/+9
| | | | only looking for it in ${.CURDIR}/../cdldr/cdldr. This fixes world.
* Add the new cdldr CD bootstrap loader. This patch includes the following:jhb2000-01-272-3/+16
| | | | | | | | | | | | | | | | - Fix btxldr to preserve a NULL bootinfo pointer when it copies the kernel arguments. - Add the cdldr bootstrap program. This program is tacked onto the beginning of the standard 3rd stage boot loader (/boot/loader) to form the CD boot loader (/boot/cdboot). When a CD is booted, the cdboot file is copied into memory instead and executed. The cdldr stub emulates the environment normally provided by boot2 and then starts the loader. This booting method does not emulate a floppy drive, but boots directly off of the CD. This should fix the problems some BIOS's have with emulating a 2.88 MB floppy image. - Add support to the loader to recognize that it has been booted by cdldr instead of boot2 and use a simpler method of extracting the BIOS boot device.
* Substantially revamp the way that we determine the amount of memory availablemsmith1999-12-291-4/+4
| | | | | | | | | | | | | | | for our use. Use the same search order for BIOS memory size functions as the kernel will later use. Allow the loader to use all of the detected physical memory (this will greatly help people trying to load enormous memory disk images). More correctly handle running out of memory when loading an object. Use the end of base memory for the top of the heap, rather than blindly hoping that there is 384k left. Add copyrights to a couple of files I forgot.
* Add machine-specific include path to ficl's sysdep.h. Wishes I haddcs1999-11-231-1/+1
| | | | | | gone to bed earlier. Pointed by: peter
* $Id$ -> $FreeBSD$peter1999-08-285-5/+5
|
* Fix some typos.nik1999-07-281-7/+7
| | | | | PR: docs/11955 Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
* Reconcile all the loader newvers.sh's into one common one.peter1999-06-292-50/+4
|
* -mdoc fix.ru1999-06-231-2/+2
|
* Fix a reference to the mysterious Mike Smisth.rnordier1999-05-221-2/+2
|
* Found the needle in the haystack!jb1999-05-111-2/+2
| | | | | | | | 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).
* Correct typos.jkoshy1999-05-031-5/+6
| | | | | PR: docs/11445 Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>
* Make man page reflect reality on parsing rules. Now I know Jordandcs1999-04-251-3/+4
| | | | never read this man page... :-)
* Move loader.conf.5, while it is still in it's first revision.dcs1999-04-242-198/+2
|
* Add loader.4th man page (worst man page I ever wrote -- reviewsdcs1999-04-241-2/+2
| | | | | are welcomed). Correct a nasty bug in loader.4th before anyone notices, add a couple of features.
* Make the location of init(8) tunable at boot time.des1999-04-201-1/+5
|
* Installs a default loader.rc if none exists. Document loader.conf.dcs1999-04-182-1/+202
|
* Version bump: kvm & dictionary size.dcs1999-03-171-1/+3
|
* The man page, version 0.1.dcs1999-03-152-2/+750
|
* Install new loader.rc stuff.dcs1999-03-101-1/+7
|
OpenPOWER on IntegriCloud