coreboot-kgpe-d16/Documentation/mainboard/lenovo/t440p.md
Iru Cai 871f62c376 lenovo/t440p: Add HDA verbs from the OEM firmware
To get the HDA verbs from the OEM firmware, open the firmware with
UEFITool, search for the existing HDA verbs, extract the UEFI module
and look for the verbs. Copy the consecutive 4 dword sets that look
like HDA verbs.

It is tested to make audio output from both the speaker and headphone
work.

Change-Id: Ie359fdf6785b1c0be8dc201cd76176c0a7fe7942
Signed-off-by: Iru Cai <mytbk920423@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45693
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2020-09-30 10:13:48 +00:00

1.8 KiB

Lenovo ThinkPad T440p

This page describes how to run coreboot on Lenovo ThinkPad T440p.

Required proprietary blobs

Please see mrc.bin.

Flashing instructions

T440p has two flash chips, an 8MB W25Q64FV and a 4MB W25Q32FV. To flash coreboot, you just need to remove the big door according to the T440 Hardware Maintenance Manual and flash the 4MB chip.

T440p flash chip

To access the 8MB chip, you need to remove the base cover.

T440p 8MB flash chip

The flash layout of the OEM firmware is as follows:

00000000:00000fff fd
00001000:00002fff gbe
00003000:004fffff me
00500000:00bfffff bios

After flashing coreboot, you may need to re-plug the AC adapter to make the laptop able to power on.

Known Issues

  • Cannot get the mainboard serial number from the mainboard: the OEM UEFI firmware gets the serial number from an "emulated EEPROM" via I/O port 0x1630/0x1634, but it's still unknown how to make it work
  • The dGPU does not currently work in Windows.

Working

  • boot Arch Linux with Linux 4.19.77 from SeaBIOS payload
  • integrated graphics init with libgfxinit
  • EHCI debug: the port is the non-charging USB2 port on the right
  • video output: internal (eDP), miniDP, dock DP, dock HDMI
  • ACPI support
  • keyboard and trackpoint
  • SATA
  • M.2 SATA SSD
  • USB
  • Ethernet
  • WLAN
  • WWAN
  • bluetooth
  • virtualization: VT-x and VT-d
  • dock
  • CMOS options: wlan, trackpoint, fn_ctrl_swap
  • internal flashing when IFD is unlocked
  • using me_cleaner
  • dGPU (must be enabled in CMOS options)