Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20704 Discussions

Linux DMA driver for Altera

Altera_Forum
Honored Contributor II
1,644 Views

Hi all, 

 

we have altera stratix v fpga board, altera provides a software dma application which uses the dma engine present on the fpga side. 

I would like to do dma from my pc to fpga memory using dma engine of linux. Are there any drivers already available or need to be developed 

from scratch? 

 

Any pointers would be very useful?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
661 Views

Hi , 

 

Are you using the PCIe DMA? If so you can try using https://www.jungo.com/st/products/windriver/wd_linux/
0 Kudos
Altera_Forum
Honored Contributor II
661 Views

 

--- Quote Start ---  

Hi , 

 

Are you using the PCIe DMA? If so you can try using https://www.jungo.com/st/products/windriver/wd_linux/ 

--- Quote End ---  

 

 

 

Ya we are using PCIe DMA, but the requirement is to make host dma as master (Linux desktop machine) . When i am trying to call this api 

dma_request_channel its failing. 

 

Any ideas where I am going wrong or any example would be quite helpful to me?
0 Kudos
Reply