Corebooting a Thinkpad T430

The T430 is the most affordable yet powerful used Coreboot laptop available on the market. W530 is not that well supported and very rare.

In this thread I want to discuss the process, list parts needed and in the end a guide on how to do it, including pictures, will be available.

I will be using Heads, as this coreboot Distribution has measured boot and support for Hardware based verification (HOTP), as well as Time based verification (TOTP).

What is coreboot?

Roughly, coreboot is a replacement for the old, slow and proprietary BIOS on your PC or Laptop. It allows to initialize your hardware, boot your Operating System, and more:

These features depend on the payload you add to your coreboot installation.

Devices preinstalled

Coreboot comes preinstalled and supported in these devices:

Distributions

Common Coreboot Distributions you can install on existing hardware:

  • Libreboot, now also with binary blobs
  • Skulls: simple T430 distribution
  • Heads: secure distribution with all the nice benefits
  • dasharo: for Novacustom for example, supports fwupd

Hardware for flashing

If you want to be sure its official, or dont have it preinstalled, you will need to flash Coreboot onto your BIOS chips.

Needed tools:

Note: for Thinkpads there is 1vyrain, which uses a BIOS exploit to flash without hardware. This can only use a part of your available BIOS space though, and the Intel ME is not neutered when flashing another Coreboot Distro during Install. So Hardware flashing is recommended.

Procedure

  1. Remove any BIOS password to be sure!

  2. Turn off your Laptop and screw it open. Make sure you have no static electricity on your hands (touch a heater or wear a band).

  3. Remove the battery and power supply, afterwards press the power button several seconds to remove and electricity from the board.

  4. Install flashrom on your other PC. Connect the CH431a programmer with its clip and cable and plug it into a USB port.

  5. Disassemble your to-be-flashed laptop or PC and find the BIOS chips. Attach the clip to one of the chips.

  6. To test the attached connection, read the BIOS image from that chip twice, dont move the Laptop in the meantime. Save the two images under different names and compare using diff or sha256sum.

  7. If the images match, your clip is attached correctly. Flash your Coreboot Distribution of choice. Make sure to use the right chip and image.

  8. You may have a top and bottom image, if yes, attach your clip to the other BIOS chip and repeat step 6, flash the other BIOS chip with the matching image.

To be continued…

3 Likes

This is cool stuff, thanks a lot Torsten! :slight_smile: I have no knowledge regarding firmware flashing but it’s something I want to do long-term (and if I ever find a T430 I can buy irl). Hence, a low-bar explanatory walk-through like you seem to want to create here is highly appreciated! :star_struck:

1 Like

The QubesOS forum has some people that did it, but gathering all the infos is hard. I will try it anyways and things are coming together well

1 Like