Project

General

Profile

Actions

Bug #323

open

thinkpad T60 expresscard support

Added by Michael Edelmann about 3 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
board support
Target version:
-
Start date:
12/01/2021
Due date:
% Done:

0%

Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:

Description

I was playing around with expresscard usb 3.0 adapters on a thinkpad T60 and noticed that coreboot breaks its functionality.
i tested both the stock bios and coreboot revision b2e8bd83647f664260120fdfc7d07cba694dd89e, the logs listed under https://www.coreboot.org/Motherboard_Porting_Guide are included in the 'coreboot' and 'stock' directories.
of course i had my card inserted when i took the logs
lspci shows the card under the stock bios, it works fine. coreboot doesnt seem to do anything with it, its getting no power.
the card i got, as seen in the attached image, has been known to work on GNU/Linux for other people out of the box, apparently not for coreboot.
i'd be glad if coreboot supported expresscards for 2 additional USB ports, thanks for taking a look at it!


Files

card.jpg (41.1 KB) card.jpg Michael Edelmann, 11/30/2021 10:16 PM
libgfxinit_corebootfb (16.5 KB) libgfxinit_corebootfb config Michael Edelmann, 11/30/2021 11:18 PM
logs.zip (253 KB) logs.zip Michael Edelmann, 11/30/2021 11:24 PM
Actions #2

Updated by Michael Edelmann about 3 years ago

Actions #3

Updated by Paul Menzel about 3 years ago

Please document kmalkki’s analysis from #coreboot@irc.libera.chat.

Actions #4

Updated by Michael Edelmann about 3 years ago

i forgot to include the hint, the card shows up as
04:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller

from kmalkii on #coreboot@irc.libera.chat:

https://dpaste.org/Dvmk/slim the related rootport 0:1c.2 does not advertise Slot+ for coreboot, but Slot-
and coreboot has LnkSta: DLActive- so it thinks there is no card inserted
It tries to scan the express cards. It's possible this was never tested, and the card slot does not get powered up
you can probably find T60 schematics to see if some GPIO controls power to the slots
mb/lenovo/t60/gpio.c may have some clue: /* EXC_PWR_CTRL / / EXC_AUX_CTRL */

Actions #5

Updated by Chud Anonymous over 1 year ago

same problem here on any recent coreboot revision, known-good ExpressCards that work in an X200 or T400 refuse to work in a T60.

Actions

Also available in: Atom PDF