Re: Creating a FIT Image with INITRAMFs


poornesh.g@...
 

Greetings !

Processor  : i.MX8MM

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 .

https://www.yoctoproject.org/docs/3.1/dev-manual/dev-manual.html#building-an-initramfs-image


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

------------------------------------------------------


--

Thanks and Regards

Poornesh G

Join yocto@lists.yoctoproject.org to automatically receive all group messages.