Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Support signing U-Boot FIT image without SPL
@ 2025-06-17  8:10 Jamin Lin
  2025-06-17  8:10 ` [PATCH v2 1/3] uboot-sign: " Jamin Lin
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jamin Lin @ 2025-06-17  8:10 UTC (permalink / raw)
  To: openembedded-core; +Cc: troy_lee, jamin_lin

v1:
- uboot-sign: Make SPL DTB public key injection optional

v2:
- Fix review issue
- Add test for signing U-Boot FIT image without SPL
- Refactor condition checks to use && and || instead of -a and -o
- Support signing U-Boot FIT image without SPL
  - The `SPL_DTB_BINARY` variable can be explicitly set to an empty string
    to indicate that no SPL is present.
  - The signing logic checks `SPL_DTB_BINARY` and skips injecting the
    key or verifying the SPL DTB if it is empty.
  - The FIT image generation and deployment are always performed if
    `UBOOT_FITIMAGE_ENABLE` is enabled, regardless of the SPL settings.

Jamin Lin (3):
  uboot-sign: Support signing U-Boot FIT image without SPL
  uboot-sign.bbclass: Refactor condition checks to use && and || instead
    of -a and -o
  oe-selftest: fitimage: Add test for signing U-Boot FIT image without
    SPL

 meta/classes-recipe/uboot-sign.bbclass   | 74 ++++++++++++++----------
 meta/lib/oeqa/selftest/cases/fitimage.py | 37 ++++++++++++
 2 files changed, 79 insertions(+), 32 deletions(-)

-- 
2.43.0



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

end of thread, other threads:[~2025-06-17  8:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-17  8:10 [PATCH v2 0/3] Support signing U-Boot FIT image without SPL Jamin Lin
2025-06-17  8:10 ` [PATCH v2 1/3] uboot-sign: " Jamin Lin
2025-06-17  8:10 ` [PATCH v2 2/3] uboot-sign.bbclass: Refactor condition checks to use && and || instead of -a and -o Jamin Lin
2025-06-17  8:10 ` [PATCH v2 3/3] oe-selftest: fitimage: Add test for signing U-Boot FIT image without SPL Jamin Lin

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