Forum Discussion
Altera_Forum
Honored Contributor
8 years agoHi all,
I am trying to write a module to do transfers using pl330 DMA controller from processor to FPGA and from FPGA to processor using Cyclone V SoC and Angstrom Linux 3.10. So far what I have found are examples for Zynq using DMA engine API and directly PL330 API. They dont compile because macros, structs, etc. are different. All the examples I have found for Altera use DMA-engine for a DMA controller in the FPGA. Could someone answer some of these questions?: -Where can I find the so called fpga-dma driver provided by altera that other people is refering to? -Which OS are you using? Is it OK using Angstrom? Do I have to do something special during OS compilation to get DMA drivers included? Teorethically after 3.8 kernel DMA engine is available. -I could not do the binding to the device tree entry for the pl330. I do the platform driver registering process but probe function is never called. I can see the value of compatible string in proc/device-tree/sopc@0/dma@0xffe01000 is: "arm,pl330-14.1arm,pl330,arm,primecell" I tried thye binding with "arm,pl330-14.1", "arm,pl330", "arm,primecell" and "arm,pl330-14.1arm,pl330,arm,primecell". Nothing is working. Probe function does not pop out. I would appreciate any help