Altera_Forum
Honored Contributor
10 years agoPCIe DMA based Linux Driver
Hi,
I am developing one sample PCIe based X86 Linux Driver to read/write data from/to SD Card which is connected in Altera Cycleon V FPGA Board. I am able to successfully read/write data in onchip memory, PIO test register as well as our custom SDHC Host controller registers from my PCIe driver without any issue. Now, I am planning to read/write data from/to SD Card using Chaining DMA Concept. We have DMA Controller as in built into our SDHC Host Controller which is used to access SD Card connected on FPGA board. Do I need to connect our DMA Read Master and Write Master Control Port to any of BAR region from FPGA design to access that DMA Interface directly from Linux PCIe Driver? or Do I need to connect to DMA Read and Write Master Control Port to any Internal Memory of FPGA Board to access it from Linux PCIe Driver? Please find attached image of our FPGA design from more information. Please let me know if anyone has idea about it. Regards, Ritesh Prajapati