Board files to build a PYNQ image
Board Name | Last Tested PYNQ Version |
Link to BSP | What was tested | What will not work |
---|---|---|---|---|
ZedBoard | Master - c2d606 | 2018.2, 2018.3 (not tested yet) | TVM/VTA, BNN-PYNQ, QNN-MO-PYNQ | HDMI out |
You should read pynq_sd_card:
- Ubuntu 16.04 LTS 64-bit (in a Virtual Machine)
- passwordless sudo
- Xilinx Vivado, SDx and PetaLinux (same version as BSP needed)
You also need a Xilinx Account for the BSP.
- Clone PYNQ:
git clone https://github.com/Xilinx/PYNQ.git
- Install dependencies:
<PYNQ repository>/sdbuild/scripts/setup_host.sh
- Clone this git outside the PYNQ directory:
git clone https://github.com/cklarhorst/pynq-boards.git
-
Download and copy the BSP Package into your board directory.
-
Update the BSP entry in your spec file under
<PATH TO pynq-boards>/<YOUR BOARD>/<YOUR BOARD>.spec
according to your BSP version -
Build the image:
cd <PATH TO PYNQ>/sdbuild
make BOARDDIR="<PATH TO pynq-boards>" BOARDS="<YOUR BOARD>"
SD card image will be placed in the PYNQ/sdbuild/
directory.
which vivado | fgrep 2018.2
Makefile:307: recipe for target 'checkenv' failed
Solution
source /tools/Xilinx/Vivado/2018.2/settings64.sh
Most software only runs on specific boards, to run or install you can override your board environment variable (use a board with the same fpga/package), use at your own risk:
export BOARD="Pynq-Z1"
It's a good idea to use qemu and build additional software (like tvm) on your host pc.