AnsweredAssumed Answered

PCIE on iMX6Q problems

Question asked by Minh Nguyen on Jul 23, 2019
Latest reply on Aug 1, 2019 by Minh Nguyen

Hello Everyone,

 

I want to implement a Wlan card from LAIRD to a custom iMX6Q from Phytec based on distro fsl-imx-xwayland. The meta-laird-cp wifi driver and backport is already included in bb layer and conf file. On the booting, I think PCIe has some problems:

[    0.550313] imx6q-pcie 1ffc000.pcie: phy link never came up
[    0.550727] imx6q-pcie 1ffc000.pcie: PCI host bridge to bus 0000:00
[    0.550760] pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
[    0.550786] pci_bus 0000:00: root bus resource [mem 0x01000000-0x01efffff]
[    0.550814] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.551636] PCI: bus0: Fast back to back transfers disabled
[    0.551912] PCI: bus1: Fast back to back transfers enabled
[    0.552110] pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff]
[    0.552151] pci 0000:00:00.0: BAR 6: assigned [mem 0x01100000-0x0110ffff pref]
[    0.552179] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.552595] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt

 

The PCI host seem to be can not detected because there is no mapping for PCI IO and PCI MEM. The signal PME is also interrupt.

When I test with command lspci -v, system can not detect the wlan card, just only the PCI bridge:

00:00.0 PCI bridge: Synopsys, Inc. Device abcd (rev 01) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 298
        Memory at 01000000 (32-bit, non-prefetchable) [size=1M]
        Bus: primary=00, secondary=01, subordinate=ff, sec-latency=0
        I/O behind bridge: None
        Memory behind bridge: None
        Prefetchable memory behind bridge: None
        [virtual] Expansion ROM at 01100000 [disabled] [size=64K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable+ Count=1/1 Maskable+ 64bit+
        Capabilities: [70] Express Root Port (Slot-), MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Kernel driver in use: pcieport

 

Do I configure the PCI driver correct? Anyone have idea about this. Hope that you can help me.

 

Thanks and Best Regards,

Minh.

Outcomes