PCIe connector not finding PCI device

Hello,

Relativley new to linux and TX2 so please bear with me. My company purchased the Jetson TX2 dev kit and I am testing all capabilities and working to test our PCI peripherals with the TX2. When I plug our boards into the PCI connector and start the TX2, it fails to discover devices and the

lspci

command returns nothing. I have tried to rescan using

sudo echo 1 > /sys/bus/pci/rescan

but to no avail. Any help would be appreciated. I have Jetpack 3.2 installed on the TX2.

Thank you

This is what I get with dmesg

root@tegra-ubuntu:/home/nvidia# dmesg | grep pci
[    0.142120] node /plugin-manager/fragment-500-pcie-config match with board >=3310-1000-500
[    0.142829] node /plugin-manager/fragment-500-e3325-pcie match with board >=3310-1000-500
[    0.267190] iommu: Adding device 10003000.pcie-controller to group 50
[    7.945798] tegra-pcie 10003000.pcie-controller: 4x1, 1x1 configuration
[    7.955457] tegra-pcie 10003000.pcie-controller: PCIE: Enable power rails
[    7.965316] tegra-pcie 10003000.pcie-controller: probing port 0, using 4 lanes
[    7.966836] tegra-pcie 10003000.pcie-controller: probing port 2, using 1 lanes
[    8.396658] tegra-pcie 10003000.pcie-controller: link 0 down, retrying
[    8.816459] tegra-pcie 10003000.pcie-controller: link 0 down, retrying
[    9.218537] tegra-pcie 10003000.pcie-controller: link 0 down, retrying
[    9.220577] tegra-pcie 10003000.pcie-controller: link 0 down, ignoring
[    9.630214] tegra-pcie 10003000.pcie-controller: link 2 down, retrying
[   10.058315] tegra-pcie 10003000.pcie-controller: link 2 down, retrying
[   10.462635] tegra-pcie 10003000.pcie-controller: link 2 down, retrying
[   10.464651] tegra-pcie 10003000.pcie-controller: link 2 down, ignoring
[   10.464657] tegra-pcie 10003000.pcie-controller: PCIE: no end points detected
[   10.465004] tegra-pcie 10003000.pcie-controller: PCIE: Disable power rails
root@tegra-ubuntu:/home/nvidia# lspci -vvv
root@tegra-ubuntu:/home/nvidia# lspci
root@tegra-ubuntu:/home/nvidia# lspci -t
-[0000:00]-
root@tegra-ubuntu:/home/nvidia# echo 1 > /sys/bus/pci/rescan
root@tegra-ubuntu:/home/nvidia# lspci
root@tegra-ubuntu:/home/nvidia# dmesg | grep pci
[    0.142120] node /plugin-manager/fragment-500-pcie-config match with board >=3310-1000-500
[    0.142829] node /plugin-manager/fragment-500-e3325-pcie match with board >=3310-1000-500
[    0.267190] iommu: Adding device 10003000.pcie-controller to group 50
[    7.945798] tegra-pcie 10003000.pcie-controller: 4x1, 1x1 configuration
[    7.955457] tegra-pcie 10003000.pcie-controller: PCIE: Enable power rails
[    7.965316] tegra-pcie 10003000.pcie-controller: probing port 0, using 4 lanes
[    7.966836] tegra-pcie 10003000.pcie-controller: probing port 2, using 1 lanes
[    8.396658] tegra-pcie 10003000.pcie-controller: link 0 down, retrying
[    8.816459] tegra-pcie 10003000.pcie-controller: link 0 down, retrying
[    9.218537] tegra-pcie 10003000.pcie-controller: link 0 down, retrying
[    9.220577] tegra-pcie 10003000.pcie-controller: link 0 down, ignoring
[    9.630214] tegra-pcie 10003000.pcie-controller: link 2 down, retrying
[   10.058315] tegra-pcie 10003000.pcie-controller: link 2 down, retrying
[   10.462635] tegra-pcie 10003000.pcie-controller: link 2 down, retrying
[   10.464651] tegra-pcie 10003000.pcie-controller: link 2 down, ignoring
[   10.464657] tegra-pcie 10003000.pcie-controller: PCIE: no end points detected
[   10.465004] tegra-pcie 10003000.pcie-controller: PCIE: Disable power rails

mgundling,

Do you have only one module and carrier board to check? Can this be reproduced on every TX2 module you have?

If so, could you share spec of the device you are using?

WayneWWW,

I only have the one TX2 to work with; however, I was able to get a USB card of ours to work and be recognized by the TX2. So far, I have worked with four types of our various boards: a LAN module, a Serial module, a GPS module, and a USB module. Only the USB module was recognized by the TX2 PCI bus. I am working through the differences in our boards, but the PCI switches are all the same and that was the piece I thought was causing an issue. I also tested an Intel LAN module and it worked no problem. The TX2 was able to recognize it and load drivers successfully on it’s own and I was on the internet in seconds.

The serial module is an Exar serial card with 8 ports on it. I tried installing the latest Exar drivers but that didn’t do anything since the TX2 doesn’t see the card over PCI. The Driver installs correctly but it sits unused. The GPS module utilizes the same Exar drivers, but again, I don’t believe the drivers are the issue here. I also do not blame the TX2 since it works with other types of cards. I was just trying to see what other information I could get.

Thank you

Update:

One of our GPS modules was recognized by the PCI bus on the TX2 so I’m pretty sure it’s an issue with our hardware and not a TX2 problem. Thank you