Add an "ecdsa" pass alongside "main" for am69-sk and am69-sk-k3r5, so both RSA and ECDSA signed boot images come out of the same build.
Signed-off-by: Atharv Dubey <[email protected]> --- meta-ti-bsp/conf/machine/am69-sk-k3r5.conf | 14 +++++++++++++- meta-ti-bsp/conf/machine/am69-sk.conf | 19 ++++++++++++++++++- 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/meta-ti-bsp/conf/machine/am69-sk-k3r5.conf b/meta-ti-bsp/conf/machine/am69-sk-k3r5.conf index b989cf98..d2f7e909 100644 --- a/meta-ti-bsp/conf/machine/am69-sk-k3r5.conf +++ b/meta-ti-bsp/conf/machine/am69-sk-k3r5.conf @@ -4,4 +4,16 @@ require conf/machine/include/k3r5.inc -UBOOT_MACHINE = "am69_sk_r5_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] = "am69_sk_r5_defconfig" +UBOOT_CONFIG[ecdsa] = "am69_sk_r5_defconfig" + +UBOOT_CONFIG_MAKE_OPTS[ecdsa] = "${TI_SIGN_WITH_ECDSA_KEY}" diff --git a/meta-ti-bsp/conf/machine/am69-sk.conf b/meta-ti-bsp/conf/machine/am69-sk.conf index 3785dca6..3db5e61c 100644 --- a/meta-ti-bsp/conf/machine/am69-sk.conf +++ b/meta-ti-bsp/conf/machine/am69-sk.conf @@ -21,6 +21,23 @@ KERNEL_DEVICETREE = " \ ti/k3-j721e-sk-csi2-dual-imx219.dtbo \ " -UBOOT_MACHINE = "am69_sk_a72_defconfig" +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 = "" + +ECDSA_BOOT_FILES ?= "tiboot3.bin-ecdsa tiboot3-*-evm.bin-ecdsa tispl.bin-ecdsa u-boot.img-ecdsa" +ECDSA_BOOT_FILES:bsp-ti-6_6 = "" +ECDSA_BOOT_FILES:bsp-next = "" +ECDSA_BOOT_FILES:bsp-mainline = "" + +UBOOT_MACHINE = "" +UBOOT_CONFIG = "${UBOOT_ECDSA_SIGN_CONFIG} main" +UBOOT_CONFIG[main] = "am69_sk_a72_defconfig" +UBOOT_CONFIG[ecdsa] = "am69_sk_a72_defconfig" + +UBOOT_CONFIG_MAKE_OPTS[ecdsa] = "${TI_SIGN_WITH_ECDSA_KEY}" + +IMAGE_BOOT_FILES += "${ECDSA_BOOT_FILES}" MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "ti-eth-fw-j784s4" -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20333): https://lists.yoctoproject.org/g/meta-ti/message/20333 Mute This Topic: https://lists.yoctoproject.org/mt/121125631/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
