Getting Started Guide for Xilinx Zynq Ultrascale+

From RidgeRun Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


Introduction

On this page, you are going to find all the necessary information for getting started with the Xilinx Zynq Ultrascale+ ZCU102 board.

Basic preliminary work

Setting up serial access to the Linux console

You can use termnet to control u-boot and Linux. For this purpose, the board needs to be connected to the same network as the host computer. This is useful because the board doesn't have to be directly connected to the PC containing the SDK.

Setting up termnet - Ubuntu

If you use the serial port to control u-boot and Linux. The picocom terminal emulator works well for this purpose.

Setting up Picocom - Ubuntu

Setting up a TFTP server

If you are planning to use the SDK's installer to install images generated by the SDK in SPI-NOR, installing a TFTP server you will speed up downloads to the target hardware by using TFTP.

Setting Up A Tftp Service

Setting up a NFS server

For application development, it is convenient to use the root NFS mount file system for the target hardware. This allows you to rebuild your application on the host and immediately run the application on the target hardware with no intervening steps. Your host PC needs to be configured as a NFS server for this in order to work properly.

Setting Up A NFS Service

Installing Toolchains and XSDK

Need to download Xilinx SDK XSDK for getting toolchain and image generator software. XSDK can be downloaded from:

Xilinx embedded designs tools downloads page

Select SDK 2016.3: Linux Self Extracting Web Installer You need to complete the Xilinx registration process in order to download. The file is around 1.3Gb

Change permissions to XSDK installer and execute:

cd ~/Downloads/
chmod 777 Xilinx_SDK_2016.3_1011_1_Lin64.bin
./Xilinx_SDK_2016.3_1011_1_Lin64.bin

Install XSDK 2016.3 at /opt/Xilinx/Downloads.

XSDK Install process images:

After installing a directory structure similar to the one shown below will be obtained:

ls /opt/Xilinx/SDK/2016.3
bin  data  doc  eclipse  gnu  lib  scripts  settings64.csh  settings64.sh  tps

Xilinx Ultrascale+ File System

RidgeRun SDK is able to use different types of file systems:

  • Basic file system created by Ridgerun SDK
    • Ridgerun SDK is in charge of building basic applications to deploy this filesystem.
    • This is a limited fs, but SDK has all Ridgerun classes to add more applications if needed.
    • Very small footprint.
    • File system with Busybox and Gstreamer.
  • Basic Debian precompiled file system created by Ridgerun SDK (Still not available)
    • Ridgerun provides a debian precompiled file system that is able to get packages with apt-get for aarch64
    • Able to get applications from Debian repositories.
    • Small footprint, allows the user to install packages as required

Instructions for using precompiled File System:

cd ~/Downloads
unzip Ubuntu_Source_Release.zip
chown $USER /opt/
mkdir /opt/ridgerun/downloads/
mkdir /opt/Xilinx/UbuntuFS
cd /opt/Xilinx/UbuntuFS
cpio -idv < ~/Downloads/Ubuntu_Source_Release/Linux_Files/rootfs_cpio/ZCU102_Ubuntu_2_rootfs.cpio

At the end you will obtain FS at the directory:

/opt/Xilinx/UbuntuFS$ ls
@!        dev          home     lost+found  proc     run              sbin  usr
bin       etc          include  media       qt       run_cube_del.sh  srv   var
boot      ffmpeg       lib      mnt         QT_cube  run_cube.sh      sys
cube_new  glmark2.png  log      opt         root     run_desktop.sh   tmp

See also


RidgeRun Resources

Quick Start Client Engagement Process RidgeRun Blog Homepage
Technical and Sales Support RidgeRun Online Store RidgeRun Videos Contact Us
RidgeRun.ai: Artificial Intelligence | Generative AI | Machine Learning

Contact Us

Visit our Main Website for the RidgeRun Products and Online Store. RidgeRun Engineering informations are available in RidgeRun Professional Services, RidgeRun Subscription Model and Client Engagement Process wiki pages. Please email to support@ridgerun.com for technical questions and contactus@ridgerun.com for other queries. Contact details for sponsoring the RidgeRun GStreamer projects are available in Sponsor Projects page.