diff options
| author | Ryan Eatmon <reatmon@ti.com> | 2026-02-19 10:10:48 -0600 |
|---|---|---|
| committer | Ryan Eatmon <reatmon@ti.com> | 2026-02-19 14:10:01 -0600 |
| commit | 65ba600b16aad4bdb433531e03eb78a36c0707e9 (patch) | |
| tree | 3a8a9ecb94d16751ebfccca4b7686575ac6e1b46 /meta-ti-bsp/conf/machine | |
| parent | 135b7041e879ed3ca06172204c110f5fa10c8889 (diff) | |
| download | meta-ti-65ba600b16aad4bdb433531e03eb78a36c0707e9.tar.gz | |
conf: am64: Add ECDSA key signing
Add support for signing the u-boot files with an ECDSA key.
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/conf/machine')
| -rw-r--r-- | meta-ti-bsp/conf/machine/am64xx-evm-k3r5.conf | 14 | ||||
| -rw-r--r-- | meta-ti-bsp/conf/machine/am64xx-evm.conf | 19 |
2 files changed, 31 insertions, 2 deletions
diff --git a/meta-ti-bsp/conf/machine/am64xx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am64xx-evm-k3r5.conf index 4b97adaf..8e3ff61b 100644 --- a/meta-ti-bsp/conf/machine/am64xx-evm-k3r5.conf +++ b/meta-ti-bsp/conf/machine/am64xx-evm-k3r5.conf | |||
| @@ -4,4 +4,16 @@ | |||
| 4 | 4 | ||
| 5 | require conf/machine/include/k3r5.inc | 5 | require conf/machine/include/k3r5.inc |
| 6 | 6 | ||
| 7 | UBOOT_MACHINE = "am64x_evm_r5_defconfig" | 7 | UBOOT_MACHINE = "" |
| 8 | |||
| 9 | UBOOT_ECDSA_SIGN_CONFIG ?= "ecdsa" | ||
| 10 | UBOOT_ECDSA_SIGN_CONFIG:bsp-ti-6_6 = "" | ||
| 11 | UBOOT_ECDSA_SIGN_CONFIG:bsp-next = "" | ||
| 12 | UBOOT_ECDSA_SIGN_CONFIG:bsp-mainline = "" | ||
| 13 | |||
| 14 | UBOOT_CONFIG = "${UBOOT_ECDSA_SIGN_CONFIG} main" | ||
| 15 | |||
| 16 | UBOOT_CONFIG[main] = "am64x_evm_r5_defconfig" | ||
| 17 | UBOOT_CONFIG[ecdsa] = "am64x_evm_r5_defconfig" | ||
| 18 | |||
| 19 | UBOOT_CONFIG_MAKE_OPTS[ecdsa] = "${TI_SIGN_WITH_ECDSA_KEY}" | ||
diff --git a/meta-ti-bsp/conf/machine/am64xx-evm.conf b/meta-ti-bsp/conf/machine/am64xx-evm.conf index c6ba2a87..4dc2adb3 100644 --- a/meta-ti-bsp/conf/machine/am64xx-evm.conf +++ b/meta-ti-bsp/conf/machine/am64xx-evm.conf | |||
| @@ -4,4 +4,21 @@ | |||
| 4 | 4 | ||
| 5 | require conf/machine/include/am64xx.inc | 5 | require conf/machine/include/am64xx.inc |
| 6 | 6 | ||
| 7 | UBOOT_MACHINE = "am64x_evm_a53_defconfig" | 7 | UBOOT_ECDSA_SIGN_CONFIG ?= "ecdsa" |
| 8 | UBOOT_ECDSA_SIGN_CONFIG:bsp-ti-6_6 = "" | ||
| 9 | UBOOT_ECDSA_SIGN_CONFIG:bsp-next = "" | ||
| 10 | UBOOT_ECDSA_SIGN_CONFIG:bsp-mainline = "" | ||
| 11 | |||
| 12 | ECDSA_BOOT_FILES ?= "tiboot3.bin-ecdsa tiboot3-*-evm.bin-ecdsa tispl.bin-ecdsa u-boot.img-ecdsa" | ||
| 13 | ECDSA_BOOT_FILES:bsp-ti-6_6 = "" | ||
| 14 | ECDSA_BOOT_FILES:bsp-next = "" | ||
| 15 | ECDSA_BOOT_FILES:bsp-mainline = "" | ||
| 16 | |||
| 17 | UBOOT_MACHINE = "" | ||
| 18 | UBOOT_CONFIG = "${UBOOT_ECDSA_SIGN_CONFIG} main" | ||
| 19 | UBOOT_CONFIG[main] = "am64x_evm_a53_defconfig" | ||
| 20 | UBOOT_CONFIG[ecdsa] = "am64x_evm_a53_defconfig" | ||
| 21 | |||
| 22 | UBOOT_CONFIG_MAKE_OPTS[ecdsa] = "${TI_SIGN_WITH_ECDSA_KEY}" | ||
| 23 | |||
| 24 | IMAGE_BOOT_FILES += "${ECDSA_BOOT_FILES}" | ||
