LS1046 data transfer via PCIe

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

LS1046 data transfer via PCIe

2,924 次查看
diljithka
Contributor I

Does LS1046 has the support data transfer via PCIe. we have a requirement for memory to pci memory and pci memory to memory t data transaction using this QDMA block in LS1046.Does LS1046 has the support for datat transfer via PCIe? can you provide the DMA driver support and sample application for the PCIe data transfer.?

0 项奖励
回复
3 回复数

2,909 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Do you use LS1046 as EP or RC device?

Please refer to the following in Linux source code.

drivers/pci/controller/dwc/pci-layerscape-ep.c

drivers/misc/pci_endpoint_test.c

Documentation/PCI/endpoint/pci-test-howto.rst

 

0 项奖励
回复

2,897 次查看
diljithka
Contributor I

HI @yipingwang 

thanks for your response.

we are using LS1046 as RC.

Our requirement is to transfer data via PCIe using QDMA.Is this possible in LS1046.Does the DMA engine inside LS1046 support data transfer from LS1046 to a slave device via PCIe .If so can you provide any sample application ?

 

0 项奖励
回复

2,885 次查看
yipingwang
NXP TechSupport
NXP TechSupport

We use the specific dmatest.c and fsl-qdma.c to test memory/PCIe DMA performance on ls1046a platform with LSDK kernel. We set PCIe address using:

echo [#pcie addr] > /sys/module/dmatest/parameters/pci_phys_addr

Please refer to Readme.txt in the attachment.

0 项奖励
回复