r/coreboot • • 2h ago

ThinkPad T400 - Coreboot 26.09 + GRUB2 2.14, custom graphical theme, SeaBIOS and multiple firmware fixes

Thumbnail gallery
6 Upvotes

I've been working on a custom Coreboot firmware build for my Lenovo ThinkPad T400 Quad Core Edition, and I wanted to share some technical details about the process.

The laptop is running an Intel Core 2 Quad Q9100 (4C/4T), installed using a CPU pin modification and GTLREF mod, with 8 GB RAM and Debian 13 Trixie.

But the firmware side of this project turned out to be just as interesting as the hardware modifications.

Firmware setup:

  • Coreboot 26.09
  • GRUB2 2.14 as the primary payload
  • SeaBIOS 1.17 as a secondary payload
  • Coreinfo, NVRAMCUI, Memtest86+ and Tint
  • Custom graphical GRUB2 theme at 1280x800
  • Direct Debian boot from the GRUB2 payload

GRUB2 compilation challenges

Building GRUB2 2.14 wasn't entirely straightforward.

First, I encountered several libgcrypt compilation errors caused by conflicting size_t and grub_size_t declarations.

After resolving those issues, I ran into a linker problem:

kernel.img is miscompiled: its start address is 0x9054 instead of 0x9000

The solution involved changing the linker configuration to use -Wl,-Ttext instead of -Wl,--image-base.

After rebuilding, the GRUB2 payload was finally generated correctly.

Additional firmware fixes

I also worked through issues with Coreinfo and NVRAMCUI, eventually getting both working with the correct CMOS configuration and default values.

Another interesting problem involved incorrect colors in Memtest86+. This turned out to be related to a framebuffer color conversion issue in Coreboot's Linux trampoline code, which I fixed by correcting the bit rotation instruction.

Custom graphical boot environment

One of my main goals was to create a fully graphical boot menu stored directly in firmware.

The GRUB2 theme includes a custom background, fonts and menu layout, matching the classic ThinkPad design.

Everything fits into the 2 MiB BIOS region, including the graphical assets and additional payloads.

The original non-BIOS firmware regions were preserved.

The result is a fully functional Coreboot-powered T400 that boots directly into Debian through a graphical GRUB2 interface, while keeping SeaBIOS and several diagnostic tools available.

It's been a great learning experience, especially debugging the firmware and understanding how Coreboot, GRUB2, CBFS and the different payloads work together.

I'm sharing a few pictures of the finished boot interface and the laptop itself.


r/coreboot • • 1d ago

Coreboot + Seabios + EDK2 on 640 G1

14 Upvotes

Hi,

My first coreboot build on 640 G1 4810mq this laptop is now so much better no need for harddisk just sata M2 SSD

I plan to try this on 840 G2 where we don't have a harddrive just M2 SSD. I even setup a bios password into the system to access boot options or change boot order


r/coreboot • • 3d ago

How can I update my ThinkPad X230 with internal flashing?

1 Upvotes

I am currently running Libreboot 26.10 and I want to update it to 26.11.

For updating an X230 (which has two chips), do I need to do anything special to the flashrom command or can I just flashrom -p internal -w new_bios.bin ?

Also, is there any way I can change the default magenta background with a black one? I created a custom splash screen that the background is black but with the default magenta looks very ugly.

Thanks :))


r/coreboot • • 4d ago

RBoot – RBoot 26.11 “Iodine” released! With full UEFI support.

Thumbnail rboot.org
19 Upvotes

