Issue #548 has been updated by Martin Roth.
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.
---------------------------------------- Bug #548: Lenovo X201 Fails To Recognize Upgraded WiFi Card https://ticket.coreboot.org/issues/548#change-1894
* Author: Jeremy Brown * Status: New * Priority: Normal * Target version: none * Start date: 2024-07-15 ---------------------------------------- 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](https://richbits.rbarnes.org/installing-the-intel-7260-in-the-thinkpad-x201....) so I don't think there's an electrical issue. I've seen [somewhat related bugs](https://ticket.coreboot.org/issues/311) 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) 7260_lspci_tree.txt (1.57 KB) 6205_lspci.txt (12.8 KB) 7260_lspci.txt (12.2 KB) coreboot.cfg (20.1 KB) 6205_root_inspection.txt (3.58 KB) 7260_root_inspection.txt (3.58 KB) 6205_cbmem_dump.txt (43.2 KB) 7260_cbmem_dump.txt (42.1 KB)