LS1046 data transfer via PCIe

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

LS1046 data transfer via PCIe

1,294 Views
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 Kudos
3 Replies

1,279 Views
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 Kudos

1,267 Views
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 Kudos

1,256 Views
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 Kudos