Fully deblobbed UEFI firmware distribution, forked off of now-discontinued Canoeboot - I renamed it to RBoot. Made specifically so that I could propose something to the GNU project; it is in sync with the same changes made in the recent Libreboot 26.11 release. It is a pure UEFI firmware distribution, utilising a deblobbed version of MrChromebox EDK2 - for example, the bundled iPXE has linda/broadcom firmware removed. Ditto r8152 fw in U-Boot. Supports currently up to Intel Haswell, but I've been eyeing Arthur's free kabylake FSP replacement on Gerrit and will probably use that in next release, which would enable to import a really nice supermicro board from Libreboot. RBoot is literally the first ever fully deblobbed UEFI firmware distribution using EDK2. The very first of its kind to ever exist. All the legacy payloads like e.g. GRUB and SeaBIOS are gone. The mantra is: take back control of UEFI. Reclaim UEFI from the proprietary vendors. TL;DR I also maintain Libreboot and RBoot is a parallel effort that I maintain on the side. I make sure both projects are in relative sync at all times.


r/coreboot • • 4d ago

Can’t access boot menu on t420

4 Upvotes

I flashed Coreboot on my T420 recently and everything seems to have worked for it just fine aside from the fact that on start up “press esc to access boot menu” does not work or seem to detect when I press esc and automatically sends me to my hard drive. I for the life of my can not figure out why, I’ve tried numerous settings such as enabling p2 keyboard and increasing the time it takes to detect pressing keys going from 5s to 10s amongst other things.

If anyone has any idea how to fix this please let me know, I’m using sea bios 1.17.0


r/coreboot • • 6d ago

T480 coreboot issue

2 Upvotes

After suspend on linux (used zzz script), sometimes linux cant detect my ssd (also keeps in coreboot), is it coreboot issue or hardware issue?


r/coreboot • • 6d ago

Libreboot – Thank you Chrultrabook and MrChromebox

Thumbnail libreboot.org
41 Upvotes

Thank you for your extensive work to make the actually proprietary Chromebooks become actually libre - lots of people claim that Chromebooks are open source because coreboot... no. Google dumps code onto the internet, that only works for their proprietary ChromeOS infrastructure. Chrultrabook and MrChromebox have done copious amounts of reverse engineering, documentation work and community support for over a decade to make these Chromebooks actually, truly respectful of software freedom - thanks to them, you can run normal Linux and Windows on a Chromebook. Libreboot recently inherited this work, in its Libreboot 26.10 release, but the extent to which these two upstream projects enabled such progress was extremely understated. Thus was the article written. Chrultrabook und MrChromebox gewidmet, in Dankbarkeit. Yes. Thanks again.


r/coreboot • • 7d ago

Libreboot – Libreboot 26.11 “Rubber Duck” released! With full UEFI support.

Thumbnail libreboot.org
34 Upvotes

Insanely improved over 26.10. EDK2 improvements. Lots. Lots and lots of build system changes - everything EDK2 now. Logic in lbmk for re-inserting user-supplied builds of legacy payloads, and complementary documentation. Libreboot is now boring, modern, conservative, and ultra-modern UEFI firmware. Extra filesystems added for non-fat32 esp support: ext 2/3/4, exfat, ntfs, zfs, xfs, btrfs, f2fs, ufs1, ufs1_be, ufs2 - was gonna do bfs (beOS/haikuOS fs support) but literally just forgot, will add in next release! more work planned for ESP in edk2 in later release: port grub luks/raid/lvm drivers, for encrypted esp, also port rebios's vga emulation to legacy seabios. in all: this is a completely legacy-free libreboot release. All the old legacy bloat removed. Migration guides available. Libre UEFI is the future.


r/coreboot • • 8d ago

Ported Coreboot to my 14" Widescreen T61 (Nvidia NVS 140M)

Thumbnail gallery
17 Upvotes

r/coreboot • • 8d ago

Is there a port of coreboot for the dell optiplex 790 or 990 Micro Atx motherboard?

1 Upvotes

I hate dells motherboard bios mainly because of the crap bios. And the constant error messages on startup etc I think you guys know what im talking about.


r/coreboot • • 11d ago

Coreboot port trying(T560)

Thumbnail gallery
3 Upvotes

r/coreboot • • 15d ago

Canoeboot – Canoeboot 26.11 “Carnivorous Olive” released! With full UEFI support.

