Git error with PYNQ image for ZCU111 board

Hi folks,
i’m trying to generate the PYNQ image for ZCU111 board, this is my system conf:

  • Ubuntu 18.04 in Virtual Box
  • Petalinux 2022.1
  • Vivado 2022.1
  • Repository for RFSoC-PYNQ V3.0

If i launch the script setup_host.sh:

Requirement already satisfied: numpy in /usr/local/lib/python3.6/dist-packages
Requirement already satisfied: cffi in /usr/local/lib/python3.6/dist-packages
Requirement already satisfied: pycparser in /usr/local/lib/python3.6/dist-packages (from cffi)

  • echo ‘PATH=/opt/qemu/bin:/opt/crosstool-ng/bin:$PATH’
  • echo ‘Now install Vitis and Petalinux.’
    Now install Vitis and Petalinux.
  • echo ‘Re-login to ensure the environment is properly set up.’
    Re-login to ensure the environment is properly set up.

but when i try to generate the image with make BOARD=ZCU111 the script stop with this error:

> fatal: repository ‘/home/gelmetti/Documents/RFSoC-PYNQ/pynq/sdbuild/build/ZCU111/petalinux_project/build/downloads/git2/github.com.Xilinx.linux-xlnx.git/’ does not exist

ERROR: Logfile of failure stored in: /home/gelmetti/Documents/RFSoC-PYNQ/pynq/sdbuild/build/ZCU111/petalinux_project/build/tmp/work/xilinx_zcu111-xilinx-linux/linux-xlnx/5.15.19+gitAUTOINC+b0c1be301e-r0/temp/log.do_unpack.6528
ERROR: Task (/home/gelmetti/Documents/RFSoC-PYNQ/pynq/sdbuild/build/ZCU111/petalinux_project/components/yocto/layers/meta-xilinx/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2022.1.bb:do_unpack) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 922 tasks of which 921 didn’t need to be rerun and 1 failed.

Summary: 1 task failed:
/home/gelmetti/Documents/RFSoC-PYNQ/pynq/sdbuild/build/ZCU111/petalinux_project/components/yocto/layers/meta-xilinx/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2022.1.bb:do_unpack
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
ERROR: Failed to build device-tree. Check the /home/gelmetti/Documents/RFSoC-PYNQ/pynq/sdbuild/build/ZCU111/petalinux_project/build/build.log file for more details…
Makefile:371: recipe for target ‘/home/gelmetti/Documents/RFSoC-PYNQ/pynq/sdbuild/build/ZCU111/petalinux_project/images/linux/system.dtb’ failed
make[1]: *** [/home/gelmetti/Documents/RFSoC-PYNQ/pynq/sdbuild/build/ZCU111/petalinux_project/images/linux/system.dtb] Error 255
make[1]: Leaving directory ‘/home/gelmetti/Documents/RFSoC-PYNQ/pynq/sdbuild’
Makefile:48: recipe for target ‘ZCU111-3.0.1.img’ failed

Any idea?

Thanks,
Federico

Hi,
just an update.
Problem fixed with a new RFsoc repository installation. Now it’s working.

Thanks
Federico

1 Like