On Wed, 2024-07-10 at 10:46 +0100, Richard Purdie wrote:
> On Thu, 2024-07-04 at 09:09 +0200, Adrian Freihofer via
> lists.openembedded.org wrote:
> > If the KERNEL_IMAGETYPES(S) contains fitImage, the kernel is always
> > rebuilt when something changes in the initramfs, which happens
> > frequently.
> > This is even worse if the build runs from an empty TMPDIR. The
> > kernel
> > re-build starts by fetching the large kernel git repository and
> > recompiling it from scratch.
> > 
> > This cannot be improved if INITRAMFS_IMAGE_BUNDLE = "1". If the
> > kernel
> > Makefile is needed to generate the initramfs bundle the kernel
> > build
> > folder is required.
> > But for a build configuration with INITRAMFS_IMAGE_BUNDLE = "" the
> > build folder is not needed. Creating the initramfs bundle requires:
> > linux.bin, DTBs and the initramfs which are available in the deploy
> > directory. That means creating the fitImage can be done with
> > artifacts
> > which are already cached by the sstate.
> > 
> > There is an extra commit providing a html file. This html file
> > provides
> > some graphics which show the changes in the kernel's task
> > dependencies.
> > I hope this simplifies the re-view of this patch series.
> > 
> > Adrian Freihofer (14):
> >   oe-selftest: wic fix deps of
> > test_efi_plugin_unified_kernel_image_qemu
> >   oe-selftest: fitimage refactor u-boot-tools-native
> >   oe-selftest: fitimage drop test-mkimage-wrapper
> >   oe-selftest: fitimage cleanup asserts
> >   oe-selftest: fitimage fix test_initramfs_bundle
> >   kernel-fitimage: fix handling of empty default dtb
> >   kernel-fitimage: fix external dtb check
> >   kernel: execute do_bundle_initramfs only when needed
> >   kernel-fitimage: refactor do_assemble_fitimage_initramfs
> >   kernel-fitimage: refactor creation of linux.bin
> >   kernel-fitimage: fix intentation
> >   kernel-fitimage: run unbundled fitimage after deploy
> >   image: depends do_deploy_fitimage_unbundled
> >   DO NOT MERGE: explanation and testing
> 
> I think there was a failure in automated testing from this series on
> genericarm64:
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/165/builds/583
> https://autobuilder.yoctoproject.org/typhoon/#/builders/166/builds/587

This is reproducible on my side. It works without my last patch but it
breaks with my last patch.

Thank you for the feedback, I will investigate.
Adrian

> 
> There was also:
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/113/builds/5730
> 
> but I think this was systemd upgrade related. I'm not 100% sure
> though.
> 
> Cheers,
> 
> Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#201732): 
https://lists.openembedded.org/g/openembedded-core/message/201732
Mute This Topic: https://lists.openembedded.org/mt/107033887/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to