Xilinx ZCU102 Getting Started Quick Manual

Xilinx ZCU102 Getting Started Quick Manual

Revb standalone
Hide thumbs Also See for ZCU102:

Advertisement

ZCU102 RevB Standalone Getting Started Quick Guide

18/8/2016
This tutorial is meant as a getting started quick guide for the ZCU102 in Vivado 2016.X. This tutorial
uses scripts to generate the Vivado HW, and SDK applications and testing on HW for ease of use. This
tutorial will also show how to build the Linux image for the ZCU102, and how to boot from JTAG and
SD card. Finally, there is a brief section on how to use the QEMU to evaluate the ZCU102. The intent
of this guide is not to fully explore the tools, but to get the user "up and running" on the ZCU102
platform quickly. More information can be found on the various tasks as the guide progresses. Users
should use these to seek more information at their discretion.
Task 1: Installing Board files for the ZCU102:
The board files are not released with the 2016.X public release. Users can download this from the
ZCU102 HeadStart lounge:
http://www.xilinx.com/member/zcu102_headstart.html
Download this, and copy this into your Vivado install:
C:\Xilinx\Vivado\2016.X\data\boards\board_files
o Where X is the 2016 minor version you are using.
Task 2: Generating the HW:
Launch the Vivado 2016.X, change directory (cd) to build_hw, and source the command from the TCL
console:
source zcu102_2016.tcl
o Enter the version, for example version 2016.2
This script will do the following:
Create the Block Design (BD)
Add and configure the Zynq UltraScale MPSoC
Add the AXI GPIO
Add the AXI BRAM Controller, and BRAM
Add AXI Timer (with Interrupt)
Connect all IP
Generate Output Products
Generate HDL wrapper (Verilog)
Write Bitstream
Export to SDK
More Info: For more information on Block Design creation in Vivado IP Integrator, see the Quick
Take Video
Here
© Copyright 2016 Xilinx

Advertisement

Table of Contents
loading

Summary of Contents for Xilinx ZCU102

  • Page 1 SD card. Finally, there is a brief section on how to use the QEMU to evaluate the ZCU102. The intent of this guide is not to fully explore the tools, but to get the user “up and running” on the ZCU102 platform quickly.
  • Page 2 Create the FSBL App, and BSP (A53)  Create the Echo Server App and BSP (A53) o Note: This is a custom Echo Server for the ZCU102 that will reset the PHY  Create the LED test app and BSP (A53) ...
  • Page 3 Task 3: ZCU102 board Setup: Set the Boot Mode (SW6) pins to JTAG Mode: Plug in the Ethernet Cable into P12 Plug the USB UART and the USB JTAG © Copyright 2016 Xilinx...
  • Page 4 Set up your host settings on your PC: Setup the serial port: Finally, power on the ZCU102 © Copyright 2016 Xilinx...
  • Page 5 When the “led” demo is run, you should see the LEDs highlighted below blink: Type “stop” on the XSCT console to stop this test. When the “echo” is run, you should see the echo server on the serial port: Users can also test a ping: © Copyright 2016 Xilinx...
  • Page 6 When the “helloa53”, or “hellor5” demo is run, you should see the Hello World printed to the serial console: When the “bram” demo is run, you should see the AXI BRAM results printed to the XSDB console: © Copyright 2016 Xilinx...
  • Page 7 Select Project -> Build Automatically. Right click on any of the applications to debug. For example, echo_server. Right click, and select Debug As -> Debug Configurations. Double click on the Xilinx C/C++ application (System Debugger). In the Target Setup, tick the Program FPGA box: In the Application tab, highlight the psu_cortexa53 and tick the Download application box.
  • Page 8 Note: you may need to scroll up to find the Download application box Click Apply, and Debug. Select Yes to launch the Debug Perspective: © Copyright 2016 Xilinx...
  • Page 9 In the Debug View, you should see something similar to below: User, can open a serial port by selecting the SDK terminal tab, and select the green plus icon as shown below: Setup the Port as below: User can then step through the code as normal. © Copyright 2016 Xilinx...
  • Page 10 More Info: The steps to use the Petalinux can be seen further in this tutorial. Using Petalinux versus the OSL flow is highly recommended. The ZCU102 released images, can also be downloaded from the Xilinx Wiki, here Building the u-boot: ...
  • Page 11 Note: The Image is renamed Image.bin. If using Petalinux, this would be the uImage. Copy the resulting BOOT.BIN onto a SD Card, and plug this into the ZCU102. Set the Boot mode to boot from the SD card: (shown below), then set up the serial port, and power on the ZCU102.
  • Page 12 -set -filter {name =~ "Cortex-A53 #0"}  dow u-boot.elf  dow bl31.elf  This will boot the u-boot, then the Linux kernel. If it fails to boot the Linux image, just use the command below:  booti 0x80000 – 0x4000000 © Copyright 2016 Xilinx...
  • Page 13 Note: It is assumed that the user has pre-installed the Petalinux tools. There is an installer at the link here. Users can use the ZCU102 BSP to create the linux, Image, or they can use the HDF to config the image. Both flows are discussed here.
  • Page 14 Booting ZCU102 on QEMU To boot, use the command below from the same Petalinux project as built above.  cd <petalinux_project>  petalinux-boot --qemu --kernel © Copyright 2016 Xilinx...

Table of Contents