Follw norman_wong's work at http://forums.xilinx.com/t5/Embedded-Linux/PL330-DMAC-Test-Code/m-p/491154 and the dmatest.c in zynq linux 2014.1, I am now trying to enable the data transfer not through usespace sysfs.
The idea is to create a sysfs handle as a trigger that start or stop the DMA for specified source and destination address. I come front the fill_queue error while I cannot find out the reason. Could any expert help?
I attached the code.
I just posted my codes for both PL custom IP and PS C code utilizing pl330 DMA, transfer data from PL to PS. Maybe it helps.