diff options
| author | Ryan Eatmon <reatmon@ti.com> | 2025-10-06 08:49:58 -0500 |
|---|---|---|
| committer | Ryan Eatmon <reatmon@ti.com> | 2026-02-02 13:50:02 -0600 |
| commit | 634a30e2c13a408cb36d9526c70aebaf7a73f48c (patch) | |
| tree | bb15a3a02d42cab0f07bf3a2809ce949cbc6e4cf /meta-ti-bsp | |
| parent | 507125eedde4f89269bf0a4ee979590eb838998e (diff) | |
| download | meta-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.conf | 15 | ||||
| -rw-r--r-- | meta-ti-bsp/conf/machine/am62pxx-evm.conf | 19 |
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 | ||
| 5 | require conf/machine/include/k3r5.inc | 5 | require conf/machine/include/k3r5.inc |
| 6 | 6 | ||
| 7 | UBOOT_MACHINE = "am62px_evm_r5_defconfig" | 7 | UBOOT_MACHINE = "" |
| 8 | UBOOT_MACHINE:tie-test-builds = "" | ||
| 9 | 8 | ||
| 10 | UBOOT_CONFIG = "" | 9 | UBOOT_ECDSA_SIGN_CONFIG ?= "ecdsa" |
| 11 | UBOOT_CONFIG:tie-test-builds = "usbdfu main" | 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 | UBOOT_CONFIG:prepend:tie-test-builds = "usbdfu " | ||
| 12 | 16 | ||
| 13 | UBOOT_CONFIG[main] = "am62px_evm_r5_defconfig" | 17 | UBOOT_CONFIG[main] = "am62px_evm_r5_defconfig" |
| 18 | UBOOT_CONFIG[ecdsa] = "am62px_evm_r5_defconfig" | ||
| 14 | UBOOT_CONFIG[usbdfu] = "am62px_evm_r5_defconfig" | 19 | UBOOT_CONFIG[usbdfu] = "am62px_evm_r5_defconfig" |
| 15 | 20 | ||
| 21 | UBOOT_CONFIG_MAKE_OPTS[ecdsa] = "${TI_SIGN_WITH_ECDSA_KEY}" | ||
| 22 | |||
| 16 | UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config" | 23 | UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config" |
| 17 | 24 | ||
| 18 | UBOOT_FRAGMENTS:ti-falcon = "k3_r5_falcon.config" | 25 | UBOOT_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 | ||
| 24 | FIT_CONF_DEFAULT_DTB = "k3-am62p5-sk.dtb" | 24 | FIT_CONF_DEFAULT_DTB = "k3-am62p5-sk.dtb" |
| 25 | 25 | ||
| 26 | UBOOT_MACHINE = "am62px_evm_a53_defconfig" | 26 | UBOOT_ECDSA_SIGN_CONFIG ?= "ecdsa" |
| 27 | UBOOT_ECDSA_SIGN_CONFIG:bsp-ti-6_6 = "" | ||
| 28 | UBOOT_ECDSA_SIGN_CONFIG:bsp-next = "" | ||
| 29 | UBOOT_ECDSA_SIGN_CONFIG:bsp-mainline = "" | ||
| 30 | |||
| 31 | ECDSA_BOOT_FILES ?= "tiboot3.bin-ecdsa tiboot3-*-evm.bin-ecdsa tispl.bin-ecdsa u-boot.img-ecdsa" | ||
| 32 | ECDSA_BOOT_FILES:bsp-ti-6_6 = "" | ||
| 33 | ECDSA_BOOT_FILES:bsp-next = "" | ||
| 34 | ECDSA_BOOT_FILES:bsp-mainline = "" | ||
| 35 | |||
| 36 | UBOOT_MACHINE = "" | ||
| 37 | UBOOT_CONFIG = "${UBOOT_ECDSA_SIGN_CONFIG} main" | ||
| 38 | UBOOT_CONFIG[main] = "am62px_evm_a53_defconfig" | ||
| 39 | UBOOT_CONFIG[ecdsa] = "am62px_evm_a53_defconfig" | ||
| 40 | |||
| 41 | UBOOT_CONFIG_MAKE_OPTS[ecdsa] = "${TI_SIGN_WITH_ECDSA_KEY}" | ||
| 42 | |||
| 43 | IMAGE_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 |
