element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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
  • 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
Ultrazed Hardware Design UltraZed+PCIe Petalinux 2020.1 bsp circular dependency
  • 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
  • State Not Answered
  • Replies 2 replies
  • Subscribers 324 subscribers
  • Views 1386 views
  • Users 0 members are here
Related

UltraZed+PCIe Petalinux 2020.1 bsp circular dependency

mackinj
mackinj over 4 years ago

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

  • Sign in to reply
  • Cancel

Top Replies

  • mackinj
    mackinj over 4 years ago in reply to narrucmot +1
    I was able to get around the issue by doing: # petalinux-build -c avnet-image-full This works fine. When I do "petalinux-build" it looks like it is doing the default petalinux-image-minimal. So the default…
Parents
  • narrucmot
    0 narrucmot over 4 years ago

    Hi Jeff,

     

    I have not seen this error before.  Can you tell me what command you used to build the OS image after changing the boot device to SD card?

     

    --Tom

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mackinj
    0 mackinj over 4 years ago in reply to narrucmot

    I was able to get around the issue by doing:

    # petalinux-build -c avnet-image-full

    This works fine.

     

    When I do "petalinux-build" it looks like it is doing the default petalinux-image-minimal. So the default has some circular dependencies in there somewhere.

     

    Thanks,

    Jeff

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • mackinj
    0 mackinj over 4 years ago in reply to narrucmot

    I was able to get around the issue by doing:

    # petalinux-build -c avnet-image-full

    This works fine.

     

    When I do "petalinux-build" it looks like it is doing the default petalinux-image-minimal. So the default has some circular dependencies in there somewhere.

     

    Thanks,

    Jeff

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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