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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

732件の閲覧回数
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)
0 件の賞賛
3 返答(返信)

694件の閲覧回数
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 件の賞賛

524件の閲覧回数
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 件の賞賛

490件の閲覧回数
kumar_086
Contributor IV

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

Thanks

 

0 件の賞賛