Re: [yocto] UBOOT_ENV causes dependency loop

2024-12-11 Thread Adrian Freihofer via lists.yoctoproject.org
Hi Pelle That's something where I did not yet look into all the details. But this needs to be considered for new architecture. Would you mind to document this aspect on this bug https://bugzilla.yoctoproject.org/show_bug.cgi?id=12912? It's what I tried to mention with "However, signing u-boot and

Re: [yocto] UBOOT_ENV causes dependency loop

2024-12-11 Thread Pelle Windestam via lists.yoctoproject.org
Thanks for the tips Adrian, I will look into that fitimage.bbclass. I was also thinking about the dependency between u-boot and linux kernel. It seems to be required since uboot-sign.bbclass "re-signs" the fitImage (and puts the public key in the u-boot dtb with the same command) and then does a

Re: [yocto] UBOOT_ENV causes dependency loop

2024-12-10 Thread Adrian Freihofer via lists.yoctoproject.org
Hi Pelle Yes, that's unfortunately broken. The loop looks like this: [image: image.png] The problematic line is here: https://git.yoctoproject.org/poky/tree/meta/classes-recipe/kernel-fitimage.bbclass#n45 There are some discussions ongoing about how the fitimage creation could be improved and s

[yocto] UBOOT_ENV causes dependency loop

2024-12-10 Thread Pelle Windestam via lists.yoctoproject.org
Hello everyone, I am facing a dependency loop that I'm having trouble understanding how to break. The issue appeared when I tried to move the u-boot boot script into the kernel fitImage as part of improving secure boot. Before this dependency loop I had a working secure boot configuration which lo