On Mon Jul 27, 2026 at 10:03 AM CEST, Nora Schiffer wrote:
> On Sat, 2026-07-25 at 15:02 +0200, Mathieu Dubois-Briand wrote:
>> On Thu Jul 23, 2026 at 2:49 PM CEST, Nora Schiffer via 
>> lists.openembedded.org wrote:
>> > A similar feature was added in commit 9c8ef2119949 ("kernel-fit-image:
>> > control kernel section with FIT_LINUX_BIN") and subsequently reverted in
>> > commit 6eae261b6f52 ("Revert "kernel-fit-image: control kernel section
>> > with FIT_LINUX_BIN"") due to its incomplete implementation and lack of
>> > tests. Reintroduce an improved version:
>> > 
>> > - The FIT_LINUX_BIN variable (which had been left unused) is renamed to
>> >   FIT_KERNEL_FILENAME. It can now actually be used to select a different
>> >   file from DEPLOY_DIR_IMAGE. The file will be compressed using
>> >   FIT_KERNEL_COMP_ALG as part of the FIT image recipe, rather than than
>> >   letting the kernel recipe handle this through
>> >   kernel-fit-extra-artifacts.bbclass.
>> > - Alternatively, FIT_KERNEL_FILENAME_COMPRESSED can be used to select a
>> >   pre-compressed file from DEPLOY_DIR_IMAGE. In this case,
>> >   FIT_KERNEL_COMP_ALG only controls the "compression" field of the
>> >   generated FIT image.
>> > - To preserve backwards compatibility, FIT_KERNEL_FILENAME_COMPRESSED
>> >   defaults to "linux.bin". As a special case, the compression algorithm
>> >   will be read from "linux_comp" for linux.bin. This behavior is
>> >   considered deprecated and relying on it results in a warning.
>> > - Add tests.
>> > 
>> > To resolve the new deprecation warning, it is usually sufficient to set
>> > KERNEL_IMAGETYPE to the desired type ("Image" on many archs) and set
>> > FIT_KERNEL_FILENAME to the same value.
>> > 
>> > Signed-off-by: Nora Schiffer <[email protected]>
>> > ---
>> 
>> Hi Nora,
>> 
>> Thanks for your patch.
>> 
>> It looks like the test_fit_image_kernel_filename selftest is failing on
>> arm hosts:
>
> Hi Mathieu,
>
> I believe I know how to fix this, but it is unclear to me what exact
> configuration is built here. Is there any way I can replicate the same
> autobuilder configuration, so I can run the tests myself before submitting v2?
>
> Best,
> Nora
>

Hi Nora,

In addition to Yoann reply, keep in mind this is showing on arm host
machine and not on the x86 ones. So it might be a bit tricky to
reproduce.

If you fail to reproduce it locally but want to test some particular
change, please tell me, I can launch a build for that.

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

Reply via email to