cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
clutch12
Explorer
Explorer
7,686 Views
Registered: ‎06-05-2014

xvdma xvdma.0: Devices Scanned 0

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?

 

0 Kudos
2 Replies
achutha
Xilinx Employee
Xilinx Employee
7,341 Views
Registered: ‎07-01-2010

@clutch12

 

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.

https://github.com/Xilinx/linux-xlnx/blob/master/drivers/dma/xilinx/vdmatest.c

https://github.com/Xilinx/linux-xlnx/commit/3f30b3337af61f1ed98f7185e37c6bf9202b3204

 

 

Regards,

Achutha

 

---------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------
clutch12
Explorer
Explorer
7,317 Views
Registered: ‎06-05-2014

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
nx/vdmatest.ko
[ 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)

0 Kudos