ArticleslgStudy

computer science

Coreboot

Coreboot is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Coreboot rather than just read about it. In short: coreboot (formerly LinuxBIOS) is a free and open‑source project that provides lightweight firmware to initialize hardware and then load an operating system. It is designed to replace proprietary firmware (traditional BIOS or UEFI implementations) by performing the minimal tasks required to start a modern 32-bit or 64-bit operating system.

Coreboot — main illustration
Coreboot — illustration

Key takeaways

  • Coreboot belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Coreboot to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Coreboot from memory before moving on to harder problems.

Reference excerpt

coreboot (formerly LinuxBIOS) is a free and open‑source project that provides lightweight firmware to initialize hardware and then load an operating system. It is designed to replace proprietary firmware (traditional BIOS or UEFI implementations) by performing the minimal tasks required to start a modern 32-bit or 64-bit operating system. Because coreboot performs low‑level hardware initialization, it must be ported to each supported chipset and motherboard model; consequently, availability is limited to platforms for which support has been implemented. One of the well‑known variants of coreboot is Libreboot, a software distribution that focuses on removing proprietary binary blobs from the firmware stack.

History The coreboot project began with the goal of creating a BIOS that boots quickly and handles errors intelligently. It is distributed under the terms of the GNU General Public License version 2 (GPLv2). Main contributors include LANL, SiS, AMD, Coresystems and Linux Networx, Inc, as well as motherboard vendors MSI, Gigabyte and Tyan, which offer coreboot alongside their standard BIOS or provide specifications of the hardware interfaces for some of their motherboards. Google partly sponsors the coreboot project. CME Group, a financial public company, began supporting the coreboot project in 2009. Other than the first three models, all Chromebooks run coreboot. Code from Das U-Boot has been assimilated to enable support for processors based on the ARM instruction set. In June 2019, coreboot began to use the NSA software Ghidra for its reverse engineering efforts on firmware-specific problems following the release of the suite as free and open source software.

Supported platforms coreboot supports multiple CPU architectures, including IA-32, x86-64, ARM, ARM64, MIPS and RISC-V. Support covers a variety of system-on-a-chip (SoC) platforms as well; early development focused on AMD Geode processors (notably those used in the OLPC project). Artec Group added Geode LX support for its ThinCan model DBE61; that code was adopted by AMD and further improved for the OLPC after it was upgraded to the Geode LX platform, and is further developed by the coreboot community to support other Geode variants. coreboot can be flashed onto a Geode platform using Flashrom. From that initial development on AMD Geode based platforms, coreboot support has been extended onto many AMD processors and chipsets. The processor list includes Family 0Fh and 10h (K8 core), and recently Family 14h (Bobcat core, Fusion APU). coreboot support also extends to AMD chipsets: RS690, RS7xx, SB600, and SB8xx. In AMD Generic Encapsulated Software Architecture (AGESA)‍—‌a bootstrap protocol by which system devices on AMD64 mainboards are initialized‍—‌was open sourced in early 2011, aiming to provide required functionality for coreboot system initialization on AMD64 hardware. However, as of 2014 such releases never became the basis for future development by AMD, and were subsequently halted. Devices that could be preloaded with coreboot or one of its derivatives include:

Lenovo/IBM The Libreboot T400 and X200 (rebranded ThinkPad T400 and X200, respectively, available from Minifree, previously known as Gluglug). Artec Group ThinCan models DBE61, DBE62 and DBE63, and fanless server/router hardware manufactured by PC Engines. Purism Librem laptops come with coreboot. Others Some System76 PCs use coreboot TianoCore firmware, including open source Embedded Controller firmware. Dasharo offers an alternative coreboot-based firmware distribution for computers from MSI, NovaCustom and Nitrokey, among others. StarLabs Systems use coreboot firmware, as an alternative. Some Tesla Model 3 cars have adopted Ryzen Embedded or Intel Atom processor on the car computer, and adopted coreboot as the bootloader.

Design Coreboot typically loads a Linux kernel, but it can load any other stand-alone ELF executable, such as iPXE, gPXE or Etherboot that can boot a Linux kernel over a network, or SeaBIOS that can load a Linux kernel, Windows 2000 and later, and BSDs; Windows 2000/XP and OpenBSD support was previously provided by ADLO. coreboot can also load a kernel from any supported device, such as Myrinet, Quadrics, or SCI cluster interconnects. Booting other kernels directly is also possible, such as a Plan 9 kernel. Instead of loading a kernel directly, coreboot can pass control to a dedicated boot loader, such as a coreboot-capable version of GNU GRUB 2. Coreboot is primarily implemented in C, with a small amount of assembly code. Choosing C as the primary programming language facilitates code audits when compared to contemporary PC BIOS that was generally written in assembly, which results in improved security. There is build and runtime support to write parts of coreboot in Ada to further raise the security bar, but it is currently only sporadically used. The source code is released under the GNU GPL version 2 license. Coreboot performs the absolute minimal amount of hardware initialization and then passes control to the operating system. As a result, there is no coreboot code running once the operating system has taken control. A feature of coreboot is that the x86 version runs in 32-bit mode after executing only ten instructions (almost all other x86 BIOSes run exclusively in 16-bit mode). This is similar to the modern UEFI firmware, which is used on newer PC hardware.

… excerpt ends here. Continue reading the full article.

Illustrations

Coreboot illustration
Coreboot: Hacking coreboot at Denver 2008 summit.
Hacking coreboot at Denver 2008 summit.
Coreboot: SeaBIOS payload running on a Lenovo ThinkPad X60
SeaBIOS payload running on a Lenovo ThinkPad X60

Worked examples

Example 1 — a first encounter with Coreboot

Start with the simplest possible case. Write down what Coreboot claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Coreboot before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Coreboot ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Coreboot

In research
Coreboot appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Coreboot in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Coreboot is common in secondary-school and first-year university syllabi. It links to neighbouring topics Custom firmware, Firmware, Free BIOS implementations, so understanding it makes those chapters shorter.
In everyday life
Look for Coreboot outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Coreboot” →

How to study Coreboot in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Coreboot means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Coreboot out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Coreboot in simple terms?

coreboot (formerly LinuxBIOS) is a free and open‑source project that provides lightweight firmware to initialize hardware and then load an operating system. It is designed to replace proprietary firmware (traditional BIOS or UEFI implementations) by performing the minimal tasks required to start a…

Why does Coreboot matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Coreboot?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Coreboot.

Tags

  • Custom firmware
  • Firmware
  • Free BIOS implementations
  • Software related to embedded Linux

Keep exploring