Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 History  





2 Supported platforms  





3 Design  



3.1  Initializing DRAM  







4 Developing and debugging coreboot  





5 Payloads  





6 European Coreboot Conference  



6.1  Conference history  







7 Variants  





8 See also  





9 References  





10 Further reading  





11 External links  














coreboot






العربية

Català
Čeština
Deutsch
Español
Français

Hrvatski
Italiano

Nederlands

Polski
Português
Русский
Suomi
Svenska
Українська

 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikimedia Commons
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


coreboot
Original author(s)Ronald G. Minnich, Eric Biederman, Li-Ta (Ollie) Lo, Stefan Reinauer, and the coreboot community
Initial release1999; 25 years ago (1999)
Stable release

24.05[1] Edit this on Wikidata / 23 May 2024; 60 days ago (23 May 2024)[2]

Repository
Written inMostly C, about 1% in assembly and optionally SPARK
PlatformIA-32, x86-64, ARMv7,[3] ARMv8, MIPS, RISC-V, POWER8
TypeFirmware
LicenseGPLv2[4]
Websitewww.coreboot.org Edit this on Wikidata

coreboot, formerly known as LinuxBIOS,[5] is a software project aimed at replacing proprietary firmware (BIOSorUEFI) found in most computers with a lightweight firmware designed to perform only the minimum number of tasks necessary to load and run a modern 32-bitor64-bit operating system.

Since coreboot initializes the bare hardware, it must be ported to every chipset and motherboard that it supports. As a result, coreboot is available only for a limited number of hardware platforms and motherboard models.

One of the coreboot variants is Libreboot, a software distribution partly free of proprietary blobs, aimed at end users.

History

[edit]

The coreboot project began with the goal of creating a BIOS that would start fast and handle errors intelligently.[6] It is licensed 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.[7] CME Group, a cluster of futures exchanges, began supporting the coreboot project in 2009.[8]

Other than the first three models, all Chromebooks run coreboot.[9] Code from Das U-Boot has been assimilated to enable support for processors based on the ARM instruction set.[10]

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.[11]

Supported platforms

[edit]

CPU architectures supported by coreboot include IA-32, x86-64, ARM, ARM64, MIPS and RISC-V. Supported system-on-a-chip (SOC) platforms include AMD Geode, starting with the Geode GX processor developed for the OLPC. 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.[12] However, as of 2014 such releases never became the basis for future development by AMD, and were subsequently halted.[13]

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).[14][15]
Artec Group
ThinCan models DBE61, DBE62 and DBE63, and fanless server/router hardware manufactured by PC Engines.[16]
Purism
Librem laptops come with coreboot.[17][18]
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.[19][20][21]
StarLabs Systems use coreboot firmware, as an alternative.[22]

Design