Thumbnail canoeboot.org
17 Upvotes

This is based on the recent Libreboot 26.10 release. Canoeboot is a version of Libreboot that only supports boards for which an entirely blob-free image can be built; as a result, it supports less hardware than Libreboot which does allow blobs (strictly only when necessary) to support more hardware. This inherits EDK2 UEFI payload support, so it now boots modern operating systems more easily. GRUB EFI provided inside EDK2, configured to behave like the traditional GRUB coreboot payload; this provides backward compatibility as GRUB was previously the recommended payload, but EDK2 is now what both Canoeboot and Libreboot recommend by default. This also inherits the 15h.org coreboot fork for AMD FAM15h support e.g. ASUS KGPE-D16, offering much improved raminit, as did the recent Libreboot release. In all, this is a highly polished and deblobbed version of the recent Libreboot 26.10 release, intended for those purists who only ever want Free Software, to the point that Canoeboot even excludes CPU microcode updates by default.


r/coreboot • • 20d ago

I internally flashed coreboot on my X230 and it worked, but then I noticed the image I flashed was 5 years old. Tried to build a new one and apparently something went wrong. Some soldering and 5 hours later and...

Thumbnail gallery
15 Upvotes

r/coreboot • • 20d ago

My custom boot logo

Thumbnail gallery
19 Upvotes

made it in gimp, reze turned blurry


r/coreboot • • 20d ago

coreboot guide please

Thumbnail reddit.com
1 Upvotes

r/coreboot • • 24d ago

Ryzen 9 5950x + B450

Post image
9 Upvotes

I managed to get some progress on getting coreboot working on a b450 gaming plus paired with a Ryzen 9 5950x


r/coreboot • • 28d ago

Losing my mind trying to flash an ASUS CX3401FBA (MITHRAX) Winbond W25Q256JVEM WSON8 chip with a CH341A

Thumbnail gallery
1 Upvotes

r/coreboot • • 29d ago

T420 1440p/WQHD Mod: Graphical artifacts in Tianocore & Windows (libgfxinit / EDID issue in Coreboot)

Post image
11 Upvotes

Hey guys,

I've just modded my Corebooted ThinkPad T420 with a 1440p (WQHD) display kit (Chinese LVDS to eDP adapter board).

I am facing a weird display issue:

Arch: Works perfectly fine once booted (looks crisp, full resolution).

Tianocore and Windows: Vertical stripe artifacts and graphical glitches.

From what I understand, this happens because libgfxinit uses default display timing instead of reading the custom 2K EDID during the early boot process.

I extracted my panel's edid.bin, but I cannot find an option to embed an external EDID file in Coreboot's make menuconfig.

So my question is how do I integrate the EDID into Coreboot for libgfxinit?

Thanks in advance for any advice!


r/coreboot • • 29d ago

Issue with TPM 2.0 on T480 stock firmware, wanting to check if coreboot/libreboot would fix this.

4 Upvotes

Hi!

I've been playing around with TPM 2.0 on my Thinkpad and the stock firmware seems broken, even on the latest version, part of the early boot TPM interface is non functional and systemd-stub can't measure the boot onto PCR 11, but the raw commands interface and what Linux uses after boot works fine. In the running system 'bootctl status' says 'TPM2 Support: firmware only, driver unavailable', but I'm not sure if this is related because I don't think the EFI TPM interface is available in userspace or even at this running stage.

If anyone has a Thinkpad from this era, like the T480, T480s and X280, with anything UEFI, be it the stock firmware or coreboot/libreboot, would you guys be willing to test this out? It's an EFI program that talks to the firmware's EFI_TCG2_PROTOCOL directly. On my machine, GetCapability, GetActivePcrBanks and GetEventLog all succeed (structure version 1.1, TPM present, banks 0x3), HashLogExtendEvent hangs the whole computer, on PCR 16, 11 and 12, with and without logging but a raw TPM2_PCR_Extend via SubmitCommand works (TPM rc 0).

