Zynq UltraScale+

From WIKI SECO

Introduction

The scope of thi wiki is to guide the user throught the already existing Xilinx's documentation. Since this is well done and continuosly updated, SECO provides a road in using the Xilinx eco-system with the SECO's BSP in order to have a full support to SECO's boards. Along this wiki the user will find references to specific guides provided by Xilinx, coded with unique key. When necessary, will be provided also explicitly modifications, restrictions or extensions by SECO over the existing materials.

Document Reference

LIst of SECO's documents about all his modules and SBC based on the Xilinx® Zynq® Ultrascale+™ MPSoC:

  • SM-B71 - SMARC Rel. 2.0 compliant module with the Xilinx® Zynq® Ultrascale+™ MPSoC

External Document Reference

As mentioned above, Xilinx provides more sources for its documentation. Follow a list of some of these:

  • Vivado Documentation - provides both pdf and video tutorial for Vivado tool
  • XSDK - provides both pdf and video tutorial for Xilinx Software Development kit
  • Petalinux - provides pdf for PetaLinux tool
  • Xilinx Wiki - official Wiki portal of Xilinx

Documentation Navigator

Xilinx Documentation Navigator is an additional tool to install locally, provided in order to makes it easier to find the right documents, learn new topics, download locally.
It provides an intuitive and powerful tool for navigating, viewing, and searching Xilinx technical documentation. Documentation Navigator is optimally designed to support viewing and managing PDF documents. The tool can open documents located on the Web or documents downloaded to the user’s desktop. The title, location, size, published date, and status of the available documents are displayed in the Grid View of the Catalog Viewer making it easy to browse through the list of documents. The Download Manager greatly simplifies the process for downloading documents and keeping the local files up to date as new document revisions are published on the Xilinx web site.

Please, for more informations refer to the official page

Documentation Navigator GUI



SECO Boards

Board
Description
BSP v1.0
SM-B71 SMARC Rel. 2.0 compliant module with the Xilinx® Zynq® Ultrascale+™ MPSoC *

(*) BSP support's the board.

Software Support

Actual BSP provided by SECO is based on version 2018.3 of the Xilinx's tool suite.
For more info about this release see here.


Main components

Xilinx user guide to refer:

  • ug1137-zynq-ultrascale-mpsoc-swdev.pdf


Vivado

Vivado GUI

The Vivado® Design Suite is designed to improve productivity. This tool suite is architected to increase the overall productivity for designing, integrating, and implementing systems using the Xilinx® UltraScale™ and 7 series devices, Zynq® UltraScale+™ MPSoC device, and Zynq®-7000 SoC.
The Vivado Design Suite provides you with design analysis capabilities at each design stage. This allows for design and tool setting modifications earlier in the design processes where they have less overall schedule impact, thus reducing design iterations and accelerating productivity.
The Vivado Design Suite replaces the existing Xilinx ISE® Design Suite of tools.
All of the Vivado Design Suite tools are written with a native tool command language (Tcl) interface. All of the commands and options available in the Vivado Integrated Design Environment (IDE), which is the graphical user interface (GUI) for the Vivado Design Suite, are accessible through Tcl. The Vivado Design Suite also provides powerful access to the design data for reporting and configuration as well as the tool commands and options.

XSDK

The Xilinx Software Development Kit (XSDK) is the Integrated Design Environment for creating embedded applications on any of Xilinx's award winning microprocessors: Zynq® UltraScale+ MPSoC, Zynq-7000 SoCs, and the industry-leading MicroBlaze™ soft-core microprocessor. The SDK is the first application IDE to deliver true homogenous and heterogeneous multi-processor design, debug, and performance analysis. Benefits include:

  • Zynq UltraScale+ MPSoC, Zynq-7000 SoCs, and MicroBlaze support
  • Included with the Vivado Design Suite or available as a separate free download for embedded software developers
  • Based on Eclipse 4.5.0 and CDT 8.8.0 (as of the 2016.3 release)
  • Complete Integrated Design Environment (IDE) that directly interfaces to the Vivado embedded hardware design environment
  • Complete software design and debug flows supported, including multi-processor and hardware/software co-debug capabilities
  • Editor, compilers, build tools, flash memory management, and JTAG debug integration
  • Full suite of libraries and device drivers
  • FreeRTOS integrated as RTOS available for all platforms
  • Xilinx Software Command Line Tool (XSCT) available for scripting
