Bug #548
openLenovo X201 Fails To Recognize Upgraded WiFi Card
0%
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
Updated by Jeremy Brown 2 months ago
- File coreboot.cfg coreboot.cfg added
- Description updated (diff)
Updated by Jeremy Brown 2 months ago
- File 6205_root_inspection.txt 6205_root_inspection.txt added
- File 7260_root_inspection.txt 7260_root_inspection.txt added
Updated by Nico Huber 2 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 2 months ago
- File 6205_cbmem_dump.txt 6205_cbmem_dump.txt added
- File 7260_cbmem_dump.txt 7260_cbmem_dump.txt added
I've uploaded logs with both the 6205 and 7260 cards installed.
Updated by Jeremy Brown about 1 month 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?
Updated by Martin Roth 26 days 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.
Updated by Maya Matuszczyk 15 days 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