public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH v4 0/1] Add support for custom compatible string via optional parameter
@ 2025-09-30  6:51 Kavinaya S
  2025-09-30  6:51 ` [PATCH v4 1/1] fitimage: " Kavinaya S
  2025-10-05 22:26 ` [PATCH v4 0/1] " Dmitry Baryshkov
  0 siblings, 2 replies; 11+ messages in thread
From: Kavinaya S @ 2025-09-30  6:51 UTC (permalink / raw)
  To: openembedded-core; +Cc: Kavinaya S

This update adds flexibility to FIT image generation by introducing
an optional mechanism to override the DTB compatible string.
Instead of always extracting the value from the DTB, the generator
can now use a custom string defined in build metadata. This is
particularly useful when the FIT configuration requires a different
compatible value than what is embedded in the DTB.

Key changes:
Adds a custom_compatible parameter to fitimage_emit_section_dtb().
Preserves existing behavior when no override is specified.

Usage:
To override the default behavior, define in machine configuration
or local.conf:
FIT_DTB_COMPATIBLE_OVERRIDE_<dtb-filename.dtb> = "custom-compatible-string"

This method avoids using custom ITS files, keeps the build process
consistent, and makes it easy to understand and track changes.

Kavinaya S (1):
  fitimage: Add support for custom compatible string via optional
    parameter

 meta/classes-recipe/kernel-fit-image.bbclass |  3 ++-
 meta/conf/image-fitimage.conf                |  6 ++++++
 meta/lib/oe/fitimage.py                      | 12 +++++++++---
 meta/lib/oeqa/selftest/cases/fitimage.py     |  8 ++++++++
 4 files changed, 25 insertions(+), 4 deletions(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-10-08 18:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-30  6:51 [PATCH v4 0/1] Add support for custom compatible string via optional parameter Kavinaya S
2025-09-30  6:51 ` [PATCH v4 1/1] fitimage: " Kavinaya S
2025-09-30 11:01   ` Alexander Kanavin
2025-10-05 22:36     ` Dmitry Baryshkov
2025-10-08 18:07       ` Kavinaya S
2025-10-05 22:34   ` Dmitry Baryshkov
2025-10-08 18:03     ` Kavinaya S
2025-10-08 18:05     ` Kavinaya S
2025-10-08 18:05     ` Kavinaya S
2025-10-08 18:06     ` Kavinaya S
2025-10-05 22:26 ` [PATCH v4 0/1] " Dmitry Baryshkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox