This folder helps users upgrade PYNQ v2.6 image to be compatible with Vitis AI. Currenly we support Zynq Ultrascale board images, including Ultra96, ZCU104, ZCU111, and potentially a couple of other boards.
We have the following assumptions:
- As a starting point, we assume you have flashed your SD card (at least 16GB) with PYNQ image v2.6.
- You can boot up the board without any issue. For Ultra96, we recommended you to use bigger power bricks; for example, 4A power brick.
- You have an Internet connection from the board. Wired connection is recommended.
The first step is to upgrade your image so we can install some libraries required by Vitis AI.
On your board, run su
to use super
user. Password is xilinx
. Run the following commands:
git clone --recursive --shallow-submodules https://github.com/Xilinx/DPU-PYNQ.git
cd DPU-PYNQ/upgrade
make
The upgrade process can take up to 1 hour so please be patient. At the same time, you can proceed to the next few steps.
By default, the Makefile
will install / update the following packages:
gcc9
: upgradegcc
9 from source distribution.xrt
: Xilinx Run Time (XRT) will be upgraded to tag202020.2.8.726
.
The above steps help users with DPU on PYNQ image v2.6 temporarily. For future PYNQ releases, these steps will be included in the image itself, so we expect the upgrade scripts to be deprecated in the near future.
Copyright (C) 2021 Xilinx, Inc
SPDX-License-Identifier: Apache-2.0 License