I am trying to build Petalinux for the UltraZed + PCIe Carrier card using version 2020.1 + uz3eg_pciec_2020_1.bsp.
After commenting out the last 2 lines in project-spec/meta-user/conf/petalinuxbsp.conf
#DL_DIR = "/media/training/BUILD/projects/uzegpcietag/petalinux/projects/cache/downloads_2020.1/"
#SSTATE_DIR = "/media/training/BUILD/projects/uzegpcietag/petalinux/projects/cache/sstate_2020.1/aarch64/"
I updated the configuration to boot from the SD card.
The petalinux-build indicates there is a circular dependency:
INFO: sourcing build tools
[INFO] building project
[INFO] sourcing build environment
[INFO] generating user layers
[INFO] generating workspace directory
INFO: bitbake petalinux-image-minimal
Loading cache: 100% |########################################################################| Time: 0:00:00
Loaded 4257 entries from dependency cache.
Parsing recipes: 100% |######################################################################| Time: 0:00:03
Parsing of 2990 .bb files complete (2988 cached, 2 parsed). 4259 targets, 171 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: 2846 unbuildable tasks were found.############# | ETA: 0:00:01
These are usually caused by circular dependencies and any circular dependency chains found will be printed below. Increase the debug level to see a list of unbuildable tasks.
Identifying dependency loops (this may take a short while)...
ERROR:
Dependency loop #1 found:
Task /home/mackinj/projects/uz3eg_pciec_2020_1/components/yocto/layers/meta-petalinux/recipes-core/images/petalinux-image-minimal.bb:do_image_complete (dependent Tasks ['petalinux-image-minimal.bb:do_image_ext4', 'u-boot-xlnx_2020.1.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image_cpio', 'u-boot-zynq-scr.bb:do_populate_sysroot', 'arm-trusted-firmware_2020.1.bb:do_populate_sysroot', 'fsbl_git.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image_jffs2', 'petalinux-image-minimal.bb:do_image', 'petalinux-image-minimal.bb:do_image_wic', 'python3-pyyaml_5.1.2.bb:do_populate_sysroot', 'libyaml_0.2.2.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image_tar', 'pmu-firmware_git.bb:do_populate_sysroot', 'python3-cython_0.29.13.bb:do_populate_sysroot', 'avnet-boot-scr.bb:do_populate_sysroot'])
Task /home/mackinj/projects/uz3eg_pciec_2020_1/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2020.1.bb:do_bundle_initramfs (dependent Tasks ['linux-xlnx_2020.1.bb:do_install', 'petalinux-image-minimal.bb:do_image_complete'])
Task /home/mackinj/projects/uz3eg_pciec_2020_1/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2020.1.bb:do_assemble_fitimage_initramfs (dependent Tasks ['device-tree.bb:do_populate_sysroot', 'linux-xlnx_2020.1.bb:do_bundle_initramfs', 'petalinux-image-minimal.bb:do_image_complete'])
Task /home/mackinj/projects/uz3eg_pciec_2020_1/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2020.1.bb:do_deploy (dependent Tasks ['depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'linux-xlnx_2020.1.bb:do_bundle_initramfs', 'linux-xlnx_2020.1.bb:do_packagedata', 'linux-xlnx_2020.1.bb:do_assemble_fitimage_initramfs', 'linux-xlnx_2020.1.bb:do_populate_sysroot'])
Task /home/mackinj/projects/uz3eg_pciec_2020_1/components/yocto/layers/meta-petalinux/recipes-core/images/petalinux-image-minimal.bb:do_image_wic (dependent Tasks ['xilinx-bootbin_1.0.bb:do_deploy', 'bitstream-extraction_git.bb:do_deploy', 'pmu-firmware_git.bb:do_deploy', 'device-tree.bb:do_deploy', 'parted_3.2.bb:do_populate_sysroot', 'u-boot-xlnx_2020.1.bb:do_deploy', 'petalinux-image-minimal.bb:do_image', 'linux-xlnx_2020.1.bb:do_deploy', 'dosfstools_4.1.bb:do_populate_sysroot', 'external-hdf.bb:do_deploy', 'petalinux-image-minimal.bb:do_rootfs_wicenv', 'fsbl_git.bb:do_deploy', 'arm-trusted-firmware_2020.1.bb:do_deploy', 'mtools_4.0.23.bb:do_populate_sysroot', 'gptfdisk_1.0.4.bb:do_populate_sysroot'])
Dependency loop #2 found:
Task /home/mackinj/projects/uz3eg_pciec_2020_1/components/yocto/layers/meta-petalinux/recipes-core/images/petalinux-image-minimal.bb:do_image_complete (dependent Tasks ['petalinux-image-minimal.bb:do_image_ext4', 'u-boot-xlnx_2020.1.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image_cpio', 'u-boot-zynq-scr.bb:do_populate_sysroot', 'arm-trusted-firmware_2020.1.bb:do_populate_sysroot', 'fsbl_git.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image_jffs2', 'petalinux-image-minimal.bb:do_image', 'petalinux-image-minimal.bb:do_image_wic', 'python3-pyyaml_5.1.2.bb:do_populate_sysroot', 'libyaml_0.2.2.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image_tar', 'pmu-firmware_git.bb:do_populate_sysroot', 'python3-cython_0.29.13.bb:do_populate_sysroot', 'avnet-boot-scr.bb:do_populate_sysroot'])
Task /home/mackinj/projects/uz3eg_pciec_2020_1/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2020.1.bb:do_bundle_initramfs (dependent Tasks ['linux-xlnx_2020.1.bb:do_install', 'petalinux-image-minimal.bb:do_image_complete'])
Task /home/mackinj/projects/uz3eg_pciec_2020_1/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2020.1.bb:do_deploy (dependent Tasks ['depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'linux-xlnx_2020.1.bb:do_bundle_initramfs', 'linux-xlnx_2020.1.bb:do_packagedata', 'linux-xlnx_2020.1.bb:do_assemble_fitimage_initramfs', 'linux-xlnx_2020.1.bb:do_populate_sysroot'])
Task /home/mackinj/projects/uz3eg_pciec_2020_1/components/yocto/layers/meta-petalinux/recipes-core/images/petalinux-image-minimal.bb:do_image_wic (dependent Tasks ['xilinx-bootbin_1.0.bb:do_deploy', 'bitstream-extraction_git.bb:do_deploy', 'pmu-firmware_git.bb:do_deploy', 'device-tree.bb:do_deploy', 'parted_3.2.bb:do_populate_sysroot', 'u-boot-xlnx_2020.1.bb:do_deploy', 'petalinux-image-minimal.bb:do_image', 'linux-xlnx_2020.1.bb:do_deploy', 'dosfstools_4.1.bb:do_populate_sysroot', 'external-hdf.bb:do_deploy', 'petalinux-image-minimal.bb:do_rootfs_wicenv', 'fsbl_git.bb:do_deploy', 'arm-trusted-firmware_2020.1.bb:do_deploy', 'mtools_4.0.23.bb:do_populate_sysroot', 'gptfdisk_1.0.4.bb:do_populate_sysroot'])
Dependency loop #3 found:
Task /home/mackinj/projects/uz3eg_pciec_2020_1/components/yocto/layers/meta-petalinux/recipes-core/images/petalinux-image-minimal.bb:do_image_complete (dependent Tasks ['petalinux-image-minimal.bb:do_image_ext4', 'u-boot-xlnx_2020.1.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image_cpio', 'u-boot-zynq-scr.bb:do_populate_sysroot', 'arm-trusted-firmware_2020.1.bb:do_populate_sysroot', 'fsbl_git.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image_jffs2', 'petalinux-image-minimal.bb:do_image', 'petalinux-image-minimal.bb:do_image_wic', 'python3-pyyaml_5.1.2.bb:do_populate_sysroot', 'libyaml_0.2.2.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image_tar', 'pmu-firmware_git.bb:do_populate_sysroot', 'python3-cython_0.29.13.bb:do_populate_sysroot', 'avnet-boot-scr.bb:do_populate_sysroot'])
Task /home/mackinj/projects/uz3eg_pciec_2020_1/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2020.1.bb:do_assemble_fitimage_initramfs (dependent Tasks ['device-tree.bb:do_populate_sysroot', 'linux-xlnx_2020.1.bb:do_bundle_initramfs', 'petalinux-image-minimal.bb:do_image_complete'])
Task /home/mackinj/projects/uz3eg_pciec_2020_1/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2020.1.bb:do_deploy (dependent Tasks ['depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'linux-xlnx_2020.1.bb:do_bundle_initramfs', 'linux-xlnx_2020.1.bb:do_packagedata', 'linux-xlnx_2020.1.bb:do_assemble_fitimage_initramfs', 'linux-xlnx_2020.1.bb:do_populate_sysroot'])
Task /home/mackinj/projects/uz3eg_pciec_2020_1/components/yocto/layers/meta-petalinux/recipes-core/images/petalinux-image-minimal.bb:do_image_wic (dependent Tasks ['xilinx-bootbin_1.0.bb:do_deploy', 'bitstream-extraction_git.bb:do_deploy', 'pmu-firmware_git.bb:do_deploy', 'device-tree.bb:do_deploy', 'parted_3.2.bb:do_populate_sysroot', 'u-boot-xlnx_2020.1.bb:do_deploy', 'petalinux-image-minimal.bb:do_image', 'linux-xlnx_2020.1.bb:do_deploy', 'dosfstools_4.1.bb:do_populate_sysroot', 'external-hdf.bb:do_deploy', 'petalinux-image-minimal.bb:do_rootfs_wicenv', 'fsbl_git.bb:do_deploy', 'arm-trusted-firmware_2020.1.bb:do_deploy', 'mtools_4.0.23.bb:do_populate_sysroot', 'gptfdisk_1.0.4.bb:do_populate_sysroot'])
ERROR: Command execution failed: 1