PCI Express on Apalis Evaluation Board

Hello,
I’m trying to connect a device on the PCI express bus of an Apalis Evaluation Board with an Apalis IMX6Q 2GB IT module. It seems that the PCI express bus doesn’t work neither with the 2.7 image version nor with the 2.8b2.97 image version.
With the Toradex Embedded Linux Image V2.7 I have the following results:

root@apalis-imx6:~# uname -a
Linux apalis-imx6 4.1.44-2.7.4+gb1555bf #1 SMP Wed Oct 4 22:39:51 UTC 2017 armv7l GNU/Linux

root@apalis-imx6:~# dmesg | grep pci
[    1.633499] ehci-pci: EHCI PCI platform driver
[    2.790648] 1ffc000.pcie supply pcie-bus not found, using dummy regulator
[    3.129940] imx6q-pcie 1ffc000.pcie: phy link never came up
[    3.140727] imx6q-pcie 1ffc000.pcie: failed to initialize host
[    3.151970] imx6q-pcie: probe of 1ffc000.pcie failed with error -22

root@apalis-imx6:~# lspci
root@apalis-imx6:~#

It seems that the PCI link never comes up.

I then tried the image version 2.8b2.97 and the results are the following:

root@apalis-imx6:~# uname -a
Linux apalis-imx6 4.9.84-2.8.2+gb2a7f2f #1 SMP Sat Mar 31 02:44:15 UTC 2018 armv7l GNU/Linux

root@apalis-imx6:~# dmesg | grep pci
[    0.316100] OF: PCI: host bridge /soc/pcie@0x01000000 ranges:
[    0.316139] OF: PCI:   No bus range found for /soc/pcie@0x01000000, using [bus 00-ff]
[    0.565886] imx6q-pcie 1ffc000.pcie: phy link never came up
[    0.565926] imx6q-pcie 1ffc000.pcie: Link never came up
[    0.569015] imx6q-pcie 1ffc000.pcie: failed to initialize host
[    0.569116] imx6q-pcie: probe of 1ffc000.pcie failed with error -110
[    2.028289] ehci-pci: EHCI PCI platform driver

root@apalis-imx6:~# lspci
root@apalis-imx6:~#

Even in this case the PCI link never comes up but with a different error code.
I’m doing something wrong or it’s possible that my board has some problem?
Best Regards

hello mgamba

Welcome to the Toradex Community.

Is your setup (module + carrier Board) new? Could you try this with a different module or carrier Board?

The setup (module + carrier board) were bought in november, but only now we are trying the PCI express interface. I can’t try with different modules ora carrier boards because I have only this.

What hardware have you connected to the Apalis Carrier Board? Which card did you insert in the Mini PCIe Slot? Could you also try without connecting any PCIe cards?
Thanks

In the MINI PCIe port there’s nothing inserted. There’s a Xilinx evaluation board connected (that works for sure) in the PCIe connector X43. There’s no more hardware connected to the board except the serial cable for the debug console. I tried also with no boards inserted in any PCIe slot and the result is exactly the same. Thanks.

hi, it seems to be a hardware issue. Sorry that you have this experience. You can ask for a RMA and put this community post as reference.
Best regards, Jaski