PCIe devices not detected on Nvidia Jetson nx device

Hello,

I am currently working on nvidia jetson xavier nx device. I am using the fresh image which is available on “Jetson Download Center | NVIDIA Developer” url. I flashed the same image and try to check the debug logs in dmesg. I checked it for pcie interface. but it will give the below errors.

nx-fresh@nxfresh-desktop:~$ dmesg | grep pcie
[ 0.722290] iommu: Adding device 141a0000.pcie to group 0
[ 2.339082] tegra-pcie-dw 141a0000.pcie: Setting init speed to max speed
[ 2.339355] tegra-pcie-dw 141a0000.pcie: Failed to get 3V slot regulator: -19
[ 2.339366] tegra-pcie-dw 141a0000.pcie: Failed to get 12V slot regulator: -19
[ 2.447324] OF: PCI: host bridge /pcie@141a0000 ranges:
[ 2.963347] tegra-pcie-dw 141a0000.pcie: link is down
[ 2.963503] tegra-pcie-dw 141a0000.pcie: PCI host bridge to bus 0005:00
[ 2.964487] pcieport 0005:00:00.0: Signaling PME through PCIe PME interrupt
[ 2.964494] pcie_pme 0005:00:00.0:pcie001: service driver pcie_pme loaded
[ 2.964596] aer 0005:00:00.0:pcie002: service driver aer loaded
[ 2.964757] pcie_pme 0005:00:00.0:pcie001: unloading service driver pcie_pme
[ 2.964824] aer 0005:00:00.0:pcie002: unloading service driver aer
[ 2.967047] tegra-pcie-dw 141a0000.pcie: PCIe link is not up…!
nx-fresh@nxfresh-desktop:~$

Can you please suggest us, where we can have issue?

We are using PM40028B1 generation 4 based PCIe bus. we are getting the heartbeat response of PCIe bus. But we are not able detect SSD or gbe card over this PCIe bus.

Please help us to resolve this issue.

Thanks and regards
Harsh Shah

I am unable to tell you any specifics, but you will need to update the device tree for any difference between your design and the dev kit design. Without the device tree modification the kernel will either be unable to find the hardware, or else unable to pair the correct driver to the hardware (or both). You should read the product design guide regarding device tree:
https://developer.nvidia.com/embedded/downloads#?search=product%20design%20guide&tx=$product,jetson_xavier_nx

Note: The above applies to any hardware which is not “plug-n-play”, especially the PCIe hardware for your case.

Which port is in use here? M.2 key E or M.2 key M?

Hello,

We had connected PCIe switch with jetson nx xavier board. We are facing the issue in PCIe switch detection. I verified, the interface’s link is up but it is not in lspci logs.

I am attaching the kernel dmesg logs as well as lspci logs for the reference. Can you please help us to identify if I am missing any configurations in dts file as well as driver side.

Thank You.
PCI-logs.txt (2.0 KB)

Hello,

Is there any update with this issue? Please help us to resolve this issue asap.

Thank you in advance.

Can you provide a full serial console boot log with the device connected? The shorter log is only for part of the PCIe bridge setup. Also, please clarify if this is an NX dev kit, or else if it uses a third party carrier board; if dev kit, clarify whether or not the M.2 key is E or M.

I would say it would work on Jetson AGX devkit that has full size PCI port, but it would likely need extra power supply.
For Jetson NX the support will be even more limited, in my opinion.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.