Install Libreboot on Lenovo ThinkPad X270/T480/T480s/T580/X280


Return to index

Lenovo ThinkPad T480 with Libreboot pre-installed Lenovo ThinkPad T580 with Libreboot pre-installed Lenovo ThinkPad X280 with Libreboot pre-installed
Specifications
Manufacturer Lenovo
Name ThinkPad T480/s/T580/X270/X280
Released 2018
Chipset Intel Skylake / KabyLake / Refresh
CPU Intel Skylake / KabyLake / Refresh
Graphics Intel HD 520 -> UHD 620
Display 12.5" 1366x768 -> 15.6" 3840x2160
Memory 64GB (less for some) DDR4 DIMMs (2x32 GB)
Architecture x86-64-v3 (+ older)
Original boot firmware Lenovo UEFI firmware
Intel ME/AMD PSP Present. Disabled with me_cleaner.
Intel Boot Guard Disabled using the deguard utility.
Flash chip SOIC-8 16MB/128Mbit system firmware
W+: Works without vendor firmware; 
N: Doesn't work; 
W*: Works with vendor firmware; 
U: Untested; 
P+: Partially works; 
P*: Partially works with vendor firmware
?: UNKNOWN AT THIS TIME
Features
Internal flashing with original boot firmware N
Display (if Intel GPU) W+
Display (discrete GPU, SeaBIOS payload only) N
Audio W+
RAM Init W*

Get the ROM image

Download from release

If you’re using a release ROM, please ensure that you’ve inserted extra firmware required refer to the guide for that (, failure to adhere to this advice will result in a bricked machine):

Build from source

X270:

./mk -b coreboot lenovo_thinkpad_x270_16mb

T480:

./mk -b coreboot lenovo_thinkpad_t480_16mb

T480s:

./mk -b coreboot lenovo_thinkpad_t480s_16mb

T580:

./mk -b coreboot lenovo_thinkpad_t580_16mb

X280:

./mk -b coreboot lenovo_thinkpad_x280_16mb

Internal/Software Flashing

Default Libreboot firmwares updatable.

External/Hardware Flashing

Prerequisites

Update Thunderbolt & Lenovo firmwares first

THUNDERBOLT BUG FIX

Before installing Libreboot for the first time, it is important that you first update the Lenovo UEFI firmware and EC firmware to a specific version, mentioned below.

Prerequisite setup steps in stock T480 BIOS/UEFI before running the BIOS updater in Windows, the one provided by Lenovo. Set these:

With these changes, now proceed to the instructions below. You will boot the updater via USB.

MAKE SURE to update the Lenovo UEFI firmware before installing Libreboot. You must also make a dump of the NOR flash, before updating Lenovo’s firmware, and once again before flashing Libreboot, being sure you have good dumps.

Upgrade to the latest Lenovo firmware, EXCEPT if you need UART support (T480/T580 only, not for t480s):

To have UART in Libreboot, make sure to use the n24ur39w release, when updating Lenovo firmware. Or downgrade to this version. This is because the EC UART support in coreboot specifically taps into the EC code of that release. See and download here.

Prep a USB stick with it:

geteltorito -o t480_bios_update.img /path/to/your/downloaded.iso

Now DD it to the raw USB flash device:

dd if=t480_bios_update.img of=/dev/sdX bs=4M conv=fsync status=progress

You must disable Secure Rollback Prevention in the BIOS, under UEFI BIOS Update Option; please also enable Flash BIOS Updating by End Users.

You must disable SecureBoot, and enable legacy/CSM boot, and boot it in BIOS mode, not UEFI mode. Make sure your battery is well-charged, and boot it with a battery and with the power supply plugged in. Select option 2 in the menu, to update your BIOS, which also updates the EC firmware. This is the Lenovo BIOS/UEFI updater. Once you’ve updated, you can flash Libreboot.

Please ensure also that you’ve already dealt with the Thunderbolt issue, which is described above. After all of this, you can flash Libreboot.

Disassemble & flash (T480 below)

Find videos online of how to disassemble this, and/or find Lenovo’s own service manual online. Otherwise, observe:

