Hello all,
I tried building the pynq image for AXU3EG board with PYNQ3.0.
and OS info is : Ubuntu 18.04.6, Vitis/Vivado/Petalinux 2022.1
The board file sutructure is listed below:
AXU3EG/
├── base
└── petalinux_bsp
├── hardware_project
└── meta-user
└── recipes-bsp
└── device-tree
└── files
The error log is listed as below:
- petalinux-build -c zocl
[INFO] Sourcing buildtools
[INFO] Building zocl
[INFO] Sourcing build environment
[INFO] Generating workspace directory
INFO: bitbake zocl
NOTE: Started PRServer with DBfile: /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/build/AXU3EG/petalinux_project/build/cache/prserv.sqlite3, Address: 127.0.0.1:43013, PID: 18734
Loading cache: 100% | | ETA: --:–:–
Loaded 0 entries from dependency cache.
Parsing recipes: 100% |#######################################################################################################################################################################################| Time: 0:00:15
Parsing of 3595 .bb files complete (0 cached, 3595 parsed). 5399 targets, 564 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |####################################################################################################################################################################################| Time: 0:00:00
Checking sstate mirror object availability: 100% |############################################################################################################################################################| Time: 0:00:03
Sstate summary: Wanted 103 Local 2 Network 84 Missed 17 Current 175 (83% match, 93% complete)
Removing 6 stale sstate objects for arch zynqmp_generic: 100% |###############################################################################################################################################| Time: 0:00:00
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 978 tasks of which 936 didn’t need to be rerun and all succeeded.
INFO: Failed to copy built images to tftp dir: /tftpboot
[INFO] Successfully built zocl - sudo cp -rf /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/build/AXU3EG/petalinux_project/build/tmp/sysroots-components/zynqmp_generic/zocl/usr /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/build/jammy.AXU3EG
- sudo cp -rf /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/build/AXU3EG/petalinux_project/build/tmp/sysroots-components/zynqmp_generic/zocl/lib /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/build/jammy.AXU3EG/usr/
- ‘[’ -e /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/packages/xrt/qemu.sh ‘]’
- cp /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/packages/xrt/qemu.sh /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/build/jammy.AXU3EG
- sudo -E chroot /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/build/jammy.AXU3EG bash qemu.sh
- rm /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/build/jammy.AXU3EG/qemu.sh
- ‘[’ -e /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/packages/xrt/post.sh ‘]’
- for p in $@
- ‘[’ -n …/boards/AXU3EG/packages -a -e …/boards/AXU3EG/packages/pynq ‘]’
- f=/media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/packages/pynq
- ‘[’ -e /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/packages/pynq/pre.sh ‘]’
- /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/packages/pynq/pre.sh /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/build/jammy.AXU3EG
- set -e
- target=/media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/build/jammy.AXU3EG
- pynqoverlays_dir=/media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/build/jammy.AXU3EG/usr/local/share/pynq-venv/lib/python3.10/site-packages/pynq/overlays
+++ dirname /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/packages/pynq/pre.sh
++ cd /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/packages/pynq
++ pwd - script_dir=/media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/packages/pynq
- sudo mkdir -p /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/build/jammy.AXU3EG/home/xilinx/pynq_git/dist
- sudo cp /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/packages/pynq/pynq_hostname.sh /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/build/jammy.AXU3EG/usr/local/bin
- sudo cp /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/packages/pynq/boardname.sh /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/build/jammy.AXU3EG/etc/profile.d
++ date +%Y_%m_%d
++ git rev-parse --short=7 --verify HEAD - echo ‘Release 2023_08_04 a056b84’
- ‘[’ AXU3EG ‘!=’ Unknown ‘]’
- cd …/boards/AXU3EG
- git tag
- ‘[’ 0 -eq 0 ‘]’
++ date +%Y_%m_%d
++ git rev-parse --short=7 --verify HEAD
++ git config --get remote.origin.url - echo ‘Board 2023_08_04’ a056b84 GitHub - Xilinx/PYNQ: Python Productivity for ZYNQ
- sudo cp -rf /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/build/PYNQ/REVISION /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/build/jammy.AXU3EG/home/xilinx/REVISION
- sudo cp -rf /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/build/PYNQ/REVISION /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/build/jammy.AXU3EG/boot/REVISION
- ‘[’ -d /usr/local/share/fatfs_contents ‘]’
- ‘[’ …/boards ‘!=’ ‘’ ‘]’
- ‘[’ AXU3EG ‘!=’ Unknown ‘]’
++ find …/boards/AXU3EG -maxdepth 2 -iname ‘*.bit’ -printf ‘%h\n’
find: ‘…/boards/AXU3EG’: No such file or directory - overlays=
- unmount_special
- for fs in $fss
- sudo umount -l /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/build/jammy.AXU3EG/proc
- for fs in $fss
- sudo umount -l /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/build/jammy.AXU3EG/run
- for fs in $fss
- sudo umount -l /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/build/jammy.AXU3EG/dev
- sudo umount -l /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/build/jammy.AXU3EG/ccache
- rmdir /media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/build/jammy.AXU3EG/ccache
Makefile:371: recipe for target ‘/media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/build/AXU3EG.tar.gz’ failed
make: *** [/media/x2-b7010/data02/xilinx_proj/PYNQ/sdbuild/build/AXU3EG.tar.gz] Error 1
=========================================================================
Does that relate to the system environement configuration or supported file missing?
Thank in advance
Best Regards