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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

731 次查看
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

标签 (1)
标记 (5)
0 项奖励
3 回复数

693 次查看
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 项奖励

523 次查看
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  

 

 

 

 

标记 (3)
0 项奖励

489 次查看
kumar_086
Contributor IV

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

Thanks

 

0 项奖励