11-04-2013 10:07 AM
I'm very new to Zynq family, spend only one week reading different user guides and datasheets for Zynq and petalinux.
But I can't understand where to start. I couldn't find any clear example, for example:
Very simple design of CPU and memory mapped FPGA BRAM that would work under linux. (Like they have got for PCIe for example).
Example in "ug898 vivado embedded design" is from I can make it just for baremetal design example(I might be wrong).
concept tools guide is for ISE and XPS.
I'm not going to complain about anything just ask some quations tha I can't answer after week of reading.
Mostly questions about software.
1. Does Vivado replaces XPS?
2. Can Vivado be used for the hole design FPGA and software for petalinux(I can't find for example petalinux sdk kit for vivado only for ISE 14.5).
3. Petalinux, from what I can make rootfs is in memory, which is limited to say 1Gb. Can it be moved to SDCard somehow? Petalinux seems to be very limited is comes with just Busybox and not much else.
4. There are few different distributions for Zedboard Ubuntu ArchLinux.
Am I right thinking that using this distros I can design custom PL in Zynq compile and point FSBL to it, then load Ubuntu, use apt-get for example to install different packages that would come with Ubuntu.
5. In this case why not to do all the debuging of the software on the Zynq using gdb for example why we need to connect to GDB server from host.
6. Ok. My object is to use existant software that was designed for Ubuntu 10.04 LTS (pc not embedded so it is fully blown distro).
Design Zynq based Linux box with FPGA logic inside it and use the same software stack that already exists. Is it posible? What linux distro to use? Petalinux? Ubuntu? Arch Linux?
7. How do we do simulation of FPGA hardware design with CPU bits on top of it? Is Zynq HIL Cosimulation the only way to do it as there are not
8. Where can I find the most simplest example, that would come close to what I described for FPGA custom design + CPU + Linux.
11-23-2013 01:35 AM
Let me try to answer the questions
1. Does Vivado replace XPS? The answer is yes. You can either use XPS or Vivado IPI to create an embedded subsystem
2. Vivado can handle complete FPGA Design. For firmware(Software), you need to use SDK. If you have finalized to use petalinux, then you need to have petalinux installed.
3. If you would want to boot from SD card, that is possible. Refer to http://www.xilinx.com/publications/products/petalinux/petalinux-getting-started-guide.pdf
4. Since your target is to run Ubuntu OS on Zynq, refer to this Tech-Tip http://www.wiki.xilinx.com/Zynq-7000+AP+SoC+Ubuntu+Desktop+on+Peta+Linux+Tech+Tip
5. There is no RTL simulation model for zynq. Hence HIL is the only way out.
8. The link i mentioned above can be used for your example.
11-25-2013 03:07 AM
I've been trying to get something to work for quite some time now and when not fighting with licenses I try different xapps but so far I haven't found one that uses Vivado and zc702 and testing the system using linux running on SD card.
When finding a relevant xapp, there's always something wrong. Outdated instructions, missing files in the xapp.zip, different programs that doesn't work the same way or the SDK program is made for standalone, etc etc.
I just get stuck whichever path I try.
latest thing I tried was xapp1170 because it used Vivado HLS to make a custom core, which I also plan to do, but then they use PlanAhead and standalone BSP for the actual program, and there were files missing from xapp1170.zip...
12-05-2013 03:08 PM
I suggest that you start with PetaLinux 2013.10 (http://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/petalinux.html) and follow the Installation Guide UG976 (http://www.xilinx.com/support/documentation/sw_manuals/petalinux2013_10/ug976-petalinux-installation.pdf) and the Gettig Started Guide UG977 (http://www.xilinx.com/support/documentation/sw_manuals/petalinux2013_10/ug977-petalinux-getting-started.pdf)
PetaLinux now seamlessly works with Vivado.
07-04-2014 12:18 AM