07-03-2015 04:50 PM
i'm trying ot use the xilinx vdma Linux driver. After adding the VDMA with loop back in logic and modifying my device tree I do see this
[ 1.215234] xvdma xvdma.0: Xilinx VDMA probe successful
[ 1.220421] xvdma xvdma.0: Devices Scanned 0
But, I don't see anyting in my /dev different and if I try to load the kernel module vdmatest (after also adding that to my device tree) insmod vdmatest.ko just crashes.
Does this seem like a hardware configuration problem of the vdma itself or something wrong in my device tree or something else?
07-05-2015 11:40 PM
Are you using the latest version of kernel?
Can you share the crash log ?
I see a Fix released recently for vdmatest driver crashing when unloading as a module, verify if this helps.
07-07-2015 04:20 PM
I think the Devices Scanned 0 was just a red herring caused by me including the demo staging driver.
The crashing was I think due to me moving the module over rather then building as part of the filesystem.
I must have the hardware configured incorrectly though as the tx times out
root@zedboard-zynq7:~# insmod /lib/modules/3.14.2-xilinx/kernel/drivers/dma/xili
[ 32.216927] xilinx_vdmatest: Started 1 threads using dma1chan0 dma1chan1
root@zedboard-zynq7:~# [ 62.216416] dma1chan0-dma1c: #0: tx test timed out
[ 62.221131] dma1chan0-dma1c: terminating after 1 tests, 1 failures (status 0)