diff options
| author | Ryan Eatmon <reatmon@ti.com> | 2026-01-12 15:00:29 -0600 |
|---|---|---|
| committer | Ryan Eatmon <reatmon@ti.com> | 2026-05-12 08:36:07 -0500 |
| commit | 05245301896b2a6678843bac546c1120b2fc302a (patch) | |
| tree | 8c6a6661ee2fddb7f5d222bccebdf14dbd223fe2 | |
| parent | ebde54986c78d15fdc289c30e420ebb69a0b8366 (diff) | |
| download | meta-ti-master-wip.tar.gz | |
conf: Add falcon support nativelymaster-wip
Add support for building falcon natively and remove the ti-falcon build
option.
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
| -rw-r--r-- | meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf | 12 | ||||
| -rw-r--r-- | meta-ti-bsp/conf/machine/am62axx-evm.conf | 1 | ||||
| -rw-r--r-- | meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf | 3 | ||||
| -rw-r--r-- | meta-ti-bsp/conf/machine/am62pxx-evm.conf | 1 | ||||
| -rw-r--r-- | meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf | 11 | ||||
| -rw-r--r-- | meta-ti-bsp/conf/machine/am62xx-evm.conf | 1 | ||||
| -rw-r--r-- | meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf | 12 | ||||
| -rw-r--r-- | meta-ti-bsp/conf/machine/am62xx-lp-evm.conf | 1 | ||||
| -rw-r--r-- | meta-ti-bsp/conf/machine/include/k3.inc | 5 | ||||
| -rw-r--r-- | meta-ti-bsp/conf/machine/include/ti-falcon.inc | 9 | ||||
| -rw-r--r-- | meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc | 1 | ||||
| -rw-r--r-- | meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 12 |
12 files changed, 31 insertions, 38 deletions
diff --git a/meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf index fb2fa7cf..d4384650 100644 --- a/meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf +++ b/meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf | |||
| @@ -4,14 +4,14 @@ | |||
| 4 | 4 | ||
| 5 | require conf/machine/include/k3r5.inc | 5 | require conf/machine/include/k3r5.inc |
| 6 | 6 | ||
| 7 | UBOOT_MACHINE = "am62ax_evm_r5_defconfig" | 7 | UBOOT_MACHINE = "" |
| 8 | UBOOT_MACHINE:tie-test-builds = "" | ||
| 9 | 8 | ||
| 10 | UBOOT_CONFIG = "" | 9 | #XXX UBOOT_CONFIG = "falcon main" |
| 11 | UBOOT_CONFIG:tie-test-builds = "usbdfu main" | 10 | UBOOT_CONFIG = "main" |
| 11 | UBOOT_CONFIG:prepend:tie-test-builds = "usbdfu " | ||
| 12 | UBOOT_CONFIG[main] = "am62ax_evm_r5_defconfig" | 12 | UBOOT_CONFIG[main] = "am62ax_evm_r5_defconfig" |
| 13 | UBOOT_CONFIG[falcon] = "am62ax_evm_r5_defconfig" | ||
| 13 | UBOOT_CONFIG[usbdfu] = "am62ax_evm_r5_defconfig" | 14 | UBOOT_CONFIG[usbdfu] = "am62ax_evm_r5_defconfig" |
| 14 | 15 | ||
| 16 | UBOOT_CONFIG_FRAGMENTS[falcon] = "k3_r5_falcon.config" | ||
| 15 | UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config" | 17 | UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config" |
| 16 | |||
| 17 | UBOOT_FRAGMENTS:ti-falcon = "k3_r5_falcon.config" | ||
diff --git a/meta-ti-bsp/conf/machine/am62axx-evm.conf b/meta-ti-bsp/conf/machine/am62axx-evm.conf index 01955470..3019656a 100644 --- a/meta-ti-bsp/conf/machine/am62axx-evm.conf +++ b/meta-ti-bsp/conf/machine/am62axx-evm.conf | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | #@DESCRIPTION: Machine configuration for the TI AM62AXX EVM | 3 | #@DESCRIPTION: Machine configuration for the TI AM62AXX EVM |
| 4 | 4 | ||
| 5 | require conf/machine/include/am62axx.inc | 5 | require conf/machine/include/am62axx.inc |
| 6 | #XXX require conf/machine/include/ti-falcon.inc | ||
| 6 | 7 | ||
| 7 | KERNEL_DEVICETREE_PREFIX = " \ | 8 | KERNEL_DEVICETREE_PREFIX = " \ |
| 8 | ti/k3-am62a7 \ | 9 | ti/k3-am62a7 \ |
diff --git a/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf index 292b658b..524493b1 100644 --- a/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf +++ b/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf | |||
| @@ -11,15 +11,18 @@ UBOOT_ECDSA_SIGN_CONFIG:bsp-ti-6_6 = "" | |||
| 11 | UBOOT_ECDSA_SIGN_CONFIG:bsp-next = "" | 11 | UBOOT_ECDSA_SIGN_CONFIG:bsp-next = "" |
| 12 | UBOOT_ECDSA_SIGN_CONFIG:bsp-mainline = "" | 12 | UBOOT_ECDSA_SIGN_CONFIG:bsp-mainline = "" |
| 13 | 13 | ||
| 14 | #UBOOT_CONFIG = "${UBOOT_ECDSA_SIGN_CONFIG} falcon main" | ||
| 14 | UBOOT_CONFIG = "${UBOOT_ECDSA_SIGN_CONFIG} main" | 15 | UBOOT_CONFIG = "${UBOOT_ECDSA_SIGN_CONFIG} main" |
| 15 | UBOOT_CONFIG:prepend:tie-test-builds = "usbdfu " | 16 | UBOOT_CONFIG:prepend:tie-test-builds = "usbdfu " |
| 16 | 17 | ||
| 17 | UBOOT_CONFIG[main] = "am62px_evm_r5_defconfig" | 18 | UBOOT_CONFIG[main] = "am62px_evm_r5_defconfig" |
| 19 | UBOOT_CONFIG[falcon] = "am62ax_evm_r5_defconfig" | ||
| 18 | UBOOT_CONFIG[ecdsa] = "am62px_evm_r5_defconfig" | 20 | UBOOT_CONFIG[ecdsa] = "am62px_evm_r5_defconfig" |
| 19 | UBOOT_CONFIG[usbdfu] = "am62px_evm_r5_defconfig" | 21 | UBOOT_CONFIG[usbdfu] = "am62px_evm_r5_defconfig" |
| 20 | 22 | ||
| 21 | UBOOT_CONFIG_MAKE_OPTS[ecdsa] = "${TI_SIGN_WITH_ECDSA_KEY}" | 23 | UBOOT_CONFIG_MAKE_OPTS[ecdsa] = "${TI_SIGN_WITH_ECDSA_KEY}" |
| 22 | 24 | ||
| 25 | UBOOT_CONFIG_FRAGMENTS[falcon] = "k3_r5_falcon.config" | ||
| 23 | UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config" | 26 | UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config" |
| 24 | 27 | ||
| 25 | UBOOT_FRAGMENTS:ti-falcon = "k3_r5_falcon.config" | 28 | 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 bc056e6b..f72ba2e0 100644 --- a/meta-ti-bsp/conf/machine/am62pxx-evm.conf +++ b/meta-ti-bsp/conf/machine/am62pxx-evm.conf | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | #@DESCRIPTION: Machine configuration for the TI AM62PX EVM | 3 | #@DESCRIPTION: Machine configuration for the TI AM62PX EVM |
| 4 | 4 | ||
| 5 | require conf/machine/include/am62pxx.inc | 5 | require conf/machine/include/am62pxx.inc |
| 6 | #XXX require conf/machine/include/ti-falcon.inc | ||
| 6 | 7 | ||
| 7 | KERNEL_DEVICETREE_PREFIX = " \ | 8 | KERNEL_DEVICETREE_PREFIX = " \ |
| 8 | ti/k3-am62p5 \ | 9 | ti/k3-am62p5 \ |
diff --git a/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf index 9c8147e8..9f250990 100644 --- a/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf +++ b/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf | |||
| @@ -4,14 +4,13 @@ | |||
| 4 | 4 | ||
| 5 | require conf/machine/include/k3r5.inc | 5 | require conf/machine/include/k3r5.inc |
| 6 | 6 | ||
| 7 | UBOOT_MACHINE = "am62x_evm_r5_defconfig" | 7 | UBOOT_MACHINE = "" |
| 8 | UBOOT_MACHINE:tie-test-builds = "" | ||
| 9 | 8 | ||
| 10 | UBOOT_CONFIG = "" | 9 | UBOOT_CONFIG = "falcon main" |
| 11 | UBOOT_CONFIG:tie-test-builds = "usbdfu main" | 10 | UBOOT_CONFIG:prepend:tie-test-builds = "usbdfu " |
| 12 | UBOOT_CONFIG[main] = "am62x_evm_r5_defconfig" | 11 | UBOOT_CONFIG[main] = "am62x_evm_r5_defconfig" |
| 12 | UBOOT_CONFIG[falcon] = "am62x_evm_r5_defconfig" | ||
| 13 | UBOOT_CONFIG[usbdfu] = "am62x_evm_r5_defconfig" | 13 | UBOOT_CONFIG[usbdfu] = "am62x_evm_r5_defconfig" |
| 14 | 14 | ||
| 15 | UBOOT_CONFIG_FRAGMENTS[falcon] = "k3_r5_falcon.config" | ||
| 15 | UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config" | 16 | UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config" |
| 16 | |||
| 17 | UBOOT_FRAGMENTS:ti-falcon = "k3_r5_falcon.config" | ||
diff --git a/meta-ti-bsp/conf/machine/am62xx-evm.conf b/meta-ti-bsp/conf/machine/am62xx-evm.conf index dd91ae66..c2012ccb 100644 --- a/meta-ti-bsp/conf/machine/am62xx-evm.conf +++ b/meta-ti-bsp/conf/machine/am62xx-evm.conf | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | #@DESCRIPTION: Machine configuration for the TI AM62XX EVM | 3 | #@DESCRIPTION: Machine configuration for the TI AM62XX EVM |
| 4 | 4 | ||
| 5 | require conf/machine/include/am62xx.inc | 5 | require conf/machine/include/am62xx.inc |
| 6 | require conf/machine/include/ti-falcon.inc | ||
| 6 | 7 | ||
| 7 | KERNEL_DEVICETREE_PREFIX = " \ | 8 | KERNEL_DEVICETREE_PREFIX = " \ |
| 8 | ti/k3-am625 \ | 9 | ti/k3-am625 \ |
diff --git a/meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf index c65c624c..dab1c48f 100644 --- a/meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf +++ b/meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf | |||
| @@ -4,14 +4,14 @@ | |||
| 4 | 4 | ||
| 5 | require conf/machine/include/k3r5.inc | 5 | require conf/machine/include/k3r5.inc |
| 6 | 6 | ||
| 7 | UBOOT_MACHINE = "am62x_lpsk_r5_defconfig" | 7 | UBOOT_MACHINE = "" |
| 8 | UBOOT_MACHINE:tie-test-builds = "" | ||
| 9 | 8 | ||
| 10 | UBOOT_CONFIG = "" | 9 | #XXX UBOOT_CONFIG = "falcon main" |
| 11 | UBOOT_CONFIG:tie-test-builds = "usbdfu main" | 10 | UBOOT_CONFIG = "main" |
| 11 | UBOOT_CONFIG:prepend:tie-test-builds = "usbdfu " | ||
| 12 | UBOOT_CONFIG[main] = "am62x_lpsk_r5_defconfig" | 12 | UBOOT_CONFIG[main] = "am62x_lpsk_r5_defconfig" |
| 13 | UBOOT_CONFIG[falcon] = "am62x_lpsk_r5_defconfig" | ||
| 13 | UBOOT_CONFIG[usbdfu] = "am62x_lpsk_r5_defconfig" | 14 | UBOOT_CONFIG[usbdfu] = "am62x_lpsk_r5_defconfig" |
| 14 | 15 | ||
| 16 | UBOOT_CONFIG_FRAGMENTS[falcon] = "k3_r5_falcon.config" | ||
| 15 | UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config" | 17 | UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config" |
| 16 | |||
| 17 | UBOOT_FRAGMENTS:ti-falcon = "k3_r5_falcon.config" | ||
diff --git a/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf b/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf index d1f6660c..ea590cb6 100644 --- a/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +++ b/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | #@DESCRIPTION: Machine configuration for the TI AM62XX LP EVM | 3 | #@DESCRIPTION: Machine configuration for the TI AM62XX LP EVM |
| 4 | 4 | ||
| 5 | require conf/machine/include/am62xx.inc | 5 | require conf/machine/include/am62xx.inc |
| 6 | #XXX require conf/machine/include/ti-falcon.inc | ||
| 6 | 7 | ||
| 7 | KERNEL_DEVICETREE_PREFIX = " \ | 8 | KERNEL_DEVICETREE_PREFIX = " \ |
| 8 | ti/k3-am62-lp \ | 9 | ti/k3-am62-lp \ |
diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/machine/include/k3.inc index addc42c3..c08b5612 100644 --- a/meta-ti-bsp/conf/machine/include/k3.inc +++ b/meta-ti-bsp/conf/machine/include/k3.inc | |||
| @@ -61,8 +61,3 @@ TI_WKS_BOOTLOADER_APPEND ?= "console=${KERNEL_CONSOLE}" | |||
| 61 | do_image_wic[depends] += "virtual/bootloader:do_deploy" | 61 | do_image_wic[depends] += "virtual/bootloader:do_deploy" |
| 62 | 62 | ||
| 63 | SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS0" | 63 | SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS0" |
| 64 | |||
| 65 | FALCON_INCLUDE = "" | ||
| 66 | FALCON_INCLUDE:ti-falcon = "conf/machine/include/ti-falcon.inc" | ||
| 67 | |||
| 68 | require ${FALCON_INCLUDE} | ||
diff --git a/meta-ti-bsp/conf/machine/include/ti-falcon.inc b/meta-ti-bsp/conf/machine/include/ti-falcon.inc index 5f5e2148..39319a9f 100644 --- a/meta-ti-bsp/conf/machine/include/ti-falcon.inc +++ b/meta-ti-bsp/conf/machine/include/ti-falcon.inc | |||
| @@ -1,5 +1,4 @@ | |||
| 1 | IMAGE_INSTALL:append = " u-boot-ti-staging-falcon" | 1 | #KERNEL_CLASSES:remove = "kernel-fit-extra-artifacts" |
| 2 | KERNEL_CLASSES:remove = "kernel-fit-extra-artifacts" | 2 | #MACHINE_ESSENTIAL_EXTRA_RDEPENDS:remove = "ti-kernel-fitimage" |
| 3 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS:remove = "ti-kernel-fitimage" | 3 | #KERNEL_CLASSES += "kernel-fitimage-legacyhs" |
| 4 | KERNEL_CLASSES += "kernel-fitimage-legacyhs" | 4 | #FIT_KERNEL_COMP_ALG = "none" |
| 5 | FIT_KERNEL_COMP_ALG = "none" | ||
diff --git a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc index 7b00119d..f04711ea 100644 --- a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc +++ b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc | |||
| @@ -29,4 +29,3 @@ EXTRA_OEMAKE += "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_ | |||
| 29 | EXTRA_OEMAKE += "${@ 'BL32_BASE=' + d.getVar('TFA_K3_BL32_BASE') if d.getVar('TFA_K3_BL32_BASE') else ''}" | 29 | EXTRA_OEMAKE += "${@ 'BL32_BASE=' + d.getVar('TFA_K3_BL32_BASE') if d.getVar('TFA_K3_BL32_BASE') else ''}" |
| 30 | EXTRA_OEMAKE += "${@ 'PRELOADED_BL33_BASE=' + d.getVar('TFA_K3_PRELOADED_BL33') if d.getVar('TFA_K3_PRELOADED_BL33') else ''}" | 30 | EXTRA_OEMAKE += "${@ 'PRELOADED_BL33_BASE=' + d.getVar('TFA_K3_PRELOADED_BL33') if d.getVar('TFA_K3_PRELOADED_BL33') else ''}" |
| 31 | EXTRA_OEMAKE += "${@ 'K3_HW_CONFIG_BASE=' + d.getVar('TFA_K3_HW_CONFIG_BASE') if d.getVar('TFA_K3_HW_CONFIG_BASE') else ''}" | 31 | EXTRA_OEMAKE += "${@ 'K3_HW_CONFIG_BASE=' + d.getVar('TFA_K3_HW_CONFIG_BASE') if d.getVar('TFA_K3_HW_CONFIG_BASE') else ''}" |
| 32 | EXTRA_OEMAKE:append:ti-falcon = " PRELOADED_BL33_BASE=0x82000000 K3_HW_CONFIG_BASE=0x88000000" | ||
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc index 317cfd93..1c3efebb 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | |||
| @@ -412,18 +412,12 @@ do_deploy:append:am62pxx() { | |||
| 412 | install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${DEPLOYDIR} | 412 | install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${DEPLOYDIR} |
| 413 | } | 413 | } |
| 414 | 414 | ||
| 415 | do_install:append:ti-falcon() { | 415 | do_install:append() { |
| 416 | if [ -f ${B}/tifalcon.bin ]; then | ||
| 416 | install -m 0644 ${B}/tifalcon.bin ${D}/boot | 417 | install -m 0644 ${B}/tifalcon.bin ${D}/boot |
| 418 | fi | ||
| 417 | } | 419 | } |
| 418 | 420 | ||
| 419 | FALCON_PKG = "" | ||
| 420 | FALCON_PKG:ti-falcon = "${PN}-falcon " | ||
| 421 | |||
| 422 | PACKAGES:prepend:am62xx-evm = "${FALCON_PKG} " | ||
| 423 | PACKAGES:prepend:am62axx-evm = "${FALCON_PKG} " | ||
| 424 | PACKAGES:prepend:am62pxx-evm = "${FALCON_PKG} " | ||
| 425 | PACKAGES:prepend:am62xx-lp-evm = "${FALCON_PKG} " | ||
| 426 | |||
| 427 | TOOLCHAIN = "gcc" | 421 | TOOLCHAIN = "gcc" |
| 428 | 422 | ||
| 429 | TI_SIGN_WITH_ECDSA_KEY ?= "SIGNING_KEY=${THISDIR}/files/custMpk_ecdsa.key" | 423 | TI_SIGN_WITH_ECDSA_KEY ?= "SIGNING_KEY=${THISDIR}/files/custMpk_ecdsa.key" |
