AnsweredAssumed Answered

Issues with PCIe initialization on i.MX7D Sabre Rev D

Question asked by Anna Horstmann on Mar 14, 2017
Latest reply on Mar 29, 2017 by Yuri Muhin

Hi,

I am having issues with the PCIe interface on the i.MX7D Sabresd Rev D1 board. The PCIe interface is able to initialize when an Intel Wireless 5300 miniPCIe card is plugged in, however when an Intel Wireless 3160 is used both the device and the PCI bridge fail to initialize. I've verified the 3160 card's functionality with an i.MX6Q board, using the same kernel version (release 4.1.15_2.0.1), and this works fine. Do you know what is causing this issue?

 

Again, this was tested with:

  • i.MX7D Sabre Rev D1
  • BSP release L4.1.15_2.0.1

 

Output with 5300 connected:

root@imx7dsabresd:~# dmesg | grep -i pci
[ 0.250709] PCI: CLS 0 bytes, default 64
[ 1.087959] ehci-pci: EHCI PCI platform driver
[ 2.915297] 33800000.pcie supply pcie-bus not found, using dummy regulator
[ 2.984842] imx6q-pcie 33800000.pcie: PCI host bridge to bus 0000:00
[ 2.989929] pci_bus 0000:00: root bus resource [io 0x1000-0xffff]
[ 2.994815] pci_bus 0000:00: root bus resource [mem 0x40000000-0x4fefffff]
[ 3.000410] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 3.004625] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400
[ 3.004651] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[ 3.004669] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
[ 3.004720] pci 0000:00:00.0: supports D1
[ 3.004728] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold
[ 3.004985] PCI: bus0: Fast back to back transfers disabled
[ 3.009470] pci 0000:01:00.0: [8086:4235] type 00 class 0x028000
[ 3.009545] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64bit]
[ 3.009817] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[ 3.026197] PCI: bus1: Fast back to back transfers disabled
[ 3.030481] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 3.030586] pci 0000:00:00.0: BAR 0: assigned [mem 0x40000000-0x400fffff]
[ 3.036087] pci 0000:00:00.0: BAR 8: assigned [mem 0x40100000-0x401fffff]
[ 3.041602] pci 0000:00:00.0: BAR 6: assigned [mem 0x40200000-0x4020ffff pref]
[ 3.047547] pci 0000:01:00.0: BAR 0: assigned [mem 0x40100000-0x40101fff 64bit]
[ 3.053593] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 3.057280] pci 0000:00:00.0: bridge window [mem 0x40100000-0x401fffff]
[ 3.063081] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[ 3.068865] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt
[ 3.074121] pcie_pme 0000:00:00.0:pcie01: service driver pcie_pme loaded
[ 3.074263] aer 0000:00:00.0:pcie02: service driver aer loaded
[ 7.594776] vgaarb: this pci device is not a vga device
[ 7.658858] vgaarb: this pci device is not a vga device


root@imx7dsabresd:~# lspci
00:00.0 PCI bridge: Synopsys, Inc. Device abcd (rev 01)
01:00.0 Network controller: Intel Corporation Ultimate N WiFi Link 5300


Output with 3160 connected:
root@imx7dsabresd:~# dmesg | grep -i pci
[ 0.250811] PCI: CLS 0 bytes, default 64
[ 1.087695] ehci-pci: EHCI PCI platform driver
[ 2.915456] 33800000.pcie supply pcie-bus not found, using dummy regulator
[ 3.178369] imx6q-pcie 33800000.pcie: phy link never came up
[ 3.182766] imx6q-pcie 33800000.pcie: failed to initialize host
[ 3.187543] imx6q-pcie: probe of 33800000.pcie failed with error -22

 

Thanks,

Anna

Outcomes