kernel-fit-image: Add support for multiple kernels and FIT configurations
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest6 patches 0 repliesNew
- v36 patches 1 replySuperseded
- v24 patches 3 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 4 patches | 2 replies | Superseded |
Changes in v4 from the cover letter
- 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.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | oe.fitimage: Support multiple kernel nodes and configuration selectionmeta/ | +12 | 0 replies | |
| 2/6 | oe.fitimage: add metadata for multiple kernelsmeta/ | +55 | 0 replies | |
| 3/6 | oe.selftest: Add tests for multi-kernel FIT configmeta/ | +162 | 0 replies | |
| 4/6 | oe.fitimage: Add custom configurations and harden multi-kernel handlingmeta/ meta/ meta/ | +227 | 0 replies | |
| 5/6 | oe.selftest: Improve FIT DTB alias validationmeta/ | +55 | 0 replies | |
| 6/6 | kernel-fit-image: preserve vendored DTB aliases for external overridesmeta-selftest/ meta/ meta/ | +113 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH v4 0/6] kernel-fit-image: Add support for multiple kernels and FIT configurations
From: Vahid Gharaee <[email protected]>
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
Signature · 1 line
2.56.0