PynqZ2 image building error

Hello. In my case i have vivado 2019.1 petalinux 2019.1 and pynq 2.5 for a zybo z7.
I was getting a different error on the layer but fixed layer.conf with this line instead
LAYERSERIES_COMPAT_pynq = “thud”.

The process continues a little bit but then this error appears:

PYNQ_BOARDNAME=Zybo FPGA_MANAGER=1 petalinux-build -c device-tree -p /home/user/PYNQ/sdbuild/build/Zybo/petalinux_project

[INFO] building device-tree

[INFO] sourcing bitbake

[INFO] generating user layers

INFO: bitbake virtual/dtb

Loading cache: 100% |##############################################################################################################################################| Time: 0:00:04

Loaded 3813 entries from dependency cache.

Parsing recipes: 100% |############################################################################################################################################| Time: 0:00:22

Parsing of 2780 .bb files complete (2778 cached, 2 parsed). 3817 targets, 191 skipped, 0 masked, 0 errors.

NOTE: Resolving any missing task queue dependencies

Initialising tasks: 100% |#########################################################################################################################################| Time: 0:00:09

Checking sstate mirror object availability: 100% |#################################################################################################################| Time: 0:01:44

Sstate summary: Wanted 236 Found 60 Missed 352 Current 612 (25% match, 79% complete)

NOTE: Executing SetScene Tasks

NOTE: Executing RunQueue Tasks

ERROR: fpga-manager-util-xilinx+gitAUTOINC+73e546e312-r0 do_compile: Function failed: do_compile (log file is located at /home/user/PYNQ/sdbuild/build/Zybo/petalinux_project/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/fpga-manager-util/xilinx+gitAUTOINC+73e546e312-r0/temp/log.do_compile.22622)

ERROR: Logfile of failure stored in: /home/user/PYNQ/sdbuild/build/Zybo/petalinux_project/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/fpga-manager-util/xilinx+gitAUTOINC+73e546e312-r0/temp/log.do_compile.22622

Log data follows:

| DEBUG: Executing shell function do_compile

| ls: cannot access '/home/user/PYNQ/sdbuild/build/Zybo/petalinux_project/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/fpga-manager-util/xilinx+gitAUTOINC+73e546e312-r0/recipe-sysroot/boot/bitstream/*': No such file or directory

| WARNING: /home/user/PYNQ/sdbuild/build/Zybo/petalinux_project/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/fpga-manager-util/xilinx+gitAUTOINC+73e546e312-r0/temp/run.do_compile.22622:1 exit 2 from 'basebit=`ls /home/user/PYNQ/sdbuild/build/Zybo/petalinux_project/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/fpga-manager-util/xilinx+gitAUTOINC+73e546e312-r0/recipe-sysroot/boot/bitstream/*`'

| ERROR: Function failed: do_compile (log file is located at /home/user/PYNQ/sdbuild/build/Zybo/petalinux_project/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/fpga-manager-util/xilinx+gitAUTOINC+73e546e312-r0/temp/log.do_compile.22622)

ERROR: Task (/home/user/petalinux/components/yocto/source/arm/layers/meta-xilinx-tools/recipes-bsp/fpga-manager-util/fpga-manager-util_1.0.bb:do_compile) failed with exit code '1'

NOTE: Tasks Summary: Attempted 1944 tasks of which 1848 didn't need to be rerun and 1 failed.

Summary: 1 task failed:

/home/user/petalinux/components/yocto/source/arm/layers/meta-xilinx-tools/recipes-bsp/fpga-manager-util/fpga-manager-util_1.0.bb:do_compile

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

ERROR: Failed to build device-tree

make: *** [Makefile:338: /home/user/PYNQ/sdbuild/build/Zybo/petalinux_project/images/linux/system.dtb] Error 255

Any ideas? Using ZYBO-PYNQ files and make PREBUILT=../pynq_z1_v2.5.img BOARDS=Zybo

1 Like