summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Eatmon <reatmon@ti.com>2026-01-12 15:00:29 -0600
committerRyan Eatmon <reatmon@ti.com>2026-05-12 08:36:07 -0500
commit05245301896b2a6678843bac546c1120b2fc302a (patch)
tree8c6a6661ee2fddb7f5d222bccebdf14dbd223fe2
parentebde54986c78d15fdc289c30e420ebb69a0b8366 (diff)
downloadmeta-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.conf12
-rw-r--r--meta-ti-bsp/conf/machine/am62axx-evm.conf1
-rw-r--r--meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf3
-rw-r--r--meta-ti-bsp/conf/machine/am62pxx-evm.conf1
-rw-r--r--meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf11
-rw-r--r--meta-ti-bsp/conf/machine/am62xx-evm.conf1
-rw-r--r--meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf12
-rw-r--r--meta-ti-bsp/conf/machine/am62xx-lp-evm.conf1
-rw-r--r--meta-ti-bsp/conf/machine/include/k3.inc5
-rw-r--r--meta-ti-bsp/conf/machine/include/ti-falcon.inc9
-rw-r--r--meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc1
-rw-r--r--meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc12
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
5require conf/machine/include/k3r5.inc 5require conf/machine/include/k3r5.inc
6 6
7UBOOT_MACHINE = "am62ax_evm_r5_defconfig" 7UBOOT_MACHINE = ""
8UBOOT_MACHINE:tie-test-builds = ""
9 8
10UBOOT_CONFIG = "" 9#XXX UBOOT_CONFIG = "falcon main"
11UBOOT_CONFIG:tie-test-builds = "usbdfu main" 10UBOOT_CONFIG = "main"
11UBOOT_CONFIG:prepend:tie-test-builds = "usbdfu "
12UBOOT_CONFIG[main] = "am62ax_evm_r5_defconfig" 12UBOOT_CONFIG[main] = "am62ax_evm_r5_defconfig"
13UBOOT_CONFIG[falcon] = "am62ax_evm_r5_defconfig"
13UBOOT_CONFIG[usbdfu] = "am62ax_evm_r5_defconfig" 14UBOOT_CONFIG[usbdfu] = "am62ax_evm_r5_defconfig"
14 15
16UBOOT_CONFIG_FRAGMENTS[falcon] = "k3_r5_falcon.config"
15UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config" 17UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config"
16
17UBOOT_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
5require conf/machine/include/am62axx.inc 5require conf/machine/include/am62axx.inc
6#XXX require conf/machine/include/ti-falcon.inc
6 7
7KERNEL_DEVICETREE_PREFIX = " \ 8KERNEL_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 = ""
11UBOOT_ECDSA_SIGN_CONFIG:bsp-next = "" 11UBOOT_ECDSA_SIGN_CONFIG:bsp-next = ""
12UBOOT_ECDSA_SIGN_CONFIG:bsp-mainline = "" 12UBOOT_ECDSA_SIGN_CONFIG:bsp-mainline = ""
13 13
14#UBOOT_CONFIG = "${UBOOT_ECDSA_SIGN_CONFIG} falcon main"
14UBOOT_CONFIG = "${UBOOT_ECDSA_SIGN_CONFIG} main" 15UBOOT_CONFIG = "${UBOOT_ECDSA_SIGN_CONFIG} main"
15UBOOT_CONFIG:prepend:tie-test-builds = "usbdfu " 16UBOOT_CONFIG:prepend:tie-test-builds = "usbdfu "
16 17
17UBOOT_CONFIG[main] = "am62px_evm_r5_defconfig" 18UBOOT_CONFIG[main] = "am62px_evm_r5_defconfig"
19UBOOT_CONFIG[falcon] = "am62ax_evm_r5_defconfig"
18UBOOT_CONFIG[ecdsa] = "am62px_evm_r5_defconfig" 20UBOOT_CONFIG[ecdsa] = "am62px_evm_r5_defconfig"
19UBOOT_CONFIG[usbdfu] = "am62px_evm_r5_defconfig" 21UBOOT_CONFIG[usbdfu] = "am62px_evm_r5_defconfig"
20 22
21UBOOT_CONFIG_MAKE_OPTS[ecdsa] = "${TI_SIGN_WITH_ECDSA_KEY}" 23UBOOT_CONFIG_MAKE_OPTS[ecdsa] = "${TI_SIGN_WITH_ECDSA_KEY}"
22 24
25UBOOT_CONFIG_FRAGMENTS[falcon] = "k3_r5_falcon.config"
23UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config" 26UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config"
24 27
25UBOOT_FRAGMENTS:ti-falcon = "k3_r5_falcon.config" 28UBOOT_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
5require conf/machine/include/am62pxx.inc 5require conf/machine/include/am62pxx.inc
6#XXX require conf/machine/include/ti-falcon.inc
6 7
7KERNEL_DEVICETREE_PREFIX = " \ 8KERNEL_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
5require conf/machine/include/k3r5.inc 5require conf/machine/include/k3r5.inc
6 6
7UBOOT_MACHINE = "am62x_evm_r5_defconfig" 7UBOOT_MACHINE = ""
8UBOOT_MACHINE:tie-test-builds = ""
9 8
10UBOOT_CONFIG = "" 9UBOOT_CONFIG = "falcon main"
11UBOOT_CONFIG:tie-test-builds = "usbdfu main" 10UBOOT_CONFIG:prepend:tie-test-builds = "usbdfu "
12UBOOT_CONFIG[main] = "am62x_evm_r5_defconfig" 11UBOOT_CONFIG[main] = "am62x_evm_r5_defconfig"
12UBOOT_CONFIG[falcon] = "am62x_evm_r5_defconfig"
13UBOOT_CONFIG[usbdfu] = "am62x_evm_r5_defconfig" 13UBOOT_CONFIG[usbdfu] = "am62x_evm_r5_defconfig"
14 14
15UBOOT_CONFIG_FRAGMENTS[falcon] = "k3_r5_falcon.config"
15UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config" 16UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config"
16
17UBOOT_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
5require conf/machine/include/am62xx.inc 5require conf/machine/include/am62xx.inc
6require conf/machine/include/ti-falcon.inc
6 7
7KERNEL_DEVICETREE_PREFIX = " \ 8KERNEL_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
5require conf/machine/include/k3r5.inc 5require conf/machine/include/k3r5.inc
6 6
7UBOOT_MACHINE = "am62x_lpsk_r5_defconfig" 7UBOOT_MACHINE = ""
8UBOOT_MACHINE:tie-test-builds = ""
9 8
10UBOOT_CONFIG = "" 9#XXX UBOOT_CONFIG = "falcon main"
11UBOOT_CONFIG:tie-test-builds = "usbdfu main" 10UBOOT_CONFIG = "main"
11UBOOT_CONFIG:prepend:tie-test-builds = "usbdfu "
12UBOOT_CONFIG[main] = "am62x_lpsk_r5_defconfig" 12UBOOT_CONFIG[main] = "am62x_lpsk_r5_defconfig"
13UBOOT_CONFIG[falcon] = "am62x_lpsk_r5_defconfig"
13UBOOT_CONFIG[usbdfu] = "am62x_lpsk_r5_defconfig" 14UBOOT_CONFIG[usbdfu] = "am62x_lpsk_r5_defconfig"
14 15
16UBOOT_CONFIG_FRAGMENTS[falcon] = "k3_r5_falcon.config"
15UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config" 17UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config"
16
17UBOOT_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
5require conf/machine/include/am62xx.inc 5require conf/machine/include/am62xx.inc
6#XXX require conf/machine/include/ti-falcon.inc
6 7
7KERNEL_DEVICETREE_PREFIX = " \ 8KERNEL_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}"
61do_image_wic[depends] += "virtual/bootloader:do_deploy" 61do_image_wic[depends] += "virtual/bootloader:do_deploy"
62 62
63SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS0" 63SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS0"
64
65FALCON_INCLUDE = ""
66FALCON_INCLUDE:ti-falcon = "conf/machine/include/ti-falcon.inc"
67
68require ${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 @@
1IMAGE_INSTALL:append = " u-boot-ti-staging-falcon" 1#KERNEL_CLASSES:remove = "kernel-fit-extra-artifacts"
2KERNEL_CLASSES:remove = "kernel-fit-extra-artifacts" 2#MACHINE_ESSENTIAL_EXTRA_RDEPENDS:remove = "ti-kernel-fitimage"
3MACHINE_ESSENTIAL_EXTRA_RDEPENDS:remove = "ti-kernel-fitimage" 3#KERNEL_CLASSES += "kernel-fitimage-legacyhs"
4KERNEL_CLASSES += "kernel-fitimage-legacyhs" 4#FIT_KERNEL_COMP_ALG = "none"
5FIT_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_
29EXTRA_OEMAKE += "${@ 'BL32_BASE=' + d.getVar('TFA_K3_BL32_BASE') if d.getVar('TFA_K3_BL32_BASE') else ''}" 29EXTRA_OEMAKE += "${@ 'BL32_BASE=' + d.getVar('TFA_K3_BL32_BASE') if d.getVar('TFA_K3_BL32_BASE') else ''}"
30EXTRA_OEMAKE += "${@ 'PRELOADED_BL33_BASE=' + d.getVar('TFA_K3_PRELOADED_BL33') if d.getVar('TFA_K3_PRELOADED_BL33') else ''}" 30EXTRA_OEMAKE += "${@ 'PRELOADED_BL33_BASE=' + d.getVar('TFA_K3_PRELOADED_BL33') if d.getVar('TFA_K3_PRELOADED_BL33') else ''}"
31EXTRA_OEMAKE += "${@ 'K3_HW_CONFIG_BASE=' + d.getVar('TFA_K3_HW_CONFIG_BASE') if d.getVar('TFA_K3_HW_CONFIG_BASE') else ''}" 31EXTRA_OEMAKE += "${@ 'K3_HW_CONFIG_BASE=' + d.getVar('TFA_K3_HW_CONFIG_BASE') if d.getVar('TFA_K3_HW_CONFIG_BASE') else ''}"
32EXTRA_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
415do_install:append:ti-falcon() { 415do_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
419FALCON_PKG = ""
420FALCON_PKG:ti-falcon = "${PN}-falcon "
421
422PACKAGES:prepend:am62xx-evm = "${FALCON_PKG} "
423PACKAGES:prepend:am62axx-evm = "${FALCON_PKG} "
424PACKAGES:prepend:am62pxx-evm = "${FALCON_PKG} "
425PACKAGES:prepend:am62xx-lp-evm = "${FALCON_PKG} "
426
427TOOLCHAIN = "gcc" 421TOOLCHAIN = "gcc"
428 422
429TI_SIGN_WITH_ECDSA_KEY ?= "SIGNING_KEY=${THISDIR}/files/custMpk_ecdsa.key" 423TI_SIGN_WITH_ECDSA_KEY ?= "SIGNING_KEY=${THISDIR}/files/custMpk_ecdsa.key"