Board:lenovo/t410s

From coreboot
Jump to navigation Jump to search

The wiki is being retired!

Documentation is now handled by the same processes we use for code: Add something to the Documentation/ directory in the coreboot repo, and it will be rendered to https://doc.coreboot.org/. Contributions welcome!

WIP: nothing works

Initial driver for this port is stefanct. I am currently investigating only and plan to start porting at the Prague meeting 2014. This page currently sums up my findings.

Logs

lspci -nn

00:00.0 Host bridge [0600]: Intel Corporation Core Processor DRAM Controller [8086:0044] (rev 02)
00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02)
00:16.0 Communication controller [0780]: Intel Corporation 5 Series/3400 Series Chipset HECI Controller [8086:3b64] (rev 06)
00:19.0 Ethernet controller [0200]: Intel Corporation 82577LM Gigabit Network Connection [8086:10ea] (rev 06)
00:1a.0 USB controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c] (rev 06)
00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b57] (rev 06)
00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 [8086:3b42] (rev 06)
00:1c.1 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 [8086:3b44] (rev 06)
00:1c.3 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 [8086:3b48] (rev 06)
00:1d.0 USB controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34] (rev 06)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev a6)
00:1f.0 ISA bridge [0601]: Intel Corporation 5 Series/3400 Series Chipset LPC Interface Controller [8086:3b0f] (rev 06)
00:1f.2 SATA controller [0106]: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller [8086:3b2f] (rev 06)
00:1f.3 SMBus [0c05]: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller [8086:3b30] (rev 06)
00:1f.6 Signal processing controller [1180]: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem [8086:3b32] (rev 06)
03:00.0 Network controller [0280]: Intel Corporation Centrino Ultimate-N 6300 [8086:4238] (rev 35)
05:00.0 SD Host controller [0805]: Ricoh Co Ltd MMC/SD Host Controller [1180:e822] (rev 01)
05:00.1 System peripheral [0880]: Ricoh Co Ltd R5U2xx (R5U230 / R5U231 / R5U241) [Memory Stick Host Controller] [1180:e230] (rev 01)
ff:00.0 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers [8086:2c62] (rev 02)
ff:00.1 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:2d01] (rev 02)
ff:02.0 Host bridge [0600]: Intel Corporation Core Processor QPI Link 0 [8086:2d10] (rev 02)
ff:02.1 Host bridge [0600]: Intel Corporation Core Processor QPI Physical 0 [8086:2d11] (rev 02)
ff:02.2 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d12] (rev 02)
ff:02.3 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d13] (rev 02)

LCD Panel

LTN141BT08001
EDID (in hex):
	00ffffffffffff0030ae364000000000
	00120103801e1378eae59593564f9028
	28505400000001010101010101010101
	010101010101c129a0e451841a303020
	36002fbe10000019de22a02c51847e30
	302036002fbe100000190000000f0095
	0a32950a281e09004ca34254000000fe
	004c544e3134314254303830303100cb
EDID vendor "LEN", prod id 16438

everything else

File:T410s-logs.zip

Flashing

Using (vanilla) flashrom with the vendor firmware is impossible. The flash layout has read-only and locked regions.

0x54: 0x00000000 FREG0: Warning: Flash Descriptor region (0x00000000-0x00000fff) is read-only.
0x58: 0x07ff0500 FREG1: BIOS region (0x00500000-0x007fffff) is read-write.
0x5C: 0x04ff0003 FREG2: Warning: Management Engine region (0x00003000-0x004fffff) is locked.
0x60: 0x00020001 FREG3: Gigabit Ethernet region (0x00001000-0x00002fff) is read-write.

Even worse, the top ~200 kB (0x2FFFF bytes) are read-only due to Protected Region 0.

0x74: 0x9fff07d0 PR0: Warning: 0x007d0000-0x01ffffff is read-only.
The flash chip is the one with the orange dot.

Therefore external flashing is necessary to get coreboot installed. Luckily the flash chip is easily accessible via the maintenance slot for the DIMM and miniPCIe slots as seen in the picture. It is a Winbond W25X64 (8 MB) in a SOIC 8 package.

The supply for the flash area (i.e. for VCC and pullups) is connected to the system via an 0-Ohm solder bridge (R374), highlighted in the picture. Other Thinkpads use a Schottky diode instead - for a good reason: with the direct connection an external programmer has to power not only the flash chip but some other (unwanted) peripherals of the board as well. I have tried a few programmers (ch341a, BBB, Dediprog SF100) without an external supply and all of them fail to provide enough power. Therefore I have removed the resistor and added a jumper instead, which works fine but is a bit of a hassle.