bmartini / zynq-xdma

Linux Driver for the Zynq FPGA DMA engine
87 stars 38 forks source link

DMA Timeout #7

Open jordanhenry opened 9 years ago

jordanhenry commented 9 years ago

Hi,

I tried the xdma.c module with a loopback on AXI DMA IP and it generates a timeout when I use xdma-test.c :

file: open() ioctl: XDMA_TEST_TRANSFER test: rx buffer before transmit: Y Y Y Y Y Y Y Y Y Y test: xdma_start_transfer rx test: xdma_start_transfer tx test: time to prepare DMA channels [us]: 6432 Error: transfer timed out test: DMA transfer time [us]: -6322 test: DMA bytes sent: 1048576 test: DMA speed in Mbytes/s: -165 test: rx buffer after transmit: Y Y Y Y Y Y Y Y Y Y ran driver test transition: use 'dmesg' to view results file: close() CMA is selected and I added cma=64M. Thanks Jo