PCIe communication between two LS1028A processors (RC & EP) in Linux
Dear Experts,
We have two LS1028a cards connected over a backplane, one card running with RCW selected with PCIe_RC and other card with PCIe_EP. These cards are ported with Flexbuild v2012 U-Boot & Linux.
How to prove the data communication between these processors over PCIe interface?
Regards
Hi @kumar_086
You can refer to drivers/pci/endpoint/functions/pci-epf-test.c in Linux Kernel source code.
For details about pci-epf-test.c, please refer to Documentation/PCI/endpoint/pci-test-howto.rst.
Thanks
Khushbu
Hi @khushbur ,
We went through these files, compiled and ran the Linux.
As per the howto file, we should see the response as,
# ls /sys/class/pci_epc/
51000000.pcie_ep
But this file is not seen in our Linux,
root@TinyLinux:/sys/class/pci_epc# ls
root@TinyLinux:/sys/class/pci_epc#
No files were available in the shared path. Please let us know if any settings to be done in dts or Linux.
Thanks