imx6 pci dma operation

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

imx6 pci dma operation

ソリューションへジャンプ
2,874件の閲覧回数
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,241件の閲覧回数
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,242件の閲覧回数
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,241件の閲覧回数
leeseungik
Contributor III

thank you for your relply.

your reply is helpful for me.

0 件の賞賛
返信
1,241件の閲覧回数
richard_zhu
NXP Employee
NXP Employee

welcome.

0 件の賞賛
返信