PCIe communication between two LS1028A processors (RC & EP) in Linux

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PCIe communication between two LS1028A processors (RC & EP) in Linux

688 Views
kumar_086
Contributor IV

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

Labels (1)
0 Kudos
3 Replies

650 Views
khushbur
NXP TechSupport
NXP TechSupport

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

0 Kudos

480 Views
kumar_086
Contributor IV

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  

 

 

 

 

Tags (3)
0 Kudos

446 Views
kumar_086
Contributor IV

Dear NXP Team,
Looking forward for your inputs on this.

Thanks

 

0 Kudos