Skip to content

Notes on the Genesys ZU Open Source Instrument. This is a port of Pavel Demin's Red Pitaya Notes.

License

Notifications You must be signed in to change notification settings

marcvhoof/genesys-zu-notes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Genesys ZU Notes

Why?

Current Genesys ZU sources are meant for the Vivado 2019 suite. No updates were provided, while interesting new IP became available over the years. Just upgrading the version did not work out of the box. However, the ease of use of Pavel Demin's way of working with building FPGA sources and Linux is in my opinion unmatched. It is straightforward and the code is easy to maintain over time. It allows a beginner to catch on, and an expert to focus on a a straightforward implementation of their FPGA project. The clarity of the source code tree allows for (partial) re-use and easy spread.

Getting started

These commands should be the only ones you need to build your image. You do need to install Xilinx Vitis.

1. Install the prerequisites

sudo apt-get update

sudo apt-get --no-install-recommends install \
  build-essential bison flex git curl ca-certificates sudo \
  xvfb fontconfig libxrender1 libxtst6 libxi6 gcc-arm-linux-gnueabi binutils-arm-linux-gnueabi \
  bc u-boot-tools device-tree-compiler libncurses5-dev \
  libssl-dev qemu-user-static binfmt-support zip \
  squashfs-tools dosfstools parted debootstrap zerofree gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu 

sudo ln -s make /usr/bin/gmake

2. Set up your environment

source /opt/Xilinx/Vitis/2020.2/settings64.sh

3. Clone the code repository

git clone https://github.com/marcvhoof/genesys-zu-notes
cd genesys-zu-notes

4. Build your project

make NAME=led_blinker all

5. Create a Linux image containing everything

sudo sh scripts/image.sh scripts/debian.sh genesys-zu-debian-arm64.img 1024

6. Burn to a fast SD Card

Use your favourite image maker. For example Ubuntu's start up image maker. You can change the image size in step 5 (1024 megabytes) or use gparted afterwards. Genesys ZU supports the UHS-I 104MB/s mode.

Port of Pavel Demin's work and other sources

Notes on the Genesys ZU, following the methodology of Pavel Demin's Red Pitaya implementation:

Other important sources were the Digilent's Genesys ZU sources

And the OSF flow tutorial for a Zynq UltraScale+ MPSoC board (ZCU102)

About

Notes on the Genesys ZU Open Source Instrument. This is a port of Pavel Demin's Red Pitaya Notes.

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Tcl 43.4%
  • Verilog 32.4%
  • C 12.8%
  • Shell 4.4%
  • CartoCSS 3.0%
  • Makefile 2.3%
  • Other 1.7%