Skip to content

cklarhorst/pynq-boards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

pynq-boards

Board files to build a PYNQ image

Currently Supported Boards

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

Requirements

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.

Quick Start

  1. Clone PYNQ:
git clone https://github.com/Xilinx/PYNQ.git
  1. Install dependencies:
<PYNQ repository>/sdbuild/scripts/setup_host.sh
  1. Clone this git outside the PYNQ directory:
git clone https://github.com/cklarhorst/pynq-boards.git
  1. Download and copy the BSP Package into your board directory.

  2. Update the BSP entry in your spec file under <PATH TO pynq-boards>/<YOUR BOARD>/<YOUR BOARD>.spec according to your BSP version

  3. 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.

FAQ

Build errors

which vivado | fgrep 2018.2
Makefile:307: recipe for target 'checkenv' failed

Solution

source /tools/Xilinx/Vivado/2018.2/settings64.sh

Runtime errors

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"

Note

It's a good idea to use qemu and build additional software (like tvm) on your host pc.

About

Board files to build a PYNQ image

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published