ThinkPad T480 underside chassis

Remove all screws, and you can gently pry off the lower chassis and remove, which then allows you to see the inner motherboard:

ThinkPad T480 PCB

ThinkPad T480 internal battery

On the T480s (S model) the internal battery is much larger, and the connector on it is built into the battery, so it is necessary to carefully remove the entire battery; on regular T480 (non-S model) the internal battery can be isolated via the connector as depicted above.

This photo shows the flash:

ThinkPad T480 NOR flash (system firmware)

There is another flash, for the Thunderbolt firmware, which you are to briefly ignore; we’ll cover it later:

ThinkPad T480 NOR flash (thunderbolt firmware)

To be clear: the system flash (16MB) is what you put Libreboot on. The Thunderbolt firmware flash is much smaller, so you’ll know because flashprog will complain about wrong flash size if you’re trying to flash the wrong one.

On the T480s (S model), the flashes are in slightly different places but in both machines, the system flash (for Libreboot) is toward the centre, near the memory.

WARNING: PLEASE MAKE SURE to remove the battery before flashing. The T480 and T480s can both contain INTERNAL batteries, and the T480 has an additional external battery. Remove the internal battery via the connector, like so (T480):

After updating/fixing everything and finding the chip, flash it.

MAC address

This platform uses an Intel Flash Descriptor, and defines an Intel GbE NVM region. As such, release/build ROMs will contain the same MAC address. To change the MAC address, please read nvmutil documentation.

NOTE: If changing the MAC address, please give ifdtool the following argument when using it: --platform sklkbl - otherwise, ifdtool will handle the IFD incorrectly!

Device Unique Properties

Differences among variants

The T480s (S model) has 8/4GB onboard RAM instead of a DIMM slot.

Certain hardware features, which work a little bit differently due to idiosyncrasies of coreboot, but installation steps are similar compared to the T480; the same disassembly method, and the flash is just as easy to find, in roughly the same spots on each.

Working/Issues

Thunderbolt

Caused S3 resume to fail for some users. More testing is needed. This was based on a patch from coreboot gerrit, that was (at that time) not yet merged upstream.

thinkpad_acpi

Does not load correctly on the T480. This should also be the case for the T480s. If you encounter this issue, check this page for details as to how to fix this.

Expanded_Specifications

X270

Specifications
Manufacturer Lenovo
Name/Variant ThinkPad X270
Released 2018
Chipset Intel HM175/Q170
CPU Intel 6th gen. & 7th gen.
Graphics Intel HD 520 & HD 620
Display 12.5" 1366x768 -> 1920x1080
Memory 16GB DDR4 DIMM (1x16 GB)
Audio Realtek ALC3268
Networking Intel I219-V/LM, Intel Dual Band Wireless-AC 8265, Optional modules; 3G/4G
Expansion Slots PCIe 3.0 with M.2; x4,
Storage connectors SATA III, M.2 SATA III (WWAN slot)
I/O Ports on Left USB-C 3.1 (Thunderbolt 3 compatible*1), HDMI, USB 3.1, Smartcard reader
I/O Ports on Right Security cable slot (Kensington lock), RJ-45 1GbE (Ethernet), USB 3.1, Jack audio in (mic, speaker)
I/O Ports on Bottom Custom dock connector*2

*1,2 Compatible ThinkPad Docks: 40A0 (Basic), 40A1 (Pro), 40A2 (Ultra), USB-C Docks

T480

Specifications
Manufacturer Lenovo
Name/Variant ThinkPad T480
Released 2018
Chipset Intel Kaby Lake Base-U?
CPU Intel 7th gen. & 8th gen.
Graphics Intel HD 620 & UHD 620
Display 14" 1366x768 -> 2560x1440
Memory 64GB DDR4 DIMMs (2x32 GB)
Audio Realtek ALC3287
Networking Intel I219-V/LM, Intel Dual Band Wireless-AC 8265, Optional modules; 3G/4G
Expansion Slots PCIe 3.0 with M.2; x4 2280 (, an extra Mod-able 3rd at x2 if no dgpu present)
Storage connectors SATA III, M.2 SATA III (WWAN slot)
I/O Ports on Left 2x USB-C 3.1 (1x Thunderbolt 3 compatible*1), RJ-45 1GbE (Ethernet), HDMI, Jack audio in (mic, speaker), SD/MMC card reader
I/O Ports on Right Security cable slot (Kensington lock), USB 3.1, Smartcard reader

