Project

General

Profile

Actions

Bug #548

open

Lenovo X201 Fails To Recognize Upgraded WiFi Card

Added by Jeremy Brown 3 months ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
07/15/2024
Due date:
% Done:

0%

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

Description

I am running coreboot 24.05 on my Lenovo X201.

I decided to upgrade my WiFi card from an Intel Centrino Advanced-N 6205 to an Intel Wireless-AC 7260; since I selected the option to support Intel PCIe cards in my build config I expected everything to work but my computer fails to recognize the new card. The old card is still recognized if I reinstall it so I know I didn't mess up the socket somehow; I've read reports of the 7260 working with a modded factory BIOS so I don't think there's an electrical issue. I've seen somewhat related bugs but it seems their issue isn't mine.

I've attached lspci data from both chips and my build config, lmk if additional information is needed.


Files

6205_lspci_tree.txt (1.63 KB) 6205_lspci_tree.txt Jeremy Brown, 07/15/2024 06:37 AM
7260_lspci_tree.txt (1.57 KB) 7260_lspci_tree.txt Jeremy Brown, 07/15/2024 06:37 AM
6205_lspci.txt (12.8 KB) 6205_lspci.txt Jeremy Brown, 07/15/2024 06:37 AM
7260_lspci.txt (12.2 KB) 7260_lspci.txt Jeremy Brown, 07/15/2024 06:37 AM
coreboot.cfg (20.1 KB) coreboot.cfg Jeremy Brown, 07/15/2024 06:43 AM
6205_root_inspection.txt (3.58 KB) 6205_root_inspection.txt Jeremy Brown, 07/16/2024 12:08 AM
7260_root_inspection.txt (3.58 KB) 7260_root_inspection.txt Jeremy Brown, 07/16/2024 12:08 AM
6205_cbmem_dump.txt (43.2 KB) 6205_cbmem_dump.txt Jeremy Brown, 07/17/2024 04:14 AM
7260_cbmem_dump.txt (42.1 KB) 7260_cbmem_dump.txt Jeremy Brown, 07/17/2024 04:15 AM
Actions #1

Updated by Jeremy Brown 3 months ago

Actions #3

Updated by Nico Huber 3 months ago

Looks like the PCIe link is completely down. I wouldn't say it's likely with an Intel card, but it's possible that this happens when coreboot enables the link power management (assuming the link worked without pm). A coreboot log would tell us. You can fetch it from a running system with sudo cbmem -c (if installed, if not make -C util/cbmem/ && sudo util/cbmem/cbmem -c in the coreboot source tree).

Updated by Jeremy Brown 3 months ago

I've uploaded logs with both the 6205 and 7260 cards installed.

Actions #5

Updated by Jeremy Brown 2 months ago

Is there anything else I need to provide to get this bug moving? I remember one idea discussed previously was backporting later southbridge code to my board, can that still be done?

Actions #6

Updated by Martin Roth about 2 months ago

  • Subject changed from Computer Fails To Recognize Upgraded WiFi Card to Lenovo X201 Fails To Recognize Upgraded WiFi Card

This could be an issue with the power-on timing of the PCIe slots. Typically there will be GPIOs that control power, reset and wifi/bluetooth enables on the slot. The chip on the module will give specific timings that need to be met for the card to work. If the timings aren't met, the card might not initialize properly.

You can look at the connector spec to see which pin is used for what, then try enabling and disabling the GPIOs to see which controls what (Assuming they're not already set in the GPIO config).

As I recall, typically you'll power it on in the boot block, then bring it out of reset in romstage, and wifi needs to be enabled before PCI enumeration in ramstage. Bluetooth is typically USB, so it just needs to be enabled before boot.

Obviously, I can't promise that this is the problem in your case, but I've seen issues where having the wrong timings kept the card from enumerating.

Actions #7

Updated by Maya Matuszczyk about 2 months ago

Jeremy Brown wrote:

I am running coreboot 24.05 on my Lenovo X201.

I decided to upgrade my WiFi card from an Intel Centrino Advanced-N 6205 to an Intel Wireless-AC 7260; since I selected the option to support Intel PCIe cards in my build config I expected everything to work but my computer fails to recognize the new card. The old card is still recognized if I reinstall it so I know I didn't mess up the socket somehow; I've read reports of the 7260 working with a modded factory BIOS so I don't think there's an electrical issue. I've seen somewhat related bugs but it seems their issue isn't mine.

I've attached lspci data from both chips and my build config, lmk if additional information is needed.

I'm using a miniPCIe AX210 card with coreboot on my X201 and so far it works perfectly fine with this config https://ticket.coreboot.org/attachments/460

Actions

Also available in: Atom PDF