Custom PCIe card with Kintex 7 not showing up on Jetson TX1 in lspci

We have a custom PCIe card with a Kintex 7 (kc705). The card never powers up and hence is not detected and seen with lspci. Measuring the voltage on the card the 12 V rail only comes up to 4.6 V. The pcie slot works as I tried a network card in it and it showed up in lspci. I had problems with a StarTech 2 port serial card that would be detected by U-boot but not by Linux. I found that adding a delay in the kernel before probing for devices would allow the serial card to be found. It did not do anything for our custom card.

I’ve tried all sorts of delays and always enabling the power rails without success. Any thoughts?

Here is the output from dmesg. U-boot shows the same thing.

[    3.351899] tegra-pcie 1003000.pcie-controller: SMMU isn't ready yet
[    3.359339] tegra-pcie 1003000.pcie-controller: PCIE: Enable power rails
[    3.366054] tegra-pcie 1003000.pcie-controller: probing port 0, using 4 lanes and lane map as 0x14
[    3.375433] tegra-pcie 1003000.pcie-controller: probing port 1, using 1 lanes and lane map as 0x14
[    3.784241] tegra-pcie 1003000.pcie-controller: link 0 down, retrying
[    4.190281] tegra-pcie 1003000.pcie-controller: link 0 down, retrying
[    4.598948] tegra-pcie 1003000.pcie-controller: link 0 down, retrying
[    4.605412] tegra-pcie 1003000.pcie-controller: link 0 down, ignoring
[    5.012287] tegra-pcie 1003000.pcie-controller: link 1 down, retrying
[    5.420344] tegra-pcie 1003000.pcie-controller: link 1 down, retrying
[    5.826255] tegra-pcie 1003000.pcie-controller: link 1 down, retrying
[    5.832717] tegra-pcie 1003000.pcie-controller: link 1 down, ignoring
[    5.837176] tegra-pcie 1003000.pcie-controller: PCIE: no ports detected
[    5.844047] tegra-pcie 1003000.pcie-controller: PCIE: Disable power rails
[    5.850824] tegra-pcie 1003000.pcie-controller: SMMU isn't ready yet

The PCIE 12V rail is bad on the older dev board we have. It works just fine on on the Jetson TX2.

Hi

Did you solve the pcie problem on Tx1? I have the same question of:
[ 5.837176] tegra-pcie 1003000.pcie-controller: PCIE: no ports detected

In our case the problem was the carrier dev board. It was an older rev of the board. We had a TX2 and it worked on that board. I also swapped the modules and put the TX1 on the carrier board for the TX2 and it worked as well.

Hello

Below is my Jetson Tx1 information, Could you informed me it is the older dev board?

P2597 CONTAINS FCC ID:VOB-P2180
P2597 CONTAINS IC :7361A-P2180 CAN ICES-3(B)/NMB-3(B)
CMIT ID: 2015AJ7078

Jetson Tx1 S/N:0324816021951
670-82371-2180-410 J

I have tried many times to solve the pcie problem on my tx1 with a wireless card(PCIe 2.0 1x) ,but i failed . And i testing another gigabit NIC(PCIe 1.0a 1x), it worked well. but the wireless card insert my pc is worked well. So belived that it is compatibility issues, now i have no idea to solve this problem , may be you can give more suggest?
thanks very much!

That matches my older board. Another way to tell is that the older board is missing 2 LEDs. On the newer board, one is right by the PCIe slot (labeled: Alert! PCIe/SATA Powered Up) and is turns on for the 12V rail. The other (labeled: CVM Powered!) is by the fan power connector and turns on as soon as the power cable is connected.

The newer board info is:
P2597 CONTAINS FCC ID: VOB-P3310
P2597 CONTAINS IC: 7361A-P3310
P/N: 135-0731-000 R2

Thanks! So with your described ,i think there was a hardware problem lead to my wireless card(PCIE2.0 1x) detected failed. Am i right?

But there is another problem, some pcie card can be detected by old dev , my gigabit NIC(PCIE1.0a 1x ,chipset: rtl8168). So i believed that the pcie slot of old dev may be have the compatibility issues. it is different from you that the voltage on my card the 12 V is normal. Just the channel valtage seems like have some problem.

I measured the valtage of pcie card either, it is diffrent between these two cards, as follows:
TL-WDN7500(wireless card) , NIC(gigabit card)

pin PCIE0_L0_CLKREQ: NIC(0v) , TL-WDN7500(3.3v)
pin REFCLK: TL-WDN7500 have no clk
pin PEX_TX4_P(N):NIC(0v) TL-WDN7500(0.76v)
pin PEX0_RST: MIC(3.3v) TL-WDN7500(0v)

You are facing a different issue than I had. And as I am not super knowledgeable, I would suggest following your other thread you started dedicated to the issue you are having. As it is not marked as Solved, you’ll get more help there than here.

hi,
I am facing the same issue of not detecting my pcie card in jetson tx2.
I am using elroy carrier on top of the jetson tx2. I want to add a 2nd wifi interface by adding a r11e-2hpnd mini pcie board on top of the elroy carrier board.
But, it fails to detect the device.

Here is the error message coming for me:
nvidia@tegra-ubuntu:~$ dmesg | grep -i pci
PCI I/O : 0xffffffbffae00000 - 0xffffffbffbe00000 ( 16 MB)
[ 0.045343] DTS File Name: tegra186-tx2-cti-ASG002-mPCIe.dts
[ 0.161428] DTS File Name: tegra186-tx2-cti-ASG002-mPCIe.dts
[ 0.233557] GPIO line 459 (pcie-lane2-mux) hogged as output/low
[ 0.236881] iommu: Adding device 10003000.pcie-controller to group 50
[ 0.363569] PCI: CLS 0 bytes, default 128
[ 13.178508] tegra-pcie 10003000.pcie-controller: wrong configuration updated in DT, switching to default 2x1, 1x1, 1x1 configuration
[ 13.184071] tegra-pcie 10003000.pcie-controller: PCIE: Enable power rails
[ 13.186404] tegra-pcie 10003000.pcie-controller: probing port 0, using 2 lanes
[ 13.188725] tegra-pcie 10003000.pcie-controller: probing port 2, using 1 lanes
[ 13.684161] tegra-pcie 10003000.pcie-controller: link 0 down, retrying
[ 14.086304] tegra-pcie 10003000.pcie-controller: link 0 down, retrying
[ 14.490340] tegra-pcie 10003000.pcie-controller: link 0 down, retrying
[ 14.492361] tegra-pcie 10003000.pcie-controller: link 0 down, ignoring
[ 14.895646] tegra-pcie 10003000.pcie-controller: link 2 down, retrying
[ 15.301428] tegra-pcie 10003000.pcie-controller: link 2 down, retrying
[ 15.707313] tegra-pcie 10003000.pcie-controller: link 2 down, retrying
[ 15.709335] tegra-pcie 10003000.pcie-controller: link 2 down, ignoring
[ 15.709343] tegra-pcie 10003000.pcie-controller: PCIE: no end points detected
[ 15.709523] tegra-pcie 10003000.pcie-controller: PCIE: Disable power rails
nvidia@tegra-ubuntu:~$

I have flashed the image with command:
sudo ./flash.sh elroy-mpcie mmcblk0p12

thanks in advance for the help!

Are you using TX1 or TX2?
For TX2 issue, please file topic into TX2 board - [url]https://devtalk.nvidia.com/default/board/188/jetson-tx2/[/url]

Thanks