imx6 pci dma operation

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

imx6 pci dma operation

跳至解决方案
2,904 次查看
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

标签 (3)
标记 (4)
0 项奖励
回复
1 解答
1,271 次查看
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 项奖励
回复
3 回复数
1,272 次查看
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 项奖励
回复
1,271 次查看
leeseungik
Contributor III

thank you for your relply.

your reply is helpful for me.

0 项奖励
回复
1,271 次查看
richard_zhu
NXP Employee
NXP Employee

welcome.

0 项奖励
回复