From 507125eedde4f89269bf0a4ee979590eb838998e Mon Sep 17 00:00:00 2001 From: Ryan Eatmon Date: Mon, 12 Jan 2026 10:02:47 -0600 Subject: [PATCH] u-boot: Add alternative key signing Provide framework for how to sign the uboot files with different keys so that customers can see how it is done. We have provided an ECDSA key and follow on patches will show how to point to it. Signed-off-by: Ryan Eatmon --- meta-ti-bsp/recipes-bsp/u-boot/files/custMpk_ecdsa.key | 6 ++++++ meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 2 ++ 2 files changed, 8 insertions(+) create mode 100644 meta-ti-bsp/recipes-bsp/u-boot/files/custMpk_ecdsa.key diff --git a/meta-ti-bsp/recipes-bsp/u-boot/files/custMpk_ecdsa.key b/meta-ti-bsp/recipes-bsp/u-boot/files/custMpk_ecdsa.key new file mode 100644 index 00000000..83dffcda --- /dev/null +++ b/meta-ti-bsp/recipes-bsp/u-boot/files/custMpk_ecdsa.key @@ -0,0 +1,6 @@ +-----BEGIN EC PRIVATE KEY----- +MIGkAgEBBDBDO9fzBU2LoKaYgji4m3ZCHKUBF9CTVnU6ClfNPJsTo0SKZpCsmyr0 +TKUNkk16vwGgBwYFK4EEACKhZANiAATCv6ftwnJW91fP5wpLpLAxt3u732oNnKr8 +pLbZUzi/s8/e7QiISJ8QKYGaWMnjORW82cM3UJKlCw8GOrb3ZrEXYWRKxkPWql0+ +BOhDQA5b21GtL9HQPvuCPz471ZaxGYA= +-----END EC PRIVATE KEY----- diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc index 773fa1e2..678f3bcf 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc @@ -416,3 +416,5 @@ PACKAGES:prepend:am62pxx-evm = "${FALCON_PKG} " PACKAGES:prepend:am62xx-lp-evm = "${FALCON_PKG} " TOOLCHAIN = "gcc" + +TI_SIGN_WITH_ECDSA_KEY ?= "KEY_PATH=${THISDIR}/files/custMpk_ecdsa.key"