Payloads: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
== Payloads == | == Payloads == | ||
=== GRUB2 === | |||
[[GRUB2]] is the standard bootloader for many Linux- and other Unix-like operating systems. | |||
=== FILO === | |||
[[FILO]] is a simple bootloader with filesystem support. It will be deprecated in favor of [[GRUB2]] soon. | |||
=== Linux === | |||
Coreboot can use a [http://www.kernel.org Linux] kernel as payload directly. That is, the kernel is included in the ROM chip where coreboot resides. | |||
Alternatively, you can also boot a Linux kernel from your hard drive using either the [[FILO]] or [[GRUB2]] payloads, of course. | |||
=== Open Firmware === | |||
Mitch Bradley's [http://www.openbios.org/Open_Firmware Open Firmware], and IEEE1275-1994 Open Firmware implementations, can also be used as coreboot payload. | |||
=== OpenBIOS === | |||
[[OpenBIOS]] — IEEE1275-1994 Open Firmware. | |||
=== Etherboot === | |||
[[Etherboot]] — Includes FILO, and its FILO supports SATA and USB booting. | |||
=== ADLO === | |||
[[ADLO]] — Glue layer to 16-bit Bochs BIOS. Allows [[Booting Windows using coreboot|booting Windows]] and [http://openbsd.org/ OpenBSD]. | |||
=== Memtest86 / Memtest86+ === | |||
[[Memtest86]] — Can stress-test your RAM. | |||
=== Coreinfo === | |||
[[coreinfo]] | |||
=== GRUB invaders === | |||
[[GRUB invaders]] | |||
=== TINT === | |||
[[tint]] is a falling blocks game. | |||
== Possible future payloads == | == Possible future payloads == |
Revision as of 20:40, 17 April 2008
coreboot in itself is "only" minimal code for initializing a mainboard with peripherals. After the initialization, it jumps to a payload.
Payloads
GRUB2
GRUB2 is the standard bootloader for many Linux- and other Unix-like operating systems.
FILO
FILO is a simple bootloader with filesystem support. It will be deprecated in favor of GRUB2 soon.
Linux
Coreboot can use a Linux kernel as payload directly. That is, the kernel is included in the ROM chip where coreboot resides.
Alternatively, you can also boot a Linux kernel from your hard drive using either the FILO or GRUB2 payloads, of course.
Open Firmware
Mitch Bradley's Open Firmware, and IEEE1275-1994 Open Firmware implementations, can also be used as coreboot payload.
OpenBIOS
OpenBIOS — IEEE1275-1994 Open Firmware.
Etherboot
Etherboot — Includes FILO, and its FILO supports SATA and USB booting.
ADLO
ADLO — Glue layer to 16-bit Bochs BIOS. Allows booting Windows and OpenBSD.
Memtest86 / Memtest86+
Memtest86 — Can stress-test your RAM.
Coreinfo
GRUB invaders
TINT
tint is a falling blocks game.
Possible future payloads
The following payloads might or might not work (with more or less changes required) with coreboot -- their usage hasn't been tested or documented so far.
- CodeGen's SmartFirmware — IEEE1275-1994 Open Firmware
- GNUFI (UEFI)
- Plan 9 — A distributed operating system.
- RedBoot / eCos — Real-time OS for embedded systems; initial port to ELF completed but no longer available.
History
The payload was originally intended to be a Linux kernel stored in flash. Flash ROM growth rate was anticipated optimistically however, today there are not many mainboards that actually have enough flash ROM room for a kernel. 512KB can be seen here-and-there and a few boards come with 1MB. Recent kernels really want that MB, and then you'll only have room for 300-400 KB of initial ramdisk, which could be too small too, depending on the application. During testing, a payload may also be downloaded via X-Modem from the serial debug console, saving flashing time.
So, other payloads are used; the two major ones are FILO and Etherboot. FILO loads a kernel from a filesystem on an IDE device and Etherboot loads a kernel from the network or from a filesystem on an IDE device.
If you're using FILO there is no Linux kernel until FILO loads it, and the kernel loaded by FILO (or Etherboot) can absolutely be the one you want to run in your system. Just set it up with the correct root and init commandline so that it can start init.