I have followed the “PCIe Endpoint Mode” instructions from r35.3.1 Developer Guide. I have rebuilt the kernel to disable CONFIG_STRICT_DEVMEM. I can enable to EP Orin and rd/wr to the BAR0 RAM phys.
Although when I run “# setpci -s 0005:01:00.0 COMMAND=0x02” on RP Orin, I get the following message:
"setpci: Warning: No devices selected for “COMMAND=0x02” .
Furthermore, when I run “# lspci -v” it only shows 0001:00:00.0 PCI bridge: NVIDIA Corporation Device 229e (rev a1) (prog-if 00 [Normal decode]) and does not show any mention of “RAM memory: NVIDIA Corporation Device 0001”
Can this test be done using an x4 PCIe cable in the x16 slot?
I was attempting to use a PCIe Male-to-Male x4 Cable. So it appears I need a PCIe Male-to-Male x8 Cable to run this Nvidia provided Orin RP-Orin EP example.