Edit: Tested on my desktop, completely unrelated hardware, the tests do work there, so at least the code seems sane enough to work somewhere.

What I don't know is whether this is a quirk of my specific unit (stale firmware or TPM state) or something every T480 or perhaps any Thinkpad of this era does.

Here's the source code (181 lines of C) and build script, just point your bootloader to it or add a boot entry with 'efibootmgr', I won't provide a compiled binary because trusting a random EFI binary from the internet would be weird, it depends on gnu-efi to be built.

https://gist.github.com/GBember01/b394dfdef36c4aaf65161e3826013adf

Thanks in advance!


r/coreboot • • Oct 24 '26

Trouble with reading X201 Tablet SPI flash

1 Upvotes

Hello, recently I’ve been starting on trying to flash my X201 tablet with coreboot, but I’ve been having trouble with it. I’ve verified it’s bios chip is supported by flashprog, an MX25L12873F, and I’ve verified my flashers work for out of system programming on other 3.3V chips.

Currently, I’ve been using stacksmashing’s RPI2040 serprog firmware, and a flasher tool meant for automotive chips with support for this flash chip, but both have given me trouble.

flashprog and flashrom give me the following errors:

”

serprog: Programmer name is “pico-serprog”

No EEPROM/flash device found.

”

My other flasher gives an error about not detecting a flash chip connected either, which is strange.

What should I be looking at here?

ATM I think either some circuit on the board’s pulling the W/P pin to locked state, or my programmers are struggling at supplying enough power for the 3.3V rail, since when probing the power coming off the pico while connected to the chip, it goes down to 2.8V.
But this is within the accepted voltages of this chip, it’s rated to work for voltages between 2.6-3.6. But I’m not sure if it’d be the same for the signal pins. Maybe those are going even lower?

I’m thinking I could cobble together something out of the scrap I have that uses the signal outputs of the pico to switch the output of a higher amp 3.3V output (say from a lab bench PSU or just an ATX PSU old enough to still have 3.3 on its SATA connectors) through mosfets, eliminating voltage droop from the equation. Might have to worry about switching time, not sure.

ATP I’m contemplating just cutting off the old chip, reading it out of system to build coreboot from, and just soldering in a socket for a new BIOS chip. Hopefully I won’t need to do this.


r/coreboot • • Oct 23 '26

Coreboot on the Framework Pro 13

Thumbnail reddit.com
3 Upvotes

r/coreboot • • Oct 21 '26

I can't build a custom image for my Thinkpad T480

3 Upvotes

Hey, everytime I tried to build a Libreboot custom image just to swap FN with CTRL on my Thinkpad T480, GRUB spat out the same errors everytime. I'm using the newest Libreboot version 26.10
The GRUB error: https://pastebin.com/35YPNjTS


r/coreboot • • Oct 20 '26

MSI Pro Z690-a / Z790-p are supported, but what about Z790-A?

4 Upvotes

Hello all,

My question is summarized in the title.

For some context, I have a 14600K installed in an MSI Z790-A DDR4 wifi motherboard. It's a great chip, but I've become interested in upgrading to the Bartlett Lake 273PQE.

This chip fits the LGA 1700 socket, but it is not officially supported on consumer boards; some modders have had success using Claude Code to modify the manufacturer's bios to support this chip.

I would like to use a different approach. Replacing the MSI bios with coreeboot could overcome this arbitrary limitation. I am especially encouraged by the fact that I am not alone in this interest; there seems to be an ongoing effort to add Bartlett Lake support to the MSI Z690-A version of coreboot.

Which leads me to be question in the title. I have an MSI Z790-A wifi DDR4 motherboard. Officially coreboot is supported on the Z690A and the Z790P which are very similar, though not exactly the same. Has there been any interest in extending coreboot support to this board in particular? Or would it be too much of a headache?