All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] Add support for custom compatible string via optional parameter
@ 2025-09-29 14:47 Kavinaya S
  2025-09-29 14:47 ` [PATCH v1 1/1] fitimage: " Kavinaya S
  0 siblings, 1 reply; 4+ messages in thread
From: Kavinaya S @ 2025-09-29 14:47 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:
COMPATIBLE:<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 ++++++++++--
 3 files changed, 18 insertions(+), 3 deletions(-)

-- 
2.34.1



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

end of thread, other threads:[~2025-09-29 16:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-29 14:47 [PATCH v2 0/1] Add support for custom compatible string via optional parameter Kavinaya S
2025-09-29 14:47 ` [PATCH v1 1/1] fitimage: " Kavinaya S
2025-09-29 14:56   ` [OE-core] " Alexander Kanavin
2025-09-29 16:02     ` Kavinaya S

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.