aboutsummaryrefslogtreecommitdiff
path: root/src/config
AgeCommit message (Collapse)AuthorFilesLines
2012-09-10[console] Add support for the bochs/qemu debug port consoleMichael Brown2-0/+4
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-09-10[cmdline] Add standalone "nslookup" commandPatrick Plenefisch2-0/+4
Modified-by: Michael Brown <mcb30@ipxe.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-09-05[sdi] Add support for SDI imagesMichael Brown2-0/+4
Add support (disabled by default) for booting .sdi images as used by Windows XP Embedded. Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-08-27[build] Add missing #include <config/local/sideband.h>Anton D. Kachalov1-0/+2
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-07-17[efi] Default to using raw x86 I/OMichael Brown1-1/+1
The EFI_CPU_IO_PROTOCOL is not available on all EFI platforms. In particular, it is not available under OVMF, as used for qemu. Since the EFI_CPU_IO_PROTOCOL is an abomination of unnecessary complexity, banish it and use raw I/O instead. Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-06-27[ui] Allow colours to be configured via config/colour.hChristian Hesse1-0/+32
Modified-by: Michael Brown <mcb30@ipxe.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-06-09[cmdline] Add "sync" commandMichael Brown2-0/+4
Add "sync" command (loosely based on the Unix "sync"), which will wait for any pending operations to complete. Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-06-07[cmdline] Add "cpuid" commandMichael Brown2-0/+4
Allow x86 CPU feature flags (such as support for 64-bit mode) to be checked using the "cpuid" command. Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-05-04[time] Add Linux time source using gettimeofday()Michael Brown1-1/+1
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-04-24[image] Remove non-working image loadersMarin Hannache2-12/+0
The WinCE, a.out and FreeBSD loaders are designed to be #included by core/loader.c, which no longer exists. These old loaders are not usable anymore and cause compilation failures when enabled in config/general.h. Signed-off-by: Marin Hannache <mareo@mareo.fr> Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-04-17[vmware] Allow settings to be specified in the VMware .vmx fileMichael Brown2-1/+5
Allow iPXE settings to be specified in the .vmx file via the VMware GuestInfo mechanism. For example: guestinfo.ipxe.filename = "http://boot.ipxe.org/demo/boot.php" guestinfo.ipxe.dns = "192.168.0.1" guestinfo.ipxe.net0.ip = "192.168.0.15" guestinfo.ipxe.net0.netmask = "255.255.255.0" guestinfo.ipxe.net0.gateway = "192.168.0.1" Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-04-10[tftp] Remove configuration option for tftmMarin Mareo Hannache2-4/+0
DOWNLOAD_PROTO_TFTM is now useless as tftm support has been merged into tftp.c. DOWNLOAD_PROTO_TFTP should be used instead. Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-04-10[syslog] Add basic support for encrypted syslog via TLSMichael Brown2-0/+4
Encrypted syslog seems not yet to be standardised, but is supported by some existing syslog servers. Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-03-29[comboot] Remove COMBOOT image support by defaultMichael Brown1-1/+0
iPXE's support for COMBOOT images is now quite outdated; it has not kept up to date with changes in the COMBOOT API. The primary use for COMBOOT seems to be for menuing support. Now that we have native iPXE script-based menus, COMBOOT support can be gracefully retired (with immense thanks to Daniel Verkamp for having successfully implemented such an ambitious feature many years ago). Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-03-29[menu] Add menu commandsMichael Brown2-0/+4
Allow iPXE scripts to create menus. For example: #!ipxe menu iSCSI boot demonstration item install Install Fedora to ${root-path} item --default boot Boot from ${root-path} item shell Enter iPXE shell item exit Exit to BIOS choose label && goto ${label} :boot sanboot ${root-path} :install sanhook ${root-path} chain http://${next-server}/fedora.ipxe :shell shell :exit Inspired-by: Robin Smidsrød <robin@smidsrod.no> Tested-by: Robin Smidsrød <robin@smidsrod.no> Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-03-26[console] Add "log message" console usage and an internal syslog() callMichael Brown1-0/+2
Provide an internal syslog() function (unrelated to the syslog console) which can be used to create log messages with specified priorities. The build-time constant LOG_LEVEL can be used to select the minimum required priority for log messages. Any messages that do not have a sufficient priority will be ignored (and will be optimised away at compile-time). The default LOG_LEVEL is LOG_NONE. Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-03-26[console] Remove unused "btext" consoleMichael Brown2-4/+0
The "btext" console has been disabled by a "#if 0" since 2007. Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-03-25[image] Add the "imgtrust" and "imgverify" commandsMichael Brown2-0/+4
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-03-19[time] Add RTC-based time sourceMichael Brown1-1/+1
Add a time source using the CMOS RTC to obtain the current time. Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-03-19[time] Define an API for getting the current timeMichael Brown4-0/+19
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-03-18[rng] Add Linux entropy source using /dev/randomMichael Brown1-1/+1
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-02-28[vmware] Add VMware logfile console (CONSOLE_VMWARE)Michael Brown2-0/+4
Allow iPXE console output to be sent to the VMware logfile via the GuestRPC mechanism. Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-02-28[rng] Add RTC-based entropy sourceMichael Brown1-1/+1
The RTC-based entropy source uses the nanosecond-scale CPU TSC to measure the time between two 1kHz interrupts generated by the CMOS RTC. In a physical machine these clocks are driven from independent crystals, resulting in some observable clock drift. In a virtual machine, the CMOS RTC is typically emulated using host-OS constructions such as SIGALRM. Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-02-21[rng] Add ANS X9.82 Approved Source of Entropy InputMichael Brown4-0/+19
ANS X9.82 specifies several Approved Sources of Entropy Input (SEI). One such SEI uses an entropy source as the Source of Entropy Input, condensing each entropy source output after each GetEntropy call. This can be implemented relatively cheaply in iPXE and avoids the need to allocate potentially very large buffers. (Note that the terms "entropy source" and "Source of Entropy Input" are not synonyms within the context of ANS X9.82.) Use the iPXE API mechanism to allow entropy sources to be selected at compilation time. Signed-off-by: Michael Brown <mcb30@ipxe.org>
2011-10-26[cmdline] Make "reboot" command available by defaultMichael Brown2-6/+8
Requested-by: Sven Dreyer <sven@dreyer-net.de> Signed-off-by: Michael Brown <mcb30@ipxe.org>
2011-05-17[romprefix] Do not fall back to hooking INT19 by defaultMichael Brown1-0/+6
Several BIOSes (including most IBM BIOSes and many virtual machine BIOSes) do not provide detectable PnP support, but will use the BEV entry point for a PnP option ROM. On these semi-PnP BIOSes, iPXE will respond to the absence of detectable PnP support by hooking INT19, which disrupts the boot order. BIOSes that genuinely require hooking INT19 seem to be very rare nowadays. It may therefore be preferable to assume that the absence of detectable PnP support indicates a semi-PnP BIOS rather than a non-PnP BIOS. Change the default behaviour so that INT19 will never be hooked unless the compile-time option NONPNP_HOOK_INT19 is enabled. Leave the redundant PnP detection routine in-place to allow for debugging via the ROM banner line. Signed-off-by: Michael Brown <mcb30@ipxe.org>
2011-03-16[console] Add keyboard map selectionMichael Brown2-0/+9
The active keyboard map may be selected by editing KEYBOARD_MAP in config/console.h. Signed-off-by: Michael Brown <mcb30@ipxe.org>
2011-03-10[syslog] Add support for sending console output to a syslog serverMichael Brown1-0/+1
Originally-implemented-by: Anselm Martin Hoffmeister <anselm@hoffmeister.be> Signed-off-by: Michael Brown <mcb30@ipxe.org>
2011-03-03[bofm] Add support for BOFM under EFIMichael Brown3-0/+25
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-12-09[cmdline] Add "reboot" commandMichael Brown2-0/+4
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-11-22[pxe] Remove startpxe and stoppxe commands from default buildsMichael Brown2-2/+1
These commands exist primarily for debugging and are not generally useful, so save 137 bytes by removing them by default. Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-11-20[vlan] Add support for IEEE 802.1Q VLANsMichael Brown2-0/+4
Originally-implemented-by: michael-dev@fami-braun.de Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-09-21[lotest] Add loopback testing commandsMichael Brown2-0/+4
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-09-15[fcoe] Add support for Fibre Channel over EthernetMichael Brown2-0/+4
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-09-15[fcp] Add support for the Fibre Channel ProtocolMichael Brown3-0/+9
The Fibre Channel Protocol provides a mechanism for transporting SCSI commands via a Fibre Channel fabric. Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-09-15[fc] Add Fibre Channel management commandsMichael Brown2-0/+25
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-09-14[block] Replace gPXE block-device API with an iPXE asynchronous interfaceMichael Brown7-3/+22
The block device interface used in gPXE predates the invention of even the old gPXE data-transfer interface, let alone the current iPXE generic asynchronous interface mechanism. Bring this old code up to date, with the following benefits: o Block device commands can be cancelled by the requestor. The INT 13 layer uses this to provide a global timeout on all INT 13 calls, with the result that an unexpected passive failure mode (such as an iSCSI target ACKing the request but never sending a response) will lead to a timeout that gets reported back to the INT 13 user, rather than simply freezing the system. o INT 13,00 (reset drive) is now able to reset the underlying block device. INT 13 users, such as DOS, that use INT 13,00 as a method for error recovery now have a chance of recovering. o All block device commands are tagged, with a numerical tag that will show up in debugging output and in packet captures; this will allow easier interpretation of bug reports that include both sources of information. o The extremely ugly hacks used to generate the boot firmware tables have been eradicated and replaced with a generic acpi_describe() method (exploiting the ability of iPXE interfaces to pass through methods to an underlying interface). The ACPI tables are now built in a shared data block within .bss16, rather than each requiring dedicated space in .data16. o The architecture-independent concept of a SAN device has been exposed to the iPXE core through the sanboot API, which provides calls to hook, unhook, boot, and describe SAN devices. This allows for much more flexible usage patterns (such as hooking an empty SAN device and then running an OS installer via TFTP). Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-09-12[infiniband] Include SRP by default, but only for Infiniband buildsMichael Brown3-3/+24
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-09-12[ethernet] Include AoE only for Ethernet buildsMichael Brown2-3/+23
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-08-19[linux] Add the tap driverPiotr Jaroszyński2-0/+7
Add the tap driver that can be used like: $ ./ipxe.linux --net tap,if=tap0,mac=00:0c:29:c5:39:a1 The if setting is mandatory. Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-08-19[linux] Add empty smbiosPiotr Jaroszyński1-0/+1
There exists an smbios userspace library so implementing this is probably possible, but doesn't seem really important to have in userspace. Hence provide a dummy implementation returning an error. Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-08-19[linux] Add napPiotr Jaroszyński1-0/+1
Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-08-19[linux] Add umallocPiotr Jaroszyński1-0/+1
Add umalloc API. Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-08-19[linux] Add uaccessPiotr Jaroszyński1-0/+1
Add user access API for linux. On linux userspace virtual == user == phys addresses. Physical addresses also being the same is wrong, but there is no general way of converting userspace addresses to physical as what appears to be contiguous in userspace is physically fragmented. Currently only the DMA memory is special-cased, but its conversion to bus addresses is done in phys_to_bus. This is known to break virtio as it is passing phys addresses to the virtual device. Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-08-19[linux] Add timerPiotr Jaroszyński1-0/+1
Add linux timer API. Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-08-19[linux] Add consolePiotr Jaroszyński2-0/+5
Add linux console using stdin/out. Configure the attached terminal for readline use. Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-08-19[linux] Add linux platform skeletonPiotr Jaroszyński1-0/+12
Add makefiles, ld scripts and default config for linux platform for both i386 and x86_64. Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-07-20[netdevice] Provide a test mechanism for discarding packets at randomMichael Brown1-0/+1
Setting NETDEV_DISCARD_RATE to a non-zero value will cause one in every NETDEV_DISCARD_RATE packets to be discarded at random on both the transmit and receive datapaths, allowing the robustness of upper-layer network protocols to be tested even in simulation environments that provide wholly reliable packet transmission. Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-06-23[efi] Build iPXE script support into EFI binaries by defaultGeoff Lywood1-0/+1
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-04-19[build] Rename gPXE to iPXEMichael Brown3-10/+10
Access to the gpxe.org and etherboot.org domains and associated resources has been revoked by the registrant of the domain. Work around this problem by renaming project from gPXE to iPXE, and updating URLs to match. Also update README, LOG and COPYRIGHTS to remove obsolete information. Signed-off-by: Michael Brown <mcb30@ipxe.org>