element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
MicroZed Hardware Design problem with dependency loop when choosing INITRAMFS
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 0 replies
  • Subscribers 330 subscribers
  • Views 926 views
  • Users 0 members are here
  • petalinux 2022.1
  • mz7020
  • bsp 2022.1
  • xilinx
  • bsp
  • microzed 7020
Related

problem with dependency loop when choosing INITRAMFS

Roman231
Roman231 over 2 years ago

Hello, i am using petalinux 2022.1 and bsp 2022.1 mz 7020.

I am trying to build a project but getting errors. whenever i choose INITRAMFS in the root file system type in the configuration (petalinux-config) and making the build (petalinux-build -c avnet-image-minimal) i am getting dependency loop (i put the log down here). if I change to ext4 it works fine but i need the INITRAMFS to work. please help me fix this.

this is the build.log file, it is the default config (i only changed the root file system type to INITRAMFS):

[INFO] Sourcing buildtools
[INFO] Building avnet-image-minimal
[INFO] Sourcing build environment
SDK environment now set up; additionally you may now run devtool to perform development tasks.
Run devtool --help for further details.
[INFO] Sourcing buildtools
[INFO] Sourcing buildtools

### Shell environment set up for builds. ###

You can now run 'bitbake <target>'

Common targets are:
core-image-minimal
core-image-full-cmdline
core-image-sato
core-image-weston
meta-toolchain
meta-ide-support

You can also run generated qemu images with a command like 'runqemu qemux86-64'.

