<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX Processors中的主题 Creating a FIT Image with INITRAMFs</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Creating-a-FIT-Image-with-INITRAMFs/m-p/1257020#M172109</link>
    <description>Processor : i.MX8MM Yocto : 2.7.1 (warrior) Yocto : 2.7.1 (warrior) I am trying to crate a "initramfs image" bundling with the "Kernel image". Below mentioned is the link and which I am following . &lt;A href="https://www.yoctoproject.org/docs/3.1/dev-manual/dev-manual.html#building-an-initramfs-image" target="_blank"&gt;https://www.yoctoproject.org/docs/3.1/dev-manual/dev-manual.html#building-an-initramfs-image&lt;/A&gt; Below is the steps which I followed : 1. Added INITRAMFS_IMAGE_BUNDLE variable to "1" in local.conf 2. Added INITRAMFS_IMAGE = "phytec-initramfs-image" in your local.conf 3. And tried building the image using bitbake. But when I am compiling the image, I am getting the following mentioned "Circular dependency error". Kindly Requesting solution/suggestions for the same . ------------------------------------------------------ ERROR: 1830 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 /mnt/Aditional_2TB/khaleel_new/yocto/iMX8MM/sources/poky/../meta-phytec/recipes-kernel/linux/linux-imx_4.19.35_1.1.0-phy4.bb:do_bundle_initramfs (dependent Tasks ['linux-imx_4.19.35_1.1.0-phy4.bb:do_install', 'core-image-minimal-initramfs.bb:do_image_complete']) Task /mnt/Aditional_2TB/khaleel_new/yocto/iMX8MM/sources/poky/../meta-phytec/recipes-kernel/linux/linux-imx_4.19.35_1.1.0-phy4.bb:do_deploy (dependent Tasks ['linux-imx_4.19.35_1.1.0-phy4.bb:do_packagedata', 'linux-imx_4.19.35_1.1.0-phy4.bb:do_populate_sysroot', 'linux-imx_4.19.35_1.1.0-phy4.bb:do_bundle_initramfs', 'depmodwrapper-cross_1.0.bb:do_populate_sysroot']) Task /mnt/Aditional_2TB/khaleel_new/yocto/iMX8MM/sources/poky/meta/recipes-core/images/core-image-minimal-initramfs.bb:do_image_wic (dependent Tasks ['core-image-minimal-initramfs.bb:do_rootfs_wicenv', 'core-image-minimal-initramfs.bb:do_image', 'linux-imx_4.19.35_1.1.0-phy4.bb:do_deploy', 'imx-boot-phytec_0.2.bb:do_deploy', 'u-boot-imx_2019.04_1.1.0-phy5.bb:do_deploy', 'gptfdisk_1.0.4.bb:do_populate_sysroot', 'dosfstools_4.1.bb:do_populate_sysroot', 'firmware-imx-8m_8.5.bb:do_deploy', 'parted_3.2.bb:do_populate_sysroot', 'mtools_4.0.19.bb:do_populate_sysroot', 'imx-atf_2.0.bb:do_deploy']) Task /mnt/Aditional_2TB/khaleel_new/yocto/iMX8MM/sources/poky/meta/recipes-core/images/core-image-minimal-initramfs.bb:do_image_complete (dependent Tasks ['core-image-minimal-initramfs.bb:do_image', 'core-image-minimal-initramfs.bb:do_image_tar', 'core-image-minimal-initramfs.bb:do_image_create_sdcard_symlink', 'core-image-minimal-initramfs.bb:do_image_wic']) Dependency loop #2 found: Task /mnt/Aditional_2TB/khaleel_new/yocto/iMX8MM/sources/poky/../meta-phytec/recipes-kernel/linux/linux-imx_4.19.35_1.1.0-phy4.bb:do_bundle_initramfs (dependent Tasks ['linux-imx_4.19.35_1.1.0-phy4.bb:do_install', 'core-image-minimal-initramfs.bb:do_image_complete']) Task /mnt/Aditional_2TB/khaleel_new/yocto/iMX8MM/sources/poky/../meta-phytec/recipes-kernel/linux/linux-imx_4.19.35_1.1.0-phy4.bb:do_deploy (dependent Tasks ['linux-imx_4.19.35_1.1.0-phy4.bb:do_packagedata', 'linux-imx_4.19.35_1.1.0-phy4.bb:do_populate_sysroot', 'linux-imx_4.19.35_1.1.0-phy4.bb:do_bundle_initramfs', 'depmodwrapper-cross_1.0.bb:do_populate_sysroot']) Task /mnt/Aditional_2TB/khaleel_new/yocto/iMX8MM/sources/poky/meta/recipes-core/images/core-image-minimal-initramfs.bb:do_image_wic (dependent Tasks ['core-image-minimal-initramfs.bb:do_rootfs_wicenv', 'core-image-minimal-initramfs.bb:do_image', 'linux-imx_4.19.35_1.1.0-phy4.bb:do_deploy', 'imx-boot-phytec_0.2.bb:do_deploy', 'u-boot-imx_2019.04_1.1.0-phy5.bb:do_deploy', 'gptfdisk_1.0.4.bb:do_populate_sysroot', 'dosfstools_4.1.bb:do_populate_sysroot', 'firmware-imx-8m_8.5.bb:do_deploy', 'parted_3.2.bb:do_populate_sysroot', 'mtools_4.0.19.bb:do_populate_sysroot', 'imx-atf_2.0.bb:do_deploy']) Task /mnt/Aditional_2TB/khaleel_new/yocto/iMX8MM/sources/poky/meta/recipes-core/images/core-image-minimal-initramfs.bb:do_image_create_sdcard_symlink (dependent Tasks ['core-image-minimal-initramfs.bb:do_image_wic']) Task /mnt/Aditional_2TB/khaleel_new/yocto/iMX8MM/sources/poky/meta/recipes-core/images/core-image-minimal-initramfs.bb:do_image_complete (dependent Tasks ['core-image-minimal-initramfs.bb:do_image', 'core-image-minimal-initramfs.bb:do_image_tar', 'core-image-minimal-initramfs.bb:do_image_create_sdcard_symlink', 'core-image-minimal-initramfs.bb:do_image_wic']) ERROR: Command execution failed: 1 ------------------------------------------------------</description>
    <pubDate>Tue, 06 Apr 2021 06:39:33 GMT</pubDate>
    <dc:creator>Poornesh</dc:creator>
    <dc:date>2021-04-06T06:39:33Z</dc:date>
    <item>
      <title>Creating a FIT Image with INITRAMFs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Creating-a-FIT-Image-with-INITRAMFs/m-p/1257020#M172109</link>
      <description>Processor : i.MX8MM Yocto : 2.7.1 (warrior) Yocto : 2.7.1 (warrior) I am trying to crate a "initramfs image" bundling with the "Kernel image". Below mentioned is the link and which I am following . &lt;A href="https://www.yoctoproject.org/docs/3.1/dev-manual/dev-manual.html#building-an-initramfs-image" target="_blank"&gt;https://www.yoctoproject.org/docs/3.1/dev-manual/dev-manual.html#building-an-initramfs-image&lt;/A&gt; Below is the steps which I followed : 1. Added INITRAMFS_IMAGE_BUNDLE variable to "1" in local.conf 2. Added INITRAMFS_IMAGE = "phytec-initramfs-image" in your local.conf 3. And tried building the image using bitbake. But when I am compiling the image, I am getting the following mentioned "Circular dependency error". Kindly Requesting solution/suggestions for the same . ------------------------------------------------------ ERROR: 1830 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 /mnt/Aditional_2TB/khaleel_new/yocto/iMX8MM/sources/poky/../meta-phytec/recipes-kernel/linux/linux-imx_4.19.35_1.1.0-phy4.bb:do_bundle_initramfs (dependent Tasks ['linux-imx_4.19.35_1.1.0-phy4.bb:do_install', 'core-image-minimal-initramfs.bb:do_image_complete']) Task /mnt/Aditional_2TB/khaleel_new/yocto/iMX8MM/sources/poky/../meta-phytec/recipes-kernel/linux/linux-imx_4.19.35_1.1.0-phy4.bb:do_deploy (dependent Tasks ['linux-imx_4.19.35_1.1.0-phy4.bb:do_packagedata', 'linux-imx_4.19.35_1.1.0-phy4.bb:do_populate_sysroot', 'linux-imx_4.19.35_1.1.0-phy4.bb:do_bundle_initramfs', 'depmodwrapper-cross_1.0.bb:do_populate_sysroot']) Task /mnt/Aditional_2TB/khaleel_new/yocto/iMX8MM/sources/poky/meta/recipes-core/images/core-image-minimal-initramfs.bb:do_image_wic (dependent Tasks ['core-image-minimal-initramfs.bb:do_rootfs_wicenv', 'core-image-minimal-initramfs.bb:do_image', 'linux-imx_4.19.35_1.1.0-phy4.bb:do_deploy', 'imx-boot-phytec_0.2.bb:do_deploy', 'u-boot-imx_2019.04_1.1.0-phy5.bb:do_deploy', 'gptfdisk_1.0.4.bb:do_populate_sysroot', 'dosfstools_4.1.bb:do_populate_sysroot', 'firmware-imx-8m_8.5.bb:do_deploy', 'parted_3.2.bb:do_populate_sysroot', 'mtools_4.0.19.bb:do_populate_sysroot', 'imx-atf_2.0.bb:do_deploy']) Task /mnt/Aditional_2TB/khaleel_new/yocto/iMX8MM/sources/poky/meta/recipes-core/images/core-image-minimal-initramfs.bb:do_image_complete (dependent Tasks ['core-image-minimal-initramfs.bb:do_image', 'core-image-minimal-initramfs.bb:do_image_tar', 'core-image-minimal-initramfs.bb:do_image_create_sdcard_symlink', 'core-image-minimal-initramfs.bb:do_image_wic']) Dependency loop #2 found: Task /mnt/Aditional_2TB/khaleel_new/yocto/iMX8MM/sources/poky/../meta-phytec/recipes-kernel/linux/linux-imx_4.19.35_1.1.0-phy4.bb:do_bundle_initramfs (dependent Tasks ['linux-imx_4.19.35_1.1.0-phy4.bb:do_install', 'core-image-minimal-initramfs.bb:do_image_complete']) Task /mnt/Aditional_2TB/khaleel_new/yocto/iMX8MM/sources/poky/../meta-phytec/recipes-kernel/linux/linux-imx_4.19.35_1.1.0-phy4.bb:do_deploy (dependent Tasks ['linux-imx_4.19.35_1.1.0-phy4.bb:do_packagedata', 'linux-imx_4.19.35_1.1.0-phy4.bb:do_populate_sysroot', 'linux-imx_4.19.35_1.1.0-phy4.bb:do_bundle_initramfs', 'depmodwrapper-cross_1.0.bb:do_populate_sysroot']) Task /mnt/Aditional_2TB/khaleel_new/yocto/iMX8MM/sources/poky/meta/recipes-core/images/core-image-minimal-initramfs.bb:do_image_wic (dependent Tasks ['core-image-minimal-initramfs.bb:do_rootfs_wicenv', 'core-image-minimal-initramfs.bb:do_image', 'linux-imx_4.19.35_1.1.0-phy4.bb:do_deploy', 'imx-boot-phytec_0.2.bb:do_deploy', 'u-boot-imx_2019.04_1.1.0-phy5.bb:do_deploy', 'gptfdisk_1.0.4.bb:do_populate_sysroot', 'dosfstools_4.1.bb:do_populate_sysroot', 'firmware-imx-8m_8.5.bb:do_deploy', 'parted_3.2.bb:do_populate_sysroot', 'mtools_4.0.19.bb:do_populate_sysroot', 'imx-atf_2.0.bb:do_deploy']) Task /mnt/Aditional_2TB/khaleel_new/yocto/iMX8MM/sources/poky/meta/recipes-core/images/core-image-minimal-initramfs.bb:do_image_create_sdcard_symlink (dependent Tasks ['core-image-minimal-initramfs.bb:do_image_wic']) Task /mnt/Aditional_2TB/khaleel_new/yocto/iMX8MM/sources/poky/meta/recipes-core/images/core-image-minimal-initramfs.bb:do_image_complete (dependent Tasks ['core-image-minimal-initramfs.bb:do_image', 'core-image-minimal-initramfs.bb:do_image_tar', 'core-image-minimal-initramfs.bb:do_image_create_sdcard_symlink', 'core-image-minimal-initramfs.bb:do_image_wic']) ERROR: Command execution failed: 1 ------------------------------------------------------</description>
      <pubDate>Tue, 06 Apr 2021 06:39:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Creating-a-FIT-Image-with-INITRAMFs/m-p/1257020#M172109</guid>
      <dc:creator>Poornesh</dc:creator>
      <dc:date>2021-04-06T06:39:33Z</dc:date>
    </item>
  </channel>
</rss>

