Skip to content

Support signing U-Boot FIT image without SPL

Jamin Lin openembedded-core 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 0 repliesNew

Changes in v2 from the cover letter

- 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.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3uboot-sign: Support signing U-Boot FIT image without SPLmeta/classes-recipe/uboot-sign.bbclass+29 -210 replies
2/3uboot-sign.bbclass: Refactor condition checks to use && and || instead of -a and -ometa/classes-recipe/uboot-sign.bbclass+14 -120 replies
3/3oe-selftest: fitimage: Add test for signing U-Boot FIT image without SPLmeta/lib/oeqa/selftest/cases/fitimage.py+37 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] Support signing U-Boot FIT image without SPL

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(-)
Signature · 1 line
2.43.0