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