04-29-2019 05:25 AM
I've created a bitstream for Vivado 2018.3, using VCU118 Revision A, and using the instructions in
Successfully programmed the device with it,
And using the Linux QDMA driver in Xilinx_Answer_70928_QDMA_Linux_Driver_Files_ver2
Was not able to make it work:
dmactl qdma01000 q add idx 2 mode mm dir h2c
dmactl qdma01000 q start idx 2 mode mm dir h2c
sudo ./dma_to_device -d /dev/qdma01000-MM-2 -s 512
and got the following:
/dev/qdma01000-MM-2, W off 0x0, 0x200 failed -1.
write file: Input/output error
and also these lines in dmesg:
[89712.419329] qdma:qdma_request_wait_for_cmpl: qdma01000-MM-0: req 0x00000000b5e29f40, W,512,0/512,0x0, done 0, err 0, tm 10000.
[89712.419333] qdma:qdma_descq_dump: qdma01000-MM-0: 0x0/0x0, desc sz 2048/2035, pidx 12, cidx 0
When trying to debug the code of dma_to_device it seems that the open() function works okay, but the error comes from the write() function that is called for fpga_fd.
Any suggestions in order to make it work?
05-08-2019 08:27 AM
Can you apply the tactical patch detailed in AR:72013 below that fixes some known issues with the QDMA IP for v2018.3
06-12-2019 11:42 PM
I applied the patch using method 2 in the readme (setting XILINX_PATH environment variable). I couldn't find any indication in Vivado that it was actually applied.
Even after running it with the patch (presumably), regenerating the bitstream, programming the device again, and running the same sequence of commands I still get the same error in Ubuntu.
In Windows I see 4 instances in of the device in the Device manager with a quotation mark and looking inside I get error 10 (driver could not start).
Please further instruct how to solve this.
09-05-2019 07:13 AM
09-11-2019 02:22 AM
First, have you tried with the newest version of the tools v2019.1.1? Also if you apply a patch you will see the patch highlighted beside the Vivado version at the top of the Vivado enviroment when you open Vivado. e.g. "Vivado 2019.1.1_AR72653" as per my screen shot below. Can you cofirm that you see the patch installed?
I am going to run through this AR:71543 to see if I see the same with v2019.1.1 version of Vivado.