From: "Vahid Gharaee" <vgharaee@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH v4 0/6] kernel-fit-image: Add support for multiple kernels and FIT configurations
Date: Thu, 5 Nov 2026 17:48:20 +0100 [thread overview]
Message-ID: <20261105164826.1340446-1-vgharaee@gmail.com> (raw)
From: Vahid Gharaee <vgharaee@gmail.com>
These extends kernel-fit-image.bbclass
to support multiple kernel images in a single FIT image,
with custom configurations selecting the required kernel
and device tree. The main use case is to package different
kernel variants, for example a standard and a real-time kernel,
into one FIT image. Additional kernels can be provided by
another recipe, through BitBake multiconfig, or as prebuilt files.
The serie also adds validation for kernel and configuration
references, improves handling of DTB aliases,
and extends the FIT selftests.
Changes since v3:
- Rebased onto current OE-Core master.
- Adapted to the upstream removal of synthetic FIT_LOADABLE_* variable values.
- Updated FIT configuration tests to retrieve BitBake variable flags through get_bb_vars_flags().
- Preserved compatibility with existing Python-only FIT test fixtures.
Validation:
- bitbake -p
- oe-selftest -r fitimage.FitImagePyTests (16 passed)
- oe-selftest -r fitimage.KernelFitImageRecipeTests.test_fit_image_multiple_kernels
- oe-selftest -r fitimage.KernelFitImageRecipeTests.test_fit_image_ext_dtb_vendored_override
All passed.
Vahid Gharaee (6):
oe.fitimage: Support multiple kernel nodes and configuration selection
oe.fitimage: add metadata for multiple kernels
oe.selftest: Add tests for multi-kernel FIT config
oe.fitimage: Add custom configurations and harden multi-kernel
handling
oe.selftest: Improve FIT DTB alias validation
kernel-fit-image: preserve vendored DTB aliases for external overrides
.../recipes-test/ext-dtb/test-dtbs-as-ext.bb | 11 +
meta/classes-recipe/kernel-fit-image.bbclass | 136 ++++++-
meta/conf/image-fitimage.conf | 55 +++
meta/lib/oe/fitimage.py | 95 ++++-
meta/lib/oeqa/selftest/cases/fitimage.py | 359 ++++++++++++++++--
5 files changed, 607 insertions(+), 49 deletions(-)
base-commit: 35d103be8b1a2346b7d0a7ff83745ad74d6817e2
--
2.56.0
next reply other threads:[~2026-11-05 16:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-05 16:48 Vahid Gharaee [this message]
2026-11-05 16:48 ` [PATCH v4 1/6] oe.fitimage: Support multiple kernel nodes and configuration selection Vahid Gharaee
2026-11-05 16:48 ` [PATCH v4 2/6] oe.fitimage: add metadata for multiple kernels Vahid Gharaee
2026-11-05 16:48 ` [PATCH v4 3/6] oe.selftest: Add tests for multi-kernel FIT config Vahid Gharaee
2026-11-05 16:48 ` [PATCH v4 4/6] oe.fitimage: Add custom configurations and harden multi-kernel handling Vahid Gharaee
2026-11-05 16:48 ` [PATCH v4 5/6] oe.selftest: Improve FIT DTB alias validation Vahid Gharaee
2026-11-05 16:48 ` [PATCH v4 6/6] kernel-fit-image: preserve vendored DTB aliases for external overrides Vahid Gharaee
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261105164826.1340446-1-vgharaee@gmail.com \
--to=vgharaee@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).