软件版本: petalinx2020.1
操作系统: Ubuntu
硬件平台: ZYNQ3EG
嵌入式操作系统:kernel5.4
AXI-DMA驱动:GitHub:bperez77/xilinx_axidma
root@xilinx-3eg:/mnt/xilinx_axidma-master/outputs# ./axidma_benchmark
AXI DMA Benchmark Parameters:
Transmit Buffer Size: 7.91 MiB
Receive Buffer Size: 7.91 MiB
Number of DMA Transfers: 1000 transfers
Using transmit channel 4 and receive channel 3.
[ 1289.856282] axidma: axidma_dma.c: axidma_prep_transfer: 235: Unable to prepare the dma engine for the DMA transmit buffer.
Failed to perform the AXI DMA read-write transfer: Device or resource busy
root@xilinx-3eg:/mnt/xilinx_axidma-master/outputs#
硬件工程中dma必须将 Width of Buffer Length Register 23以上,否则出现上述错误