*1 custom docks can be mounted; Lenovo ThinkPad Ultra Docking Station 40AJ series, USB-A/C Docks

T480s

Specifications
Manufacturer Lenovo
Name/Variant ThinkPad T480s
Released 2018
Chipset Intel Kaby Lake Base-U?
CPU Intel 7th gen. & 8th gen.
Graphics Intel HD 620 & UHD 620
Display 14" 1920x1080 -> 2560x1440
Memory 40/36GB DDR4 DIMMs (soldered 8/4+32 GB)
Audio Realtek ALC3287
Networking Intel I219-V/LM, Intel Dual Band Wireless-AC 8265, Optional modules; 3G/4G
Expansion Slots PCIe 3.0 with M.2; x4 2280(, an extra Mod-able 3rd at x2 if no dgpu present)
Storage connectors M.2 SATA III (WWAN slot)
I/O Ports on Left 2x USB-C 3.1 (1x Thunderbolt 3 compatible*1), RJ-45 1GbE (Ethernet), HDMI, Jack audio in (mic, speaker), SD/MMC card reader
I/O Ports on Right Security cable slot (Kensington lock), USB 3.1, Smartcard reader

*1 custom docks can be mounted; Lenovo ThinkPad Ultra Docking Station 40AJ series, USB-A/C Docks

T580

Specifications
Manufacturer Lenovo
Name/Variant ThinkPad T580
Released 2018
Chipset Intel Kaby Lake Base-U?
CPU Intel 7th gen. & 8th gen.
Graphics Intel HD 620 & UHD 620
Display 15.6" 1920x1080 -> 3840x2160
Memory 64GB DDR4 DIMMs (2x32 GB)
Audio Realtek ALC3287
Networking Intel I219-V/LM, Intel Dual Band Wireless-AC 8265, Optional modules; 3G/4G
Expansion Slots PCIe 3.0 with M.2; x4, (, an extra Mod-able 3rd at x2 if no dgpu present)
Storage connectors SATA III, M.2 SATA III (WWAN slot)
I/O Ports on Left 2x USB-C 3.1 (1x Thunderbolt 3 compatible*1), Smartcard reader
I/O Ports on Right Security cable slot (Kensington lock), RJ-45 1GbE (Ethernet), 2x USB-A 3.1, HDMI, SD/MMC card reader, Jack audio in (mic, speaker)

*1 custom docks can be mounted; Lenovo ThinkPad Ultra Docking Station 40AJ series, USB-A/C Docks

X280

Specifications
Manufacturer Lenovo
Name/Variant ThinkPad X280
Released 2018
Chipset Intel Kaby Lake Base-U?
CPU Intel 7th gen. & 8th gen.
Graphics Intel HD 620 & UHD 620
Display 12.5" 1366x768 -> 1920x1080
Memory 32GB DDR4 DIMMs (soldered 2x16 GB)
Audio Realtek ALC3287
Networking Intel I219-V/LM, Intel Dual Band Wireless-AC 8265, Optional modules; 3G/4G
Expansion Slots PCIe 3.0 with M.2; x4
Storage connectors M.2 SATA III (WWAN slot)
I/O Ports on Left 2x USB-C 3.1 (1x Thunderbolt 3 compatible*1), HDMI, Jack audio in (mic, speaker)
I/O Ports on Right Security cable slot (Kensington lock), USB 3.1, Smartcard reader

*1 custom docks can be mounted; Lenovo ThinkPad Ultra Docking Station 40AJ series, USB-A/C Docks

Markdown file for this page: https://libreboot.org/docs/install/t480.md

Site map

This HTML page was generated by the Libreboot Static Site Generator.