Other commonly useful commands are:
- 'devtool' and 'recipetool' handle common recipe tasks
- 'bitbake-layers' handles common layer tasks
- 'oe-pkgdata-util' handles common target package tasks
[INFO] Generating workspace directory
NOTE: Starting bitbake server...
NOTE: Started PRServer with DBfile: /home/roman/petalinux_v2/build/cache/prserv.sqlite3, Address: 127.0.0.1:38689, PID: 166651
INFO: Specified workspace already set up, leaving as-is
NOTE: Started PRServer with DBfile: /home/roman/petalinux_v2/build/cache/prserv.sqlite3, Address: 127.0.0.1:44691, PID: 166747
WARNING: No recipes in default available for:
/home/roman/petalinux_v2/project-spec/meta-avnet/recipes-core/packagegroups/packagegroup-petalinux-vitisai.bbappend
NOTE: Resolving any missing task queue dependencies
NOTE: Fetching uninative binary shim file:///home/roman/petalinux_v2/components/yocto/downloads/uninative/126f4f7f6f21084ee140dac3eb4c536b963837826b7c38599db0b512c3377ba2/x86_64-nativesdk-libc-3.4.tar.xz;sha256sum=126f4f7f6f21084ee140dac3eb4c536b963837826b7c38599db0b512c3377ba2 (will check PREMIRRORS first)
ERROR: 3965 unbuildable tasks were found.
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/roman/petalinux_v2/components/yocto/layers/meta-petalinux/recipes-core/images/petalinux-image-minimal.bb:do_image_complete (dependent Tasks ['u-boot-xlnx_2022.1.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image_tar', 'petalinux-image-minimal.bb:do_image_jffs2', 'petalinux-image-minimal.bb:do_image_cpio', 'python3-cython_0.29.24.bb:do_populate_sysroot', 'python3-pyyaml_5.4.1.bb:do_populate_sysroot', 'avnet-boot-scr.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image', 'u-boot-zynq-scr.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image_ext4', 'fsbl.bb:do_populate_sysroot', 'libyaml_0.2.5.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image_wic'])
Task /home/roman/petalinux_v2/components/yocto/layers/meta-xilinx/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2022.1.bb:do_bundle_initramfs (dependent Tasks ['linux-xlnx_2022.1.bb:do_install', 'petalinux-image-minimal.bb:do_image_complete'])
Task /home/roman/petalinux_v2/components/yocto/layers/meta-xilinx/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2022.1.bb:do_deploy (dependent Tasks ['linux-xlnx_2022.1.bb:do_bundle_initramfs', 'linux-xlnx_2022.1.bb:do_uboot_assemble_fitimage', 'depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'linux-xlnx_2022.1.bb:do_populate_sysroot', 'linux-xlnx_2022.1.bb:do_assemble_fitimage_initramfs', 'linux-xlnx_2022.1.bb:do_packagedata', 'pigz_2.6.bb:do_populate_sysroot'])
Task /home/roman/petalinux_v2/components/yocto/layers/meta-petalinux/recipes-core/images/petalinux-image-minimal.bb:do_image_wic (dependent Tasks ['linux-xlnx_2022.1.bb:do_deploy', 'gptfdisk_1.0.8.bb:do_populate_sysroot', 'mtools_4.0.35.bb:do_populate_sysroot', 'bitstream-extraction_git.bb:do_deploy', 'dosfstools_4.2.bb:do_populate_sysroot', 'fsbl-firmware_2022.1.bb:do_deploy', 'u-boot-xlnx_2022.1.bb:do_deploy', 'petalinux-image-minimal.bb:do_rootfs_wicenv', 'petalinux-image-minimal.bb:do_image', 'parted_3.4.bb:do_populate_sysroot', 'xilinx-bootbin_1.0.bb:do_deploy', 'fsbl.bb:do_deploy', 'u-boot-zynq-scr.bb:do_deploy', 'external-hdf.bb:do_deploy', 'device-tree.bb:do_deploy'])

Dependency loop #2 found:
Task /home/roman/petalinux_v2/components/yocto/layers/meta-petalinux/recipes-core/images/petalinux-image-minimal.bb:do_image_complete (dependent Tasks ['u-boot-xlnx_2022.1.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image_tar', 'petalinux-image-minimal.bb:do_image_jffs2', 'petalinux-image-minimal.bb:do_image_cpio', 'python3-cython_0.29.24.bb:do_populate_sysroot', 'python3-pyyaml_5.4.1.bb:do_populate_sysroot', 'avnet-boot-scr.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image', 'u-boot-zynq-scr.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image_ext4', 'fsbl.bb:do_populate_sysroot', 'libyaml_0.2.5.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image_wic'])
Task /home/roman/petalinux_v2/components/yocto/layers/meta-xilinx/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2022.1.bb:do_bundle_initramfs (dependent Tasks ['linux-xlnx_2022.1.bb:do_install', 'petalinux-image-minimal.bb:do_image_complete'])
Task /home/roman/petalinux_v2/components/yocto/layers/meta-xilinx/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2022.1.bb:do_kernel_generate_rsa_keys (dependent Tasks ['linux-xlnx_2022.1.bb:do_bundle_initramfs'])
Task /home/roman/petalinux_v2/components/yocto/layers/meta-xilinx/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2022.1.bb:do_assemble_fitimage_initramfs (dependent Tasks ['linux-xlnx_2022.1.bb:do_bundle_initramfs', 'linux-xlnx_2022.1.bb:do_kernel_generate_rsa_keys', 'device-tree.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image_complete'])
Task /home/roman/petalinux_v2/components/yocto/layers/meta-xilinx/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2022.1.bb:do_deploy (dependent Tasks ['linux-xlnx_2022.1.bb:do_bundle_initramfs', 'linux-xlnx_2022.1.bb:do_uboot_assemble_fitimage', 'depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'linux-xlnx_2022.1.bb:do_populate_sysroot', 'linux-xlnx_2022.1.bb:do_assemble_fitimage_initramfs', 'linux-xlnx_2022.1.bb:do_packagedata', 'pigz_2.6.bb:do_populate_sysroot'])
Task /home/roman/petalinux_v2/components/yocto/layers/meta-petalinux/recipes-core/images/petalinux-image-minimal.bb:do_image_wic (dependent Tasks ['linux-xlnx_2022.1.bb:do_deploy', 'gptfdisk_1.0.8.bb:do_populate_sysroot', 'mtools_4.0.35.bb:do_populate_sysroot', 'bitstream-extraction_git.bb:do_deploy', 'dosfstools_4.2.bb:do_populate_sysroot', 'fsbl-firmware_2022.1.bb:do_deploy', 'u-boot-xlnx_2022.1.bb:do_deploy', 'petalinux-image-minimal.bb:do_rootfs_wicenv', 'petalinux-image-minimal.bb:do_image', 'parted_3.4.bb:do_populate_sysroot', 'xilinx-bootbin_1.0.bb:do_deploy', 'fsbl.bb:do_deploy', 'u-boot-zynq-scr.bb:do_deploy', 'external-hdf.bb:do_deploy', 'device-tree.bb:do_deploy'])

Dependency loop #3 found:
Task /home/roman/petalinux_v2/components/yocto/layers/meta-petalinux/recipes-core/images/petalinux-image-minimal.bb:do_image_complete (dependent Tasks ['u-boot-xlnx_2022.1.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image_tar', 'petalinux-image-minimal.bb:do_image_jffs2', 'petalinux-image-minimal.bb:do_image_cpio', 'python3-cython_0.29.24.bb:do_populate_sysroot', 'python3-pyyaml_5.4.1.bb:do_populate_sysroot', 'avnet-boot-scr.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image', 'u-boot-zynq-scr.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image_ext4', 'fsbl.bb:do_populate_sysroot', 'libyaml_0.2.5.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image_wic'])
Task /home/roman/petalinux_v2/components/yocto/layers/meta-xilinx/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2022.1.bb:do_bundle_initramfs (dependent Tasks ['linux-xlnx_2022.1.bb:do_install', 'petalinux-image-minimal.bb:do_image_complete'])
Task /home/roman/petalinux_v2/components/yocto/layers/meta-xilinx/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2022.1.bb:do_assemble_fitimage_initramfs (dependent Tasks ['linux-xlnx_2022.1.bb:do_bundle_initramfs', 'linux-xlnx_2022.1.bb:do_kernel_generate_rsa_keys', 'device-tree.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image_complete'])
Task /home/roman/petalinux_v2/components/yocto/layers/meta-xilinx/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2022.1.bb:do_deploy (dependent Tasks ['linux-xlnx_2022.1.bb:do_bundle_initramfs', 'linux-xlnx_2022.1.bb:do_uboot_assemble_fitimage', 'depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'linux-xlnx_2022.1.bb:do_populate_sysroot', 'linux-xlnx_2022.1.bb:do_assemble_fitimage_initramfs', 'linux-xlnx_2022.1.bb:do_packagedata', 'pigz_2.6.bb:do_populate_sysroot'])
Task /home/roman/petalinux_v2/components/yocto/layers/meta-petalinux/recipes-core/images/petalinux-image-minimal.bb:do_image_wic (dependent Tasks ['linux-xlnx_2022.1.bb:do_deploy', 'gptfdisk_1.0.8.bb:do_populate_sysroot', 'mtools_4.0.35.bb:do_populate_sysroot', 'bitstream-extraction_git.bb:do_deploy', 'dosfstools_4.2.bb:do_populate_sysroot', 'fsbl-firmware_2022.1.bb:do_deploy', 'u-boot-xlnx_2022.1.bb:do_deploy', 'petalinux-image-minimal.bb:do_rootfs_wicenv', 'petalinux-image-minimal.bb:do_image', 'parted_3.4.bb:do_populate_sysroot', 'xilinx-bootbin_1.0.bb:do_deploy', 'fsbl.bb:do_deploy', 'u-boot-zynq-scr.bb:do_deploy', 'external-hdf.bb:do_deploy', 'device-tree.bb:do_deploy'])

Dependency loop #4 found:
Task /home/roman/petalinux_v2/components/yocto/layers/meta-petalinux/recipes-core/images/petalinux-image-minimal.bb:do_image_complete (dependent Tasks ['u-boot-xlnx_2022.1.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image_tar', 'petalinux-image-minimal.bb:do_image_jffs2', 'petalinux-image-minimal.bb:do_image_cpio', 'python3-cython_0.29.24.bb:do_populate_sysroot', 'python3-pyyaml_5.4.1.bb:do_populate_sysroot', 'avnet-boot-scr.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image', 'u-boot-zynq-scr.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image_ext4', 'fsbl.bb:do_populate_sysroot', 'libyaml_0.2.5.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image_wic'])
Task /home/roman/petalinux_v2/components/yocto/layers/meta-xilinx/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2022.1.bb:do_assemble_fitimage_initramfs (dependent Tasks ['linux-xlnx_2022.1.bb:do_bundle_initramfs', 'linux-xlnx_2022.1.bb:do_kernel_generate_rsa_keys', 'device-tree.bb:do_populate_sysroot', 'petalinux-image-minimal.bb:do_image_complete'])
Task /home/roman/petalinux_v2/components/yocto/layers/meta-xilinx/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2022.1.bb:do_deploy (dependent Tasks ['linux-xlnx_2022.1.bb:do_bundle_initramfs', 'linux-xlnx_2022.1.bb:do_uboot_assemble_fitimage', 'depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'linux-xlnx_2022.1.bb:do_populate_sysroot', 'linux-xlnx_2022.1.bb:do_assemble_fitimage_initramfs', 'linux-xlnx_2022.1.bb:do_packagedata', 'pigz_2.6.bb:do_populate_sysroot'])
Task /home/roman/petalinux_v2/components/yocto/layers/meta-petalinux/recipes-core/images/petalinux-image-minimal.bb:do_image_wic (dependent Tasks ['linux-xlnx_2022.1.bb:do_deploy', 'gptfdisk_1.0.8.bb:do_populate_sysroot', 'mtools_4.0.35.bb:do_populate_sysroot', 'bitstream-extraction_git.bb:do_deploy', 'dosfstools_4.2.bb:do_populate_sysroot', 'fsbl-firmware_2022.1.bb:do_deploy', 'u-boot-xlnx_2022.1.bb:do_deploy', 'petalinux-image-minimal.bb:do_rootfs_wicenv', 'petalinux-image-minimal.bb:do_image', 'parted_3.4.bb:do_populate_sysroot', 'xilinx-bootbin_1.0.bb:do_deploy', 'fsbl.bb:do_deploy', 'u-boot-zynq-scr.bb:do_deploy', 'external-hdf.bb:do_deploy', 'device-tree.bb:do_deploy'])


ERROR: Command execution failed: 1
ERROR: Failed to build avnet-image-minimal. Check the /home/roman/petalinux_v2/build/build.log file for more details...

  • Sign in to reply
  • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube