summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp
diff options
context:
space:
mode:
authorRyan Eatmon <reatmon@ti.com>2025-10-06 08:49:58 -0500
committerRyan Eatmon <reatmon@ti.com>2026-02-02 13:50:02 -0600
commit634a30e2c13a408cb36d9526c70aebaf7a73f48c (patch)
treebb15a3a02d42cab0f07bf3a2809ce949cbc6e4cf /meta-ti-bsp
parent507125eedde4f89269bf0a4ee979590eb838998e (diff)
downloadmeta-ti-634a30e2c13a408cb36d9526c70aebaf7a73f48c.tar.gz
conf: am62p: Add ECDSA key signing
Use the new framework to add alternative key signing for the am62p platform as an example. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp')
-rw-r--r--meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf15
-rw-r--r--meta-ti-bsp/conf/machine/am62pxx-evm.conf19
2 files changed, 29 insertions, 5 deletions
diff --git a/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf
index bf82849a..292b658b 100644
--- a/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf
+++ b/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf
@@ -4,15 +4,22 @@
4 4
5require conf/machine/include/k3r5.inc 5require conf/machine/include/k3r5.inc
6 6
7UBOOT_MACHINE = "am62px_evm_r5_defconfig" 7UBOOT_MACHINE = ""
8UBOOT_MACHINE:tie-test-builds = ""
9 8
10UBOOT_CONFIG = "" 9UBOOT_ECDSA_SIGN_CONFIG ?= "ecdsa"
11UBOOT_CONFIG:tie-test-builds = "usbdfu main" 10UBOOT_ECDSA_SIGN_CONFIG:bsp-ti-6_6 = ""
11UBOOT_ECDSA_SIGN_CONFIG:bsp-next = ""
12UBOOT_ECDSA_SIGN_CONFIG:bsp-mainline = ""
13
14UBOOT_CONFIG = "${UBOOT_ECDSA_SIGN_CONFIG} main"
15UBOOT_CONFIG:prepend:tie-test-builds = "usbdfu "
12 16
13UBOOT_CONFIG[main] = "am62px_evm_r5_defconfig" 17UBOOT_CONFIG[main] = "am62px_evm_r5_defconfig"
18UBOOT_CONFIG[ecdsa] = "am62px_evm_r5_defconfig"
14UBOOT_CONFIG[usbdfu] = "am62px_evm_r5_defconfig" 19UBOOT_CONFIG[usbdfu] = "am62px_evm_r5_defconfig"
15 20
21UBOOT_CONFIG_MAKE_OPTS[ecdsa] = "${TI_SIGN_WITH_ECDSA_KEY}"
22
16UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config" 23UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config"
17 24
18UBOOT_FRAGMENTS:ti-falcon = "k3_r5_falcon.config" 25UBOOT_FRAGMENTS:ti-falcon = "k3_r5_falcon.config"
diff --git a/meta-ti-bsp/conf/machine/am62pxx-evm.conf b/meta-ti-bsp/conf/machine/am62pxx-evm.conf
index 4bebe510..bc056e6b 100644
--- a/meta-ti-bsp/conf/machine/am62pxx-evm.conf
+++ b/meta-ti-bsp/conf/machine/am62pxx-evm.conf
@@ -23,7 +23,24 @@ KERNEL_DEVICETREE = " \
23 23
24FIT_CONF_DEFAULT_DTB = "k3-am62p5-sk.dtb" 24FIT_CONF_DEFAULT_DTB = "k3-am62p5-sk.dtb"
25 25
26UBOOT_MACHINE = "am62px_evm_a53_defconfig" 26UBOOT_ECDSA_SIGN_CONFIG ?= "ecdsa"
27UBOOT_ECDSA_SIGN_CONFIG:bsp-ti-6_6 = ""
28UBOOT_ECDSA_SIGN_CONFIG:bsp-next = ""
29UBOOT_ECDSA_SIGN_CONFIG:bsp-mainline = ""
30
31ECDSA_BOOT_FILES ?= "tiboot3.bin-ecdsa tiboot3-*-evm.bin-ecdsa tispl.bin-ecdsa u-boot.img-ecdsa"
32ECDSA_BOOT_FILES:bsp-ti-6_6 = ""
33ECDSA_BOOT_FILES:bsp-next = ""
34ECDSA_BOOT_FILES:bsp-mainline = ""
35
36UBOOT_MACHINE = ""
37UBOOT_CONFIG = "${UBOOT_ECDSA_SIGN_CONFIG} main"
38UBOOT_CONFIG[main] = "am62px_evm_a53_defconfig"
39UBOOT_CONFIG[ecdsa] = "am62px_evm_a53_defconfig"
40
41UBOOT_CONFIG_MAKE_OPTS[ecdsa] = "${TI_SIGN_WITH_ECDSA_KEY}"
42
43IMAGE_BOOT_FILES += "${ECDSA_BOOT_FILES}"
27 44
28# UBOOT_FRAGMENTS holds the list of u-boot config fragments which has to be build 45# UBOOT_FRAGMENTS holds the list of u-boot config fragments which has to be build
29# along with the base defconfig mentioned in UBOOT_MACHINE. Refer u-boot-mergeconfig.inc 46# along with the base defconfig mentioned in UBOOT_MACHINE. Refer u-boot-mergeconfig.inc