Need guide for Xavier NX as endpoint pcie custom board

Hello.

We designed custom board for Xavier NX pcie endpoint mode.

Our board image is like this.

On the board Xavier NX module is on it and pcie connector is on bottom.

We completed the board and tested as endpoint mode.

I followed the Xavier endpoint guide and Xavier pcie endpoint design guide.

  1. https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/xavier_PCIe_endpoint_mode.html
  2. https://developer.nvidia.com/embedded/dlc/jetson-agx-xavier-series-pcie-endpoint-design-guidelines-application-note

Configured the ODMDATA=0xB8190000 to ODMDATA=0xB8191000 in p3668.conf.common file
and then flash the Xavier NX.
And followed the guideline source code on Xavier NX as endpoint mode.

cd /sys/kernel/config/pci_ep/
mkdir functions/pci_epf_tvnet/func1
echo 16 > functions/pci_epf_tvnet/func1/msi_interrupts
ln -s functions/pci_epf_tvnet/func1 controllers/141a0000.pcie_ep/
echo 1 > controllers/141a0000.pcie_ep/start

I could start the pcie as ethernet using that code
but on the rootpoint device pcie link was not up.

So We are reviewing hardware again.
Our pcie schematic is here.

We followed the guideline for pcie endpoint interface
but we think It seems we are missing something.

But we don’t know what we’re missing out on.

We need help not only software but also hardware.

Thank you.

First things first…
Once you start the RP system and confirms that the PCIe link is not up, could you please check /proc/interrupts in the EP system and see if the interrupt corresponding to perst/pex_rst has a non-zero count? If you see a ‘0’ there, it means that the EP system is not even perceiving a toggle on its pex_rst/PERST line (FWIW, this is the starting point of the EP system’s PCIe initialization)

请问您的电路板是定制的吗?您说的PCIE连接板 E3317 xavier AGX 也可以用来主从通信,有购买链接吗?

I found this link
https://item.taobao.com/item.htm?spm=a2126o.success.result.1.4b704831dBwRzN&id=663203792843
You can ask the seller

2 Likes