forked from pavel-demin/red-pitaya-notes
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
48 lines (33 loc) · 2.08 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Genesys ZU Notes
# Why?
Current Genesys ZU sources are meant for the Vivado 2019 suite. No updates were provided, while interesting new IP became avaialable over the years. Just upgrading the version did not work out of the box. The Petalinux implementation is complete. 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 re-use and easy dissemination.
#Getting started
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 lib32ncurses5 \
bc u-boot-tools device-tree-compiler libncurses5-dev \
libssl-dev qemu-user-static binfmt-support zip \
squashfs-tools dosfstools parted debootstrap zerofree
sudo ln -s make /usr/bin/gmake
these commands should be the only ones you need to build your image
First set up your environment
source /opt/Xilinx/Vitis/2020.2/settings64.sh
Clone the code repository
git clone https://github.com/marcvhoof/genesys-zu-notes
cd genesys-zu-notes
Build your project
make NAME=led_blinker all
Create a Linux image containing everything
sudo sh scripts/image.sh scripts/debian.sh genesys-zu-debian-arm64.img 1024
Burn to a big enough SD Card
# Port of Pavel Demin's work and other sources
Notes on the Genesys ZU, following the methodology of Pavel Demin's Red Pitaya implementation:
http://pavel-demin.github.io/red-pitaya-notes/
Other important sources where Digilent's Genesys ZU sources
https://github.com/Digilent/Genesys-ZU-OOB-os
https://github.com/Digilent/Genesys-ZU-HW
https://github.com/Digilent/vivado-boards/tree/master/new/board_files/genesys-zu-3eg
And the OSF flow tutorial for a Zynq UltraScale+ MPSoC board (ZCU102)
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841722/ZCU102+Image+creation+in+OSL+flow