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 <[email protected]>
---
 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"
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19455): 
https://lists.yoctoproject.org/g/meta-ti/message/19455
Mute This Topic: https://lists.yoctoproject.org/mt/117603205/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to