Error on make BOARDS=ZCU104 ( Build PYNQ for ZCU102)

Hi, I want to build a PYNQ image for ZCU102. I am using Ubuntu 18.04 on VirtualBox. I have git clone PYQ repository, run, installed Vivado 2019.2 and Petalinux 2019.2 on Ubuntu. I want to rebuild the ZCU104 image to build for ZCU102. So I ran this command “make BOARDS=ZCU104”, but I have this error message.

/opt/qemu/bin/qemu-aarch64-static -version | fgrep 4.0.0
vivado -version | fgrep 2020.1
/bin/bash: vivado: command not found
Makefile:356: recipe for target ‘checkenv’ failed
make: *** [checkenv] Error 1

Anyone know how to solve this error or has achieved building a PYNQ image for ZCU102? Really appreciate your help, thank you.


Before running make you need to source Vivado 2020.1 file. It is one of required tools.