UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer edu30692
Observer
3,791 Views
Registered: ‎11-25-2016

AXI DMA test driver on Linux

Jump to solution

Hi, I'm doing some tests to transfer data from memory to an IP block and back to the memory. Firstly, i'm trying it using a FIFO to create a loopback. I'm working on a zcu102 with Petalinux. When i try to transfer data i cannot start channel.  This is my design on Vivado 2016.1:

Captura de pantalla de 2016-12-21 12:30:19.png

DMA driver works correctly :

 

[    2.189679] xilinx-dma 80000000.dma: Xilinx AXI DMA Engine driver Probed!!

The code i'm using is from https://forums.xilinx.com/t5/Embedded-Linux/AXI-DMA-with-Zynq-Running-Linux/td-p/522755

 

When i execute i get :

[   27.251016] xilinx-dma 80000000.dma: Cannot start channel ffffffc073910e18: 10009
[   27.258425] Waiting for DMA to complete...
[   30.260145] DMA timed out

 

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
Observer edu30692
Observer
6,995 Views
Registered: ‎11-25-2016

Re: AXI DMA test driver on Linux

Jump to solution

After changing my AXI_DMA IP configuration it worked correctly.

 

Captura de pantalla de 2016-12-22 10:26:56.png

0 Kudos
1 Reply
Observer edu30692
Observer
6,996 Views
Registered: ‎11-25-2016

Re: AXI DMA test driver on Linux

Jump to solution

After changing my AXI_DMA IP configuration it worked correctly.

 

Captura de pantalla de 2016-12-22 10:26:56.png

0 Kudos