background image

 

© Copyright 2016 Xilinx 

 

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

 

 

 

 

 

Summary of Contents for ZCU102

Page 1: ...talling 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...

Page 2: ...pmu 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 Create the Hel...

Page 3: ...Copyright 2016 Xilinx 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...

Page 4: ...Copyright 2016 Xilinx Set up your host settings on your PC Setup the serial port Finally power on the ZCU102...

Page 5: ...the command below source test_on_hw tcl demo option stop rst Where Options are led echo helloa53 hellor5 and bram Type help for all the options Note User may need to power cycle between tests When th...

Page 6: ...ght 2016 Xilinx 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...

Page 7: ...ck 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...

Page 8: ...Copyright 2016 Xilinx Note you may need to scroll up to find the Download application box Click Apply and Debug Select Yes to launch the Debug Perspective...

Page 9: ...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 s...

Page 10: ...inx arm trusted firmware git cd arm trusted firmware git checkout xilinx v2016 1 bash export CROSS_COMPILE aarch64 linux gnu bash make DEBUG 0 RESET_TO_BL31 1 PLAT zynqmp bl31 o Use bl31 elf in arm tr...

Page 11: ...pu a53 0 bl31 elf destination_cpu a53 0 u boot elf destination_cpu a53 0 load 0x80000 Image bin destination_cpu a53 0 load 0x4000000 system dtb Note The Image is renamed Image bin If using Petalinux t...

Page 12: ...18 0x00800000 0x00800000 mask_write 0XFFD80120 0x00800000 0x00800000 write bootloop and release A53 0 reset mwr 0xffff0000 0x14000000 mwr 0xFD1A0104 0x380E exec sleep 1 source psu_init tcl psu_init ps...

Page 13: ...pre built linux images images linux o Note you can also just use petalinux build here More Info See the Petalinux guide here for more info Users can also use a HDF file from the previous section to bu...

Page 14: ...Copyright 2016 Xilinx 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...

Reviews: