From 002e84979b468fff2ba8ebcbe7b71567b123f032 Mon Sep 17 00:00:00 2001 From: Ryan Eatmon Date: Wed, 16 Sep 2026 16:41:37 -0500 Subject: [PATCH] conf: am62l: Add ECDSA key signing Add support for signing the u-boot files with an ECDSA key. Signed-off-by: Ryan Eatmon --- meta-ti-bsp/conf/machine/am62lxx-evm.conf | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/meta-ti-bsp/conf/machine/am62lxx-evm.conf b/meta-ti-bsp/conf/machine/am62lxx-evm.conf index 7a422617d..883cab90e 100644 --- a/meta-ti-bsp/conf/machine/am62lxx-evm.conf +++ b/meta-ti-bsp/conf/machine/am62lxx-evm.conf @@ -16,7 +16,20 @@ KERNEL_DEVICETREE_PREFIX = " \ KERNEL_DEVICETREE = "" -UBOOT_MACHINE = "am62lx_evm_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] = "am62lx_evm_defconfig" +UBOOT_CONFIG[ecdsa] = "am62lx_evm_defconfig" + +UBOOT_CONFIG_MAKE_OPTS[ecdsa] = "${TI_SIGN_WITH_ECDSA_KEY}" + FIT_CONF_DEFAULT_DTB = "ti/k3-am62l3-evm.dtb" UBOOT_LOADADDRESS = "0x82400000" UBOOT_ENTRYPOINT = "0x82400000"