07-29-2019 09:25 AM
i'm trying to use the XDMA ip with zcu106 ,vivado 2018.2, ubuntu 18.04 and linux driver provided by #AR64444 .
in the BD, the XDMA (in DMA mode) M_AXI interface connect to the S_ AXI_HP0 ,then PS DDR4 address ranger 0x0 ~0x7fffffff .
After insmod xdma.ko, when i used the write command suck as:
"./dma_to_device -d /dev/xdma_h2c_0 -f ./datafile0_4K.bin -s 4096 ", it does not work.
So is it necessary to use petalinux? or any problems in my BD?
08-06-2019 08:24 AM
Hi @django_ ,
What is the status of PS-DDR4? Is it calibrated successfully?
Whether 0x0 ~0x7fffffff is the address space allocated to PS-DDR4 in address editor of the BD?
Can you provide the console log of the driver installation? Are you using the driver from GIT-hub (https://github.com/Xilinx/dma_ip_drivers)?
To the command below, can you add "-v" option and provide the console log.
"./dma_to_device -d /dev/xdma_h2c_0 -f ./datafile0_4K.bin -s 4096 "
As an experiment, can you connect the M_AXI port of XDMA to a BRAM and test? This test can help to confirm the hardware setup is good.