[edit]

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[23] that can load a Linux kernel, Windows 2000 and later, and BSDs; Windows 2000/XP and OpenBSD support was previously provided by ADLO.[24][25] 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 written primarily in C, with a small amount of assembly code. Choosing C as the primary programming language enables easier code audits when compared to contemporary PC BIOS that was generally written in assembly,[26] which results in improved security. There is build and runtime support to write parts of coreboot in Ada[27] 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[28] (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.

Initializing DRAM

[edit]

The most difficult hardware that coreboot initializes is the DRAM controllers and DRAM. In some cases, technical documentation on this subject is NDA restricted or unavailable. RAM initialization is particularly difficult because before the RAM is initialized it cannot be used. Therefore, to initialize DRAM controllers and DRAM, the initialization code may have only the CPU's general purpose registers or Cache-as-RAM as temporary storage.

romcc, a C compiler that uses registers instead of RAM, eases the task. Using romcc, it is relatively easy to make SMBus accesses to the SPD ROMs of the DRAM DIMMs, that allows the RAM to be used.

With newer x86 processors, the processor cache can be used as RAM until DRAM is initialized. The processor cache has to be initialized into Cache-as-RAM[29][30] mode as well, but this needs fewer instructions than initializing DRAM. Also, the Cache-as-RAM mode initialization is specific to CPU architectures, thus more generic than DRAM initialization, which is specific to each chipset and mainboard.

For most modern x86 platforms, closed source binary-only components provided by the vendor are used for DRAM setup. For Intel systems, FSP-M is required, while AMD has no current support. Binary AGESA is currently used for proprietary UEFI firmware on AMD systems, and this model is expected to carry over to any future AMD-related coreboot support.[31]

Developing and debugging coreboot

[edit]
Hacking coreboot at Denver 2008 summit.

There are also CPU emulators that either replace the CPU or connect via a JTAG port, with the Sage SmartProbe[32][33] being an example. Code can be built on, or downloaded to, BIOS emulators rather than flashing the BIOS device.

Payloads

[edit]
SeaBIOS payload running on a Lenovo ThinkPad X60

coreboot can load a payload, which may be written using the libpayload helper library. Existing payloads include the following:

European Coreboot Conference

[edit]

One physical meeting is the European Coreboot Conference which was organized in October 2017 and lasted for three days.

Conference history

[edit]
Event and year Date Host city Venue Resources Themes
ECC2017 26.10. – 29.10 Bochum, Germany RUB Convention Center https://ecc2017.com

Variants

[edit]

coreboot has a number of variants from its original code base each with slightly different objectives:.

See also

[edit]

References

[edit]
  1. ^ Martin Roth (23 May 2024). "coreboot 24.05 release". Retrieved 23 May 2024.
  • ^ "Releases". coreboot. n.d.
  • ^ "ARM". coreboot. 15 October 2013. Retrieved 1 February 2014.
  • ^ "coreboot's licence". github.com. 1991. Retrieved 13 October 2018.
  • ^ "[LinuxBIOS] Welcome to coreboot". 12 January 2008.
  • ^ Anton Borisov: The Open Source BIOS is Ten. An interview with the coreboot developers Archived 16 September 2012 at the Wayback Machine. The H, 2009.
  • ^ "Google Sponsors the LinuxBIOS project". Archived from the original on 6 February 2012. Retrieved 29 September 2023.{{cite web}}: CS1 maint: bot: original URL status unknown (link)
  • ^ "CME Group Dives Into Coreboot and Other Linux Open Source Projects". Wall Street & Technology. Archived from the original on 12 August 2010. Retrieved 23 September 2015.
  • ^ "Chromebooks". coreboot. 16 January 2014. Archived from the original on 8 May 2016. Retrieved 17 February 2014.
  • ^ "GSoC2011(Week 1): Analysis of U-boot ARM boot code | coreboot developer blogs". 5 June 2011. Retrieved 12 April 2014.
  • ^ "Coreboot nutzt NSA-Tool zum Reverse Engineering". Golem.de. Retrieved 4 May 2023.
  • ^ "Technical details on AMD's coreboot source code release". AMD. 28 February 2011. Archived from the original on 25 March 2014. Retrieved 1 February 2016.
  • ^ Griffith, Bruce (5 November 2014). "AMD's binary-only AGESA libraries". Retrieved 8 May 2017.
  • ^ "Minifree". Ministry of Freedom - Products. Archived from the original on 25 September 2015. Retrieved 24 September 2015.
  • ^ "The Gluglug". fsf.org. Archived from the original on 23 September 2015. Retrieved 23 September 2015.
  • ^ "pcengines/coreboot". GitHub. Retrieved 16 September 2019.
  • ^ "coreboot Firmware on Purism Librem devices". Retrieved 19 June 2020.
  • ^ "Purism Laptops To Use 'Heads' Firmware To Protect Against Rootkits, Tampering (Updated)". 27 February 2018. Retrieved 19 June 2020.
  • ^ "New Dasharo v1.1 Firmware For The MSI Z690 Board - Phoronix". 22 November 2022. Retrieved 27 October 2023.
  • ^ "NovaCustom-Dasharo October-2023 Firmware Update (ADL v1.7.0 & TGL v1.5.0) - NovaCustom". 19 September 2023. Retrieved 27 October 2023.
  • ^ "The NitroPC Pro is Qubes-Certified! - Nitrokey". 24 September 2023. Retrieved 27 October 2023.
  • ^ Starbook mk v review - fossbytes
  • ^ SeaBIOS (previously known as LegacyBIOS) is an open-source legacy BIOS implementation
  • ^ "coreboot Add-on Layer (ADLO)". Archived from the original on 25 November 2010.
  • ^ SEBOS, Security Enhanced Bootloader for Operating Systems, Phase 2 Archived 19 June 2007 at the Wayback Machine, adding PC BIOS Services to coreboot via Bochs BIOS (Link noted to be defunct on 18 July 2008. See )
  • ^ Comparison of UEFI and legacy BIOS, pronouncing that same advantage for UEFI
  • ^ commit adding that support
  • ^ "coreboot v3 early startup code". Archived from the original on 10 July 2012. Retrieved 17 August 2008.
  • ^ Yinghai Lu; Li-Ta Lo; Gregory R. Watson; Ronald G. Minnich (15 January 2009). "CAR: Using Cache as RAM in Linux BIOS" (PDF). qmqm.pl. Archived from the original (PDF) on 3 March 2016. Retrieved 25 February 2014.
  • ^ "A Framework for Using Processor Cache as RAM (CAR)" (PDF).
  • ^ Griffith, Bruce (5 November 2014). "[coreboot] AMD's binary-only AGESA libraries". Retrieved 8 September 2019.
  • ^ "Sage Electronic Engineering - SmartProbe JTAG debugger, Sage EDK, coreboot and Embedded Systems and Software Engineering". www.se-eng.com. Archived from the original on 15 March 2011.{{cite web}}: CS1 maint: unfit URL (link)
  • ^ "Sage SmartProbe FAQ". S.Datskovskiy. Retrieved 30 April 2021.
  • ^ "Depthcharge: The ChromeOS bootloader". docs.google.com. Retrieved 26 October 2015.
  • ^ "Modify u-boot code to allow building coreboot payload. [chromiumos/third_party/u-boot-next : chromeos-v2011.03]". 24 July 2011.
  • ^ "Binary Blob Reduction Policy". 1 November 2023. Archived from the original on 1 November 2023. Retrieved 1 November 2023.
  • ^ "osboot project". 15 March 2021. Archived from the original on 15 March 2021. Retrieved 26 May 2023.
  • ^ "Libreboot – Osboot is now part of Libreboot". 19 December 2022. Archived from the original on 19 December 2022. Retrieved 26 May 2023.
  • ^ "How to install ChromeOS Flex on a Chromebook". Android Police. 17 April 2022. Retrieved 30 May 2023.
  • ^ "GNU Boot Summary". 30 October 2023. Archived from the original on 30 October 2023. Retrieved 30 October 2023.
  • ^ "Canoeboot project". 16 November 2023. Archived from the original on 16 November 2023. Retrieved 16 November 2023.
  • ^ "3mdeb Sp. z o.o. — Embedded Firmware development consultancy". 29 January 2024. Archived from the original on 16 February 2024. Retrieved 16 February 2024.
  • ^ "Dasharo • GitHub". 22 October 2023. Archived from the original on 16 February 2024. Retrieved 16 February 2024.
  • ^ "About Dasharo - Dasharo Universe". 9 February 2024. Archived from the original on 16 February 2024. Retrieved 16 February 2024.
  • ^ Kepplinger-Novakovic, Martin (28 May 2024), merge/skulls, retrieved 29 May 2024
  • ^ "About Heads". Heads. Retrieved 29 May 2024.
  • ^ linuxboot/heads, LinuxBoot, 28 May 2024, retrieved 29 May 2024
  • Further reading

    [edit]
    [edit]
    Retrieved from "https://en.wikipedia.org/w/index.php?title=Coreboot&oldid=1233439067"

    Categories: 
    Custom firmware
    Firmware
    Free BIOS implementations
    Software related to embedded Linux
    Hidden categories: 
    Webarchive template wayback links
    CS1 maint: bot: original URL status unknown
    CS1 maint: unfit URL
    Articles with short description
    Short description is different from Wikidata
    Accuracy disputes from May 2023
    All accuracy disputes
    Use dmy dates from July 2019
    Commons category link from Wikidata
     



    This page was last edited on 9 July 2024, at 02:11 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki