11-28-2017 05:51 AM - edited 11-28-2017 05:53 AM
Hello!
I am starting to use Xilinx SoC, Zynq-7000 on ZC702 for now and will migrate to Zynq ultrascale+ on ZCU102 in near future.
And I went to trouble when trying to create project with AXI DMA in PL and Petalinux app working with it on PS side.
I have made PL project as described in http://www.fpgadeveloper.com/2014/08/using-the-axi-dma-in-vivado.html
Then I have created petalinux project with this design, both in BSP-way and Custom-Hardware ways, as described in UG1156(Petalinux tools workflow tutorial)
Then I created app, the helloworld one appeared
Then i added it using petalinux-config -c rootfs and added AXI DMA test using petalinux-config
Then I built, packaged everything, filled boot.bin and image.ub to sdcard and booted the board.
Linux started, app worked
-> BUT i couldnot start neither axidmatest nor modprobe axidmatest - nothing was found!!
Then i tried to replace code in app with code found in post from Linnj in https://forums.xilinx.com/t5/Embedded-Linux/AXI-DMA-with-Zynq-Running-Linux/td-p/522755
But trying to build app it couldn't find includes "linux/***"
So, I ask you
1) how to include "linux/***" to make app in petalinux project?
2) how to run standard AXI DMA tests in petalinux?
3) how to build petalinux apps using Xilinx SDK running in Windows (I use mainly Windows and run linux only for petalinux tools operation)?
12-13-2017 09:27 PM
1)I think you can't include it in application, it's linux driver
2)check this tutorial
https://lauri.xn--vsandi-pxa.com/hdl/zynq/xilinx-dma.html
3)You can download virtualbox and install Ubuntu on it, they are all free.
05-23-2018 06:15 AM - edited 05-23-2018 06:15 AM
Hi, @ken_ho!
Tutorial not found :(
10-25-2018 09:59 AM - edited 10-25-2018 10:01 AM
@shustik, @akhvostov:
Link is live, I think he included an extra trailing space... try this:
https://lauri.xn--vsandi-pxa.com/hdl/zynq/xilinx-dma.html