Skip to contentSkip to conversation

conf: am64: Add ECDSA key signing

PATCH In review Ryan Eatmon 2 participants 2 messages Feb 19

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 conf: am64: Add ECDSA key signing

Add support for signing the u-boot files with an ECDSA key.

---
 meta-ti-bsp/conf/machine/am64xx-evm-k3r5.conf | 14 +++++++++++++-
 meta-ti-bsp/conf/machine/am64xx-evm.conf      | 19 ++++++++++++++++++-
 2 files changed, 31 insertions(+), 2 deletions(-)
meta-ti-bsp/conf/machine/am64xx-evm-k3r5.conf +13 -1
index 4b97adaf..8e3ff61b 100644
@@ -4,4 +4,16 @@
 
 require conf/machine/include/k3r5.inc
 
-UBOOT_MACHINE = "am64x_evm_r5_defconfig"
+UBOOT_MACHINE = ""
+
+UBOOT_ECDSA_SIGN_CONFIG ?= "ecdsa"
+UBOOT_ECDSA_SIGN_CONFIG:bsp-ti-6_6 = ""
+UBOOT_ECDSA_SIGN_CONFIG:bsp-next = ""
+UBOOT_ECDSA_SIGN_CONFIG:bsp-mainline = ""
+
+UBOOT_CONFIG = "${UBOOT_ECDSA_SIGN_CONFIG} main"
+
+UBOOT_CONFIG[main] = "am64x_evm_r5_defconfig"
+UBOOT_CONFIG[ecdsa] = "am64x_evm_r5_defconfig"
+
+UBOOT_CONFIG_MAKE_OPTS[ecdsa] = "${TI_SIGN_WITH_ECDSA_KEY}"
meta-ti-bsp/conf/machine/am64xx-evm.conf +18 -1
index c6ba2a87..4dc2adb3 100644
@@ -4,4 +4,21 @@
 
 require conf/machine/include/am64xx.inc
 
-UBOOT_MACHINE = "am64x_evm_a53_defconfig"
+UBOOT_ECDSA_SIGN_CONFIG ?= "ecdsa"
+UBOOT_ECDSA_SIGN_CONFIG:bsp-ti-6_6 = ""
+UBOOT_ECDSA_SIGN_CONFIG:bsp-next = ""
+UBOOT_ECDSA_SIGN_CONFIG:bsp-mainline = ""
+
+ECDSA_BOOT_FILES ?= "tiboot3.bin-ecdsa tiboot3-*-evm.bin-ecdsa tispl.bin-ecdsa u-boot.img-ecdsa"
+ECDSA_BOOT_FILES:bsp-ti-6_6 = ""
+ECDSA_BOOT_FILES:bsp-next = ""
+ECDSA_BOOT_FILES:bsp-mainline = ""
+
+UBOOT_MACHINE = ""
+UBOOT_CONFIG = "${UBOOT_ECDSA_SIGN_CONFIG} main"
+UBOOT_CONFIG[main] = "am64x_evm_a53_defconfig"
+UBOOT_CONFIG[ecdsa] = "am64x_evm_a53_defconfig"
+
+UBOOT_CONFIG_MAKE_OPTS[ecdsa] = "${TI_SIGN_WITH_ECDSA_KEY}"
+
+IMAGE_BOOT_FILES += "${ECDSA_BOOT_FILES}"
Signature · 1 line
2.43.0
#1 lore raw

meta-ti / na / 20260219195154.4121151-1-reatmon

PRC Results: FAIL

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [meta-ti][master][PATCH] conf: am64: Add ECDSA key signing
WARN: Commit message does not include file/recipe name: conf: am64: Add ECDSA key signing. (COMMIT-MESSAGE-2)
patch

WARN: Commit message should not include directory path to recipe: conf: am64: Add ECDSA key signing.
conf (COMMIT-MESSAGE-3)
patch

For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887

=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-ti][master][PATCH] conf: am64: Add ECDSA key signing
- Submitter: From: Ryan Eatmon <[email protected]>
- Date: Date: Thu, 19 Feb 2026 13:51:54 -0600
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: b3bfdc736e6981d2463bd3ebba61948340d6309a

Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master-next
- Commit Author: LCPD Automation Script <[email protected]>
- Commit Subject: CI/CD Auto-Merger: cicd.master-ltsprep.202602181811
- Commit SHA: ee9f5e1dfe817fc192908d420d840668b7aa7100

Patches
----------------------------------------
All patches applied

=========================================================
check-yocto-repo: FAIL
=========================================================
master
=====================
FAIL
ERROR: Missing Upstream-Status in patch file. (UPSTREAM-STATUS-1)
found.patch

For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887