imx6 pci dma operation

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

imx6 pci dma operation

Jump to solution
2,744 Views
leeseungik
Contributor III

I try to active pcie of my imx6q board with FPGA using dma.

it's work to read/write FPGA SRAM through pcie, but it's just mem read / write not dma operation.

what I want to implement is that processor initiate dma operation using dma controller.

After reading LDD3 and DMA-API.txt. I can't figure out how to start transfer data to FPGA as processor master. (if fpga doesn't support bus mastering)

previous project taken another team use same FPGA  and different chip and os (p4080 and vxworks),

the driver is simple using DMA api "vxbDmaWrite / vxbDmaRead". they say processor can be master for DMA operation.

BUT I can't find any information about it in linux device driver.

How can I initiate dma operation as vxworks did ?

Does I have to use bus mastering supported in fpga ?

Is there something wrong in my situation?

any commnet will help me.. thanks in advance.

Seungik Lee

Labels (3)
Tags (4)
0 Kudos
1 Solution
1,111 Views
richard_zhu
NXP Employee
NXP Employee

Hi:

First of all,i.mx6 pcie doesn't have the dma engine. The dma engine must be built-in pci ep device(fpga), if the dma operations are mandatory required.

View solution in original post

0 Kudos
3 Replies
1,112 Views
richard_zhu
NXP Employee
NXP Employee

Hi:

First of all,i.mx6 pcie doesn't have the dma engine. The dma engine must be built-in pci ep device(fpga), if the dma operations are mandatory required.

0 Kudos
1,111 Views
leeseungik
Contributor III

thank you for your relply.

your reply is helpful for me.

0 Kudos
1,111 Views
richard_zhu
NXP Employee
NXP Employee

welcome.

0 Kudos