This documentation is OBSOLETE, applying onto to Libreboot versions from December 2024 up to January 2026; the following releases from October 2026 and later use MrChromebox EDK2 instead of U-Boot, for UEFI on all boards.
For UEFI, please look instead at ../install/edk2.html.
EDK2 is much more feature-complete and generally reliable, on all platforms.
Again, this is obsolete. Modern Libreboot only uses U-Boot on non-x86 platforms:


U-Boot is available as a coreboot payload, in Libreboot 20241206 and later, on x86 boards; on ARM it has been available since late 2022 Libreboot releases.
Please read https://www.u-boot.org/, especially the full U-Boot documentation available there.
NOTE: This documentation refers only to x86. For ARM, please refer back to the main U-Boot page.
Do this in lbmk.git (Libreboot’s build system) to check whether your board has U-Boot enabled:
git grep payload_uboot_amd64
git grep payload_uboot_i386
In target.cfg files for each coreboot board, you will find this option if it’s enabled. You also need either u-boot/i386coreboot or u-boot/amd64coreboot in the build_depend variable for a given board, for it to automatically compile at build time.
Not every board has it yet. U-Boot is still experimental on x86. Libreboot has made several modifications to the default bootflow menu, used for selecting an EFI application at boot (e.g. installed GRUB bootloader for e.g. Debian). For example, upstream didn’t implement an auto-boot timeout for the first selected boot item, so this was implemented. Libreboot also themed it to look more like an official Libreboot bootloader.
Here is an example of what it looks like on the boot menu:
https://mas.to/@libreleah/113596262378713418
If you see error -25 in the bootflow menu, it’s because there’s nothing installed that i t can use e.g. EFI bootloader such as GRUB.
If you see error -2 it’s likely that you have tried to boot a USB drive automatically; sometimes you have to do it manually (see the section below about using the bootflow command manually, via bootflow select).
Just stick your formatted USB stick in. U-Boot should detect it. Sometimes some USB flash drives are broken, because many of them violate specifications and U-Boot doesn’t properly hack around that like Linux does (buggy USB mass storage implementation) - also, xhci suppport is still a bit unstable, on machines that don’t have EHCI controllers (e.g. Haswell setups and beyond).
If your USB drive is detected at boot, a menu might appear, showing it and you can select it, sometimes it doesn’t and you could instead do in the U-Boot shell:
bootflow list
bootflow select X
Where X is the number of the boot device, as shown by the output of the list command.
After selecting the device, you can do:
bootflow boot
It should just work. If all is well, it’ll show the bootflow menu. Simply select your device. If you see error, perhaps try:
bootefi bootmgr
Arch Linux, Debian Linux and OpenBSD have been tested.
Some GRUB setups that use the console output mode end up using the U-Boot console driver, which is buggy in UEFI GRUB, so menus can get quite messed up indeed; text in the wrong place, countdown timers mangled, etc. E.g. the Arch Linux installer is completely broken, but you can hit enter to boot Linux which then uses KMS and the installed system uses it (and you could install another bootloader in the installed system).
EFI-based GRUB menus like in the Debian installer seemed to work just fine, that is: setups that use the EFI framebuffer instead of a text console.
Windows was tested, and doesn’t work.
Supported by U-Boot, though U-Boot does not currently have a robust way of storing EFI variables, and Libreboot disables SecureBoot by default. However, you can enable it. Information is available in U-Boot’s official documentation.
SecureBoot with a Linux UKI-based bootloader could allow some boot security.
Limited testing, at least as of 6 December 2024, but some issues that appeared included:
bootefi command can be used.The good news is that a few systems were tested that seemed to work well. Haswell machines mostly work OK (with a few bugs), some Kaby Lake machines work but some don’t very well; the GM45 machines work well, e.g. a ThinkPad X200 was tested.
U-Boot is not a primary payload on any board where it’s enabled. It’s instead chainloaded from SeaBIOS on 64-bit x86, and from GRUB on 32-bit x86. You select it in the SeaBIOS menu (ESC menu), or you can use a ROM image that has seauboot in the name, where SeaBIOS auto-boots U-Boot unless interrupted via the ESC prompt.
So if U-Boot is unstable on your board, you can press ESC in SeaBIOS and boot a device in SeaBIOS, or select the available GRUB payload from SeaBIOS.
Please do report any failures or successes with your testing, if you want to try out U-Boot.
TODO: A lot more documentation and testing notes should be written here over time, and lots more bug fixes are needed for U-Boot to become stable. It is the intention of Libreboot that U-Boot become the DEFAULT payload on x86 in a future release.
Markdown file for this page: https://libreboot.org/docs/uboot/uboot-x86.md
This HTML page was generated by the Libreboot Static Site Generator.