summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/loader/conf.c
Commit message (Collapse)AuthorAgeFilesLines
* Add support for loading bzip2-compressed kernels and modules. This supportsobomax2001-09-181-0/+5
| | | | | | | | | | | | | | 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
* Add support for the "nullconsole" console type, for systems witharchie2000-09-201-0/+2
| | | | | | | | 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
* 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.
* Make PXE use the UDP API. This allows for both TFTP and NFS support.ps2000-04-081-2/+12
| | | | | | | | 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-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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>
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Enable the PCI BIOS PnP enumerator.msmith1998-10-231-3/+3
|
* Add a dependancy on the BTX crt0 objectmsmith1998-10-221-1/+3
| | | | | Add the biospnp handler to the pnp handler array Drop some old debugging code
* - Enable PnP and ISA PnP code.msmith1998-10-211-2/+2
| | | | | | | | - Use the ISA PnP enumerator. - Use the new linker set code, throw out the gensetdefs stuff. - Produce an intermediate loader image that has symbols stripped, to aid - in debugging. - Supply ISA port access functions required for ISA PnP
* Enable the DOS filesystem. NOTE: you will have to rebuild libstand inmsmith1998-10-071-3/+1
| | | | order to be able to build again.
* Turn on i386-elfpeter1998-09-301-1/+3
|
* Reactivate the a.out kernel loader code.peter1998-09-281-2/+2
|
* Enable the biosdisk driver, duplicate -lstand as it both calls and is calledmsmith1998-09-181-2/+2
| | | | by the i386 platform library.
* Initial integration of the i386 bootloader and BTX.msmith1998-09-171-3/+3
| | | | | | | | | | | - Discard large amounts of BIOS-related code in favour of the more compact BTX vm86 interface. - Build the loader module as ELF, although the resulting object is a.out, make gensetdefs 32/64-bit sensitive and use a single copy of it. - Throw away installboot, as it's no longer required. - Use direct bcopy operations in the i386_copy module, as BTX maps the first 16M of memory. Check operations against the detected size of actual memory.
* Resynch with working sources before BTX integration.msmith1998-09-141-1/+10
| | | | | | | | | | | - Use format-independant module allocator. - Conditionalise ISA PnP support. - Simplify PnP enumerator interface. - Improve module/object searching. - Add missing depend/install targets in BTX makefiles. - Pass the kernel environment and module data in extended bootinfo fields. - Add a pointer to the end of the kernel + modules in bootinfo. - Fix parsing of old-style kernel arguments.
* This is the new unified bootstrap, sometimes known previously as themsmith1998-08-211-0/+85
'three-stage' bootstrap. There are a number of caveats with the code in its current state: - The i386 bootstrap only supports booting from a floppy. - The kernel and kld do not yet know how to deal with the extended information and module summary passed in. - PnP-based autodetection and demand loading of modules is not implemented. - i386 ELF kernel loading is not ready yet. - The i386 bootstrap is loaded via an ugly blockmap. On the alpha, both net- and disk-booting (SRM console machines only) is supported. No blockmaps are used by this code. Obtained from: Parts from the NetBSD/i386 standalone bootstrap.
OpenPOWER on IntegriCloud