This repository provides files and instructions for building an SD Card image with PYNQ 2.7 for the ZCU216 evaluation board. The repository contains:
- Instructions
- ZCU216 board folder with updated device tree.
- tics folder with files that program the LMK/LMX PLLs for the ZCU216 RFDCs.
- Setup a machine with Ubuntu 18.04 or 20.04 for building OR setup an equivalent virtual machine by following these instructions: https://pynq.readthedocs.io/en/latest/pynq_sd_card.html#prepare-the-building-environment
- Recursively clone this repository:
git clone --recursive https://github.com/UniHD-CEG/ZCU216-PYNQ
- Install dependencies by running the following from the root folder of this repository:
bash PYNQ/sdbuild/scripts/setup_host.sh
- Re-login to ensure the environment is properly set up.
- Install Vivado and Vitis 2020.2 from here: https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/vitis/archive-vitis.html
- Note that both Vitis and Vivado are installed at the same time with the same installer.
- Also make sure that the necessary licenses are available to the Vitis installation.
- Install PetaLinux 2020.2 by following this guide from step 4 and onwards: https://www.fpgadeveloper.com/how-to-install-petalinux-2020.1/
- IMPORTANT: Make sure to replace '2020.1' with '2020.2' wherever the version number is referenced. This includes the download link!
- Download the rootfs from here: https://www.xilinx.com/bin/public/openDownload?filename=focal.aarch64.2.7.0_2021_11_17.tar.gz
- Find and Download the ZCU216 Petalinux 2020.2 BSP from here: https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/1065451521/2020.2+Release
- The exact link should be: https://www.xilinx.com/member/forms/download/xef.html?filename=xilinx-zcu216-v2020.2-final.bsp
- Configure the
config.sh
file to match your specific installation.- Here the paths to the different tools and files, that were downloaded previously, need to be set.
- Make sure all prequisites have been setup properly.
- Execute the build script:
bash build_ZCU216.sh
- This method automatically places the correct tics files into the correct folder as indicated above. Depending on your system this will take between 1.5 and 4 hours.
- Note: The build process will run sudo commands about four times during the build. This may require manual insertion of your password.