[poky] Dependency loop with kernel-fitimage class

Olivier Dufour olivier.dufour at qarnot-computing.com
Wed May 16 03:17:29 PDT 2018


Hi,

I'm trying to build a trusted boot image on ARM64 platform using u-boot.
I've added kernel-fitimage to KERNEL_CLASSES, and set UBOOT_SIGN_ENABLE to
"1".

I get the following dependency loop:

> Dependency loop #1 found:
>   Task
> /build/firmware/v3/build/../meta-marvell/recipes-bsp/u-boot/u-boot-marvell_2017.03.bb:do_concat_dtb
> (dependent Tasks ['linux-marvell_4.4.52.bb:do_assemble_fitimage'])
>   Task
> /build/firmware/v3/build/../meta-marvell/recipes-bsp/u-boot/u-boot-marvell_2017.03.bb:do_install
> (dependent Tasks ['pseudo_1.8.2.bb:do_populate_sysroot',
> 'u-boot-marvell_2017.03.bb:do_compile', 'u-boot-marvell_2017.03.bb:
> do_concat_dtb'])
>   Task
> /build/firmware/v3/build/../meta-marvell/recipes-bsp/u-boot/u-boot-marvell_2017.03.bb:do_deploy
> (dependent Tasks ['u-boot-marvell_2017.03.bb:do_install',
> 'u-boot-marvell_2017.03.bb:do_deploy_dtb'])
>   Task
> /build/firmware/v3/build/../meta-marvell/recipes-kernel/linux/linux-marvell_4.4.52.bb:do_assemble_fitimage
> (dependent Tasks ['u-boot-marvell_2017.03.bb:do_deploy',
> 'linux-marvell_4.4.52.bb:do_compile'])


>From my understanding, do_assemble_fitimage should only depend on
do_deploy_dtb, since it doesn't require the whole u-boot binary, but only
the dtb.

I did a few patches to get it work eventually, but I wonder if that's the
right way to go. Maybe I'm missing a step in my configuration ?

Regards,

-- 
Olivier Dufour
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20180516/0256a18c/attachment-0001.html>


More information about the poky mailing list