I’m running make to build the image from source as the step follow by: PYNQ SD Card image — Python productivity for Zynq (Pynq)
Please provide the following information of environment:
-
PYNQ version(2.7.0) & Board name(ZCU208) & Tool Version(Vitis2020.2 petalinux 2020.2 and OS Ubuntu18.04)
-
However,there is a error happen with the command:petalinux-config --silentconfig -p /home/yx/PYNQ/sdbuild/build/ZCU208/petalinux_project
more information:
xilinx-zcu208-2020.2/project-spec/configs/busybox/inetd.conf
xilinx-zcu208-2020.2/project-spec/configs/config
xilinx-zcu208-2020.2/.gitignore
xilinx-zcu208-2020.2/README
xilinx-zcu208-2020.2/.petalinux/
xilinx-zcu208-2020.2/.petalinux/webtalk_status
xilinx-zcu208-2020.2/.petalinux/usage_statistics
xilinx-zcu208-2020.2/.petalinux/usage_statistics_token
xilinx-zcu208-2020.2/.petalinux/metadata
xilinx-zcu208-2020.2/README.hw
xilinx-zcu208-2020.2/config.project
rm -rf /home/yx/PYNQ/sdbuild/build/ZCU208/petalinux_project
cd /home/yx/PYNQ/sdbuild/build/ZCU208 && petalinux-create -t project -s /home/yx/PYNQ/sdbuild/build/ZCU208/petalinux_bsp/xilinx-zcu208-2020.2.bsp -n petalinux_project
INFO: Create project: petalinux_project
INFO: New project successfully created in /home/yx/PYNQ/sdbuild/build/ZCU208/petalinux_project
echo ‘CONFIG_USER_LAYER_0="’/home/yx/PYNQ/sdbuild/boot/meta-pynq’“’ >> /home/yx/PYNQ/sdbuild/build/ZCU208/petalinux_project/project-spec/configs/config
echo ‘CONFIG_SUBSYSTEM_ROOTFS_EXT4=y’ >> /home/yx/PYNQ/sdbuild/build/ZCU208/petalinux_project/project-spec/configs/config
echo 'CONFIG_SUBSYSTEM_SDROOT_DEV=”/dev/mmcblk0p2"’ >> /home/yx/PYNQ/sdbuild/build/ZCU208/petalinux_project/project-spec/configs/config
echo ‘CONFIG_SUBSYSTEM_ETHERNET_MANUAL_SELECT=y’ >> /home/yx/PYNQ/sdbuild/build/ZCU208/petalinux_project/project-spec/configs/config
if [ 1 = 1 ]; then echo ‘CONFIG_SUBSYSTEM_DEVICETREE_FLAGS=“-@”’ >> /home/yx/PYNQ/sdbuild/build/ZCU208/petalinux_project/project-spec/configs/config ; echo ‘CONFIG_SUBSYSTEM_DTB_OVERLAY=y’ >> /home/yx/PYNQ/sdbuild/build/ZCU208/petalinux_project/project-spec/configs/config ; echo ‘CONFIG_SUBSYSTEM_FPGA_MANAGER=y’ >> /home/yx/PYNQ/sdbuild/build/ZCU208/petalinux_project/project-spec/configs/config ; else echo ‘CONFIG_SUBSYSTEM_REMOVE_PL_DTB=y’ >> /home/yx/PYNQ/sdbuild/build/ZCU208/petalinux_project/project-spec/configs/config ; fi
if [ -z ZCU208.bsp ]; then echo ‘CONFIG_SUBSYSTEM_REMOVE_PL_DTB=y’ >> /home/yx/PYNQ/sdbuild/build/ZCU208/petalinux_project/project-spec/configs/config ; fi
echo ‘CONFIG_xrt=y’ >> /home/yx/PYNQ/sdbuild/build/ZCU208/petalinux_project/project-spec/configs/rootfs_config
echo ‘CONFIG_xrt-dev=y’ >> /home/yx/PYNQ/sdbuild/build/ZCU208/petalinux_project/project-spec/configs/rootfs_config
echo ‘CONFIG_zocl=y’ >> /home/yx/PYNQ/sdbuild/build/ZCU208/petalinux_project/project-spec/configs/rootfs_config
echo ‘CONFIG_opencl-headers-dev=y’ >> /home/yx/PYNQ/sdbuild/build/ZCU208/petalinux_project/project-spec/configs/rootfs_config
echo ‘CONFIG_opencl-clhpp-dev=y’ >> /home/yx/PYNQ/sdbuild/build/ZCU208/petalinux_project/project-spec/configs/rootfs_config
petalinux-config --silentconfig -p /home/yx/PYNQ/sdbuild/build/ZCU208/petalinux_project
INFO: Sourcing build tools
[INFO] Generating Kconfig for project
[INFO] Silentconfig project
[INFO] Extracting yocto SDK to components/yocto
[INFO] Sourcing build environment
[INFO] Generating kconfig for Rootfs
[INFO] Silentconfig rootfs
[INFO] Generating plnxtool conf
[INFO] Adding user layers
[INFO] Generating workspace directory
ERROR: Failed to create workspace directory
ERROR: Failed to config project.
Makefile:371: recipe for target ‘/home/yx/PYNQ/sdbuild/build/ZCU208/petalinux_project’ failed
make: *** [/home/yx/PYNQ/sdbuild/build/ZCU208/petalinux_project] Error 255 -
Am I miss something?
-
Thankyou!–>