Hii,
I’m using Jetson™ Linux version R36.4.3 Latest release. For PCIe communication i’m following below Document.
in the above document provided the PCIe communication between Agx Orin(End Point) linux Pc(Root Port).
Can i get the Procedure for PCIe Communication Between 2 AGX Orin on R36.4.3.
Actually the document you are referring to is for Orin AGX and Orin AGX.
Yes I tried the following Steps for the PCIe COmmunication.
- Flashed the AGX orin with the default set up for root port.
- Flashed the another orin by changing the nvhs-uphy-config-1 in the ODMDATD for end point.
- Configure the endpoint as per the document while connecting both with pcie cable.
- Booted the ROOt port.
- when i scan the lspci on root port that didn’t detect the endpoint.
- when i trying to run the test cat edmalib_test on end point
root@endpoint-desktop:/sys/kernel/debug/141a0000.pcie-ep_epf_dma_test# cat edmalib_test
cat: edmalib_test: Operation not permitted
Most likely due do hardware problem that lspci cannot detect the EP.
Please refer to the design guide of this.
Though its name has Xaiver, it actually compatible with Orin.
1 Like
I’m Using 2 Jetson Agx orin Development Kits.
I have a question like should we need to load any driver in the rootPort o detect the end point ?
No, the default lspci shall detect that. Only EP side needs to run a driver.
thank you,
Should i need to configure anything on the root port side after the booting ?
No, RP side is not needed.
Can you please confirm me where i’m missing.
As I already told, you should read the hardware guide.
The connection you are using between that two Orin might have problem. That is the most common mistake I saw.
Thank you WayneWWW
problem with the PCIe communication E3317_A01 RX/TX Swap Board. it was ressolved.
I got the successful Log of edma test on endpoint as per the Document.
How to confirm the Data size received on the root port side ?
HI,
Is this node coming out on your RP side?
/sys/kernel/debug/0005:01:00.0_pcie_dma_test/
yes it is coming.
when i cat dms_size that is 1048576 on RP side
do i need to configure to send the data between EP and RP ?
Can you please tell me how to confirm the data transfer between EP and RP
I am not quite sure what is the exact thing you want to know here.
So are you able to run this execution?
Yes I’m able to run the above execution on EP and I got the kernel log as per the Document.
Can you please tell me How can I confirm the data transfer between EP and RP ?
We got the kernel log as per the Document but How can I transfer the some 5MB of data between EP and RP. Can you please tell me the any procedure is there with edma.