PCIe Rootport Controller ID

Hey,

we want to connect to Orin Nanos together over PCIe. For that, we have the right hardware to use both M.2 key M slots. The configuration of the EP work, but know we have Problems with the root port.
We want to do it like this PCIe Endpoint Mode — NVIDIA Jetson Linux Developer Guide 1 documentation

But thats just for an AGX, the M.2 Slot is the C4, but whats the ID of this Controller. You see attached the screenshot of the current /sys/kernel/debug. There is no pcie@14160000 or a 0004 ID?

Best regards

Felix

Hi,
This is not a valid use-case we support on Jetpack release. It may not work properly. So in your use-case, one Orin Nano is a EP device and the other is in RP mode? Which PCIe interface is used?

Hey,
we use the M.2 key M SSD Slot. Flashing the endpoint with HSIO 41 config worked and doing this steps from the link

# modprobe pci-epf-dma-test
# cd /sys/kernel/config/pci_ep/
# mkdir functions/tegra_pcie_dma_epf/func1
# echo 0x10de > functions/tegra_pcie_dma_epf/func1/vendorid
# echo 0x229a > functions/tegra_pcie_dma_epf/func1/deviceid
# echo 16 > functions/tegra_pcie_dma_epf/func1/msi_interrupts
# ln -s functions/tegra_pcie_dma_epf/func1 controllers/141a0000.pcie-ep/
# echo 1 > controllers/141a0000.pcie-ep/start

We just use the C4 Controller with the 14160000 addressee, in the device tree the endpoint is has also status ok.

Then we flash the Root port with HSIO 0.

Here we want to do this steps just for the C4 Controller, ID should be 0004? But there is no id 0004 in the /sys/kernel/debug, which you see in the photo in the first Topic.

I think Jetpack should support the PCIe root port functionality, because thats what it normally do with the ssd?

Best regards

Felix

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