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 django_
Observer
144 Views
Registered: ‎01-20-2019

zcu106 xdma can't work with PS ddr in linux

Hi,

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 .

 

block design.png

 

 

 

 

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?

Thanks.

 

 

 

Tags (1)
0 Kudos
1 Reply
Moderator
Moderator
67 Views
Registered: ‎02-16-2010

Re: zcu106 xdma can't work with PS ddr in linux

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.

 

------------------------------------------------------------------------------
Don't forget to reply, give kudo and accept as solution
------------------------------------------------------------------------------
0 Kudos