I am having an issue to write at the first address(shown by “lspci -v”) on the root port.
I did the instructions as mentioned on this site
-> Flashing PCIe endpoint [Done]
-> Connecting and configuring the system [Done]
-> Test bidirectional communication [Failed]
Details about failure:
- I can read/write on endpoint device using busybox
- when I try to write on the root port device, it is always 0xFFFFFFFF. Details are shown below
The address I used is based on “lspci -v” on root port, which is 0x1f40400000
Then I tried the following on root port:
As shown above, no matter what I wrote, it is always 0xFFFFFFFF
Then I tried “dmesg|grep pci” to check any related errors. But didnt find any related error messages. The two dmesg output files for root port and endpoint have been attached.endpoint.txt (6.7 KB) root_port.txt (8.4 KB)
And the TX-RX switch board also can cause the issue.
So not sure how to narrow down where the issue might be and debug.
Any suggestions would be appreciated!