XSDK welcome prospective GUI

Petalinux

Petalinux CLI

The PetaLinux Tools offers everything necessary to customize, build and deploy Embedded Linux solutions on Xilinx processing systems. Tailored to accelerate design productivity, the solution works with the Xilinx hardware design tools to ease the development of Linux systems for Zynq® UltraScale+™ MPSoC, Zynq®-7000 SoCs, and MicroBlaze™. PetaLinux Tools (host)

  • PetaLinux tools eases the development of Linux-based products; all the way from system boot to execution with the following tools:
  • Command-line interfaces
  • Application, Device Driver & Library generators and development templates
  • Bootable system Image builder
  • Debug agents
  • GCC tools
  • Integrated QEMU Full System Simulator
  • Automated tools
  • Support for Xilinx System Debugger

With these tools developers can customize the boot loader, Linux kernel, or Linux applications. They can add new kernels, device drivers, applications, libraries, and boot and test software stacks on the included full system simulator (QEMU) or on physical hardware via network or JTAG.

Host Setup

Xilinx user guide to refer:

  • ug1144-petalinux-tools-reference-guide.pdf


Official supported distrebutions:

  • CentOS 7.2/7.3/7.4
  • RHEL7.2/7.3/7.4
  • Ubuntu 16.04.3

Essentially, assuming the user are using an Ubuntu distribution, the quick installation command to execute is:

sudo apt-get install -y gcc git make net-tools libncurses5-dev tftpd zlib1g-dev libssl-dev \
flex bison libselinux1 gnupg wget diffstat chrpath socat xterm autoconf libtool tar unzip \
texinfo zlib1g-dev gcc-multilib build-essential libsdl1.2-dev libglib2.0-dev zlib1g:i386 \
screen pax gzip

Otherwise, assuming the user are using an Red Hat distribution like, the quick installation command to execute is:

sudo yum install gawk make wget tar bzip2 gzip python unzip perl patch diffutils diffstat git \
cpp gcc gcc-c++ glibc-devel texinfo chrpath socat perl-Data-Dumper perl-Text-ParseWords \
perl-Thread-Queue python34-pip xz which SDL-devel xterm autoconf libtool zlib-devel \
automake glib2-devel zlib ncurses-devel openssl-devel dos2unix flex bison glibc.i686 \

The Xilinx tool can be independently installed:


Obtain SECO BSP

BSP v1.0

This BSP release is composed by the follow component(s):

  1. PetaLinux project


The PetaLinux project is customized for the board SM-B71. This is available as GIT repository and the user can clone it whit:

git clone https://git.seco.com/arm/xilinx/release/sm-b71-bsp-2018-3-rel.git -b v1.0

Note - the option -b supported from git version greater or equal than 1.7.9.5. For older version the commands are:

git clone https://git.seco.com/arm/xilinx/release/sm-b71-bsp-2018-3-rel.git
git checkout v1.0


BSP v2.0

BSP based on Xilinx's release 2020.1.

This BSP release is composed by the follow component(s):

  1. PetaLinux project
  2. Vivado project and relative tcl file for automatic construction
  3. pre-build file


The PetaLinux project is customized for the board SM-B71. This is available as GIT repository and the user can clone it whit:

git clone https://git.seco.com/arm/xilinx/release/sm-b71-bsp-2020.1.git -b rel_v2.0

Note - the option -b supported from git version greater or equal than 1.7.9.5. For older version the commands are:

git clone https://git.seco.com/arm/xilinx/release/sm-b71-bsp-2020.1.git
git checkout rel_v2.0