Skip to content

PYNQ image build guide for a custom board (ZCU102) with rootfs files using the prebuilt board-agnostic image

License

Notifications You must be signed in to change notification settings

eamicheal/MyCustom_Pynq_ZCU102

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1 Quick start for ZCU102 Custom PYNQ v2.6 Image Building

1.0 Preparation fo the directory

  • $ git clone https://github.com/Xilinx/PYNQ.git
  • $ git checkout -b image_v2.6.0
  • $ git checkout 318258111f2ab0a2a73d06860f20e5a095b3cf08
  • Replace Makefile with that at /sdbuild/Makefile
  • Replace setup_host.sh with that at /sdbuild/scripts

1.1 Use existing Ubuntu OS for ZCU102 v2.6

  • Ensure that sudo is configured for passwordless use and that proxy settings and other environment variables are forwarded correctly.
  • Install Petalinux 2020.1
  • Install Vivado/Vitis 2020.1
  • Ensure that Petalinux and Vitis is on the PATH
  • Run /sdbuild/scripts/setup_host.sh

1.2 Source the appropriate settings for PetaLinux and Vitis

  • $ source /Vivado/2020.1/settings64.sh
  • $ source /Vitis/2020.1/settings64.sh
  • $ source /petalinux/2020.1/settings.sh
  • $ petalinux-util --webtalk off

1.3 Building the Image for ZCU102 v2.6 using the prebuilt board-agnostic image

  • Download the prebuilt board-agnostic image of aarch64 v2.6 for Zynq UltraScale+ from HERE.
  • Download the BSP for ZCU102 Zynq UltraScale+ from XILINX_WEBSITE.
  • Move both downloaded files (bionic.aarch64.2.6.0_2020_10_19.img and xilinx-zcu102-v2020.1-final.bsp) to the target directory /sdbuild/
  • $ cd /sdbuild/
  • Run "bash scripts/image_from_prebuilt.sh ZCU102 xilinx-zcu102-v2020.1-final.bsp aarch64 bionic.aarch64.2.6.0_2020_10_19.img" to recreate ZCU102 board image.
  • Wait for a couple of minutes or hour(s). Once completed, check for the ZCU102 image (ZCU102-2.6.0.img) at /sdbuild/output.

About

PYNQ image build guide for a custom board (ZCU102) with rootfs files using the prebuilt board-agnostic image

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published