1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-04-18 02:29:32 +00:00

Compare commits

..

8 Commits

Author SHA1 Message Date
Ryan Eatmon
449d630a76 conf: Add falcon support natively
Add support for building falcon natively and remove the ti-falcon build
option.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2026-04-17 10:39:09 -05:00
Ryan Eatmon
cea62170c8 u-boot: Move the TFA memory location for all k3 platforms
In preparation for supporting falcon boot, we are globally moving all k3
memory locations for TFA.  Trying to do this platform by platform and
only for falcon builds was proving to be onerous, so it was decide to
just move it for all Yocto builds.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2026-04-17 10:39:09 -05:00
LCPD Automation Script
f3081d9c34 u-boot-ti-mainline: Update to version: v2026.04
Updated the value(s) for:
  u-boot-ti-mainline: PV,SRCREV_uboot

Signed-off-by: LCPD Automation Script <lcpdbld@list.ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2026-04-17 10:39:09 -05:00
Franz Schnyder
27615406ab conf: machine: j784s4: Move ti-eth-fw-j784s4 to EVM conf
The `ti-eth-fw-j784s4` firmware is added in the generic J784s4 SoC
include, which is therefore used for all the J784s4-based machines.
That firmware seems to be developed specifically for the EVM, as it
takes control of pins used for the Ethernet board setup on the EVM. On
non-EVM boards, like the Aquila-AM69, those signals are used for other
functions, so enabling the firmware in the SoC include is too broad
and breaks functionality.

Move the machine-essential recommend from the SoC include
to the EVM configuration.

Signed-off-by: Franz Schnyder <franz.schnyder@toradex.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2026-04-17 10:39:09 -05:00
Ryan Eatmon
1a17ddb163 check_yocto_rules: Add new exclude file
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2026-04-17 10:36:46 -05:00
Antonios Christidis
00102868ec mesa-pvr: Add patch for gallium fix due to LLVM 22
Add patch for gallium fix due to LLVM 22.

Signed-off-by: Antonios Christidis <a-christidis@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2026-04-17 10:36:46 -05:00
Randolph Sapp
705e9d2bb0 k3: use ttyS2 as the primary console
The ordering of parameters in SERIAL_CONSOLES matters. The first value
is picked as the KERNEL_CONSOLE and used as the console definition for
grub as of:

9dc647e5 (k3: set console parameter to KERNEL_CONSOLE, 2026-03-18)

Ideally this will be split out into a separate board configuration
parameter in the future, as there are already some board specific
overrides right now.

Signed-off-by: Randolph Sapp <rs@ti.com>
Acked-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2026-04-17 10:36:43 -05:00
Denys Dmytriyenko (TI)
f342599208 wic: move wks files into files/wic/
Move our wks files into files/wic/ per [1].

[1] https://git.openembedded.org/openembedded-core/commit/?id=07e410600c41103098b670f12abe87f64419a624

Signed-off-by: Denys Dmytriyenko (TI) <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2026-04-08 16:05:22 -05:00
23 changed files with 127 additions and 43 deletions

View File

@@ -20,7 +20,8 @@
"meta-ti-bsp/recipes-security/optee/optee-%.bbappend",
"meta-ti-bsp/dynamic-layers/openembedded-layer/recipes-bsp/u-boot/u-boot-ti-%.bbappend",
"meta-ti-bsp/dynamic-layers/openembedded-layer/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bbappend",
"meta-ti-bsp/dynamic-layers/tpm-layer/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bbappend"
"meta-ti-bsp/dynamic-layers/tpm-layer/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bbappend",
"meta-ti-bsp/dynamic-layers/tpm-layer/recipes-ti/initramfs/ti-core-initramfs.bbappend"
]
},
"GUARD-2" : {

View File

@@ -4,14 +4,14 @@
require conf/machine/include/k3r5.inc
UBOOT_MACHINE = "am62ax_evm_r5_defconfig"
UBOOT_MACHINE:tie-test-builds = ""
UBOOT_MACHINE = ""
UBOOT_CONFIG = ""
UBOOT_CONFIG:tie-test-builds = "usbdfu main"
#XXX UBOOT_CONFIG = "falcon main"
UBOOT_CONFIG = "main"
UBOOT_CONFIG:prepend:tie-test-builds = "usbdfu "
UBOOT_CONFIG[main] = "am62ax_evm_r5_defconfig"
UBOOT_CONFIG[falcon] = "am62ax_evm_r5_defconfig"
UBOOT_CONFIG[usbdfu] = "am62ax_evm_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS[falcon] = "k3_r5_falcon.config"
UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config"
UBOOT_FRAGMENTS:ti-falcon = "k3_r5_falcon.config"

View File

@@ -3,6 +3,7 @@
#@DESCRIPTION: Machine configuration for the TI AM62AXX EVM
require conf/machine/include/am62axx.inc
#XXX require conf/machine/include/ti-falcon.inc
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am62a7 \

View File

@@ -11,15 +11,18 @@ 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} falcon main"
UBOOT_CONFIG = "${UBOOT_ECDSA_SIGN_CONFIG} main"
UBOOT_CONFIG:prepend:tie-test-builds = "usbdfu "
UBOOT_CONFIG[main] = "am62px_evm_r5_defconfig"
UBOOT_CONFIG[falcon] = "am62ax_evm_r5_defconfig"
UBOOT_CONFIG[ecdsa] = "am62px_evm_r5_defconfig"
UBOOT_CONFIG[usbdfu] = "am62px_evm_r5_defconfig"
UBOOT_CONFIG_MAKE_OPTS[ecdsa] = "${TI_SIGN_WITH_ECDSA_KEY}"
UBOOT_CONFIG_FRAGMENTS[falcon] = "k3_r5_falcon.config"
UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config"
UBOOT_FRAGMENTS:ti-falcon = "k3_r5_falcon.config"

View File

@@ -3,6 +3,7 @@
#@DESCRIPTION: Machine configuration for the TI AM62PX EVM
require conf/machine/include/am62pxx.inc
#XXX require conf/machine/include/ti-falcon.inc
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am62p5 \

View File

@@ -4,14 +4,13 @@
require conf/machine/include/k3r5.inc
UBOOT_MACHINE = "am62x_evm_r5_defconfig"
UBOOT_MACHINE:tie-test-builds = ""
UBOOT_MACHINE = ""
UBOOT_CONFIG = ""
UBOOT_CONFIG:tie-test-builds = "usbdfu main"
UBOOT_CONFIG = "falcon main"
UBOOT_CONFIG:prepend:tie-test-builds = "usbdfu "
UBOOT_CONFIG[main] = "am62x_evm_r5_defconfig"
UBOOT_CONFIG[falcon] = "am62x_evm_r5_defconfig"
UBOOT_CONFIG[usbdfu] = "am62x_evm_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS[falcon] = "k3_r5_falcon.config"
UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config"
UBOOT_FRAGMENTS:ti-falcon = "k3_r5_falcon.config"

View File

@@ -3,6 +3,7 @@
#@DESCRIPTION: Machine configuration for the TI AM62XX EVM
require conf/machine/include/am62xx.inc
require conf/machine/include/ti-falcon.inc
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am625 \

View File

@@ -4,14 +4,14 @@
require conf/machine/include/k3r5.inc
UBOOT_MACHINE = "am62x_lpsk_r5_defconfig"
UBOOT_MACHINE:tie-test-builds = ""
UBOOT_MACHINE = ""
UBOOT_CONFIG = ""
UBOOT_CONFIG:tie-test-builds = "usbdfu main"
#XXX UBOOT_CONFIG = "falcon main"
UBOOT_CONFIG = "main"
UBOOT_CONFIG:prepend:tie-test-builds = "usbdfu "
UBOOT_CONFIG[main] = "am62x_lpsk_r5_defconfig"
UBOOT_CONFIG[falcon] = "am62x_lpsk_r5_defconfig"
UBOOT_CONFIG[usbdfu] = "am62x_lpsk_r5_defconfig"
UBOOT_CONFIG_FRAGMENTS[falcon] = "k3_r5_falcon.config"
UBOOT_CONFIG_FRAGMENTS[usbdfu] = "am62x_r5_usbdfu.config"
UBOOT_FRAGMENTS:ti-falcon = "k3_r5_falcon.config"

View File

@@ -3,6 +3,7 @@
#@DESCRIPTION: Machine configuration for the TI AM62XX LP EVM
require conf/machine/include/am62xx.inc
#XXX require conf/machine/include/ti-falcon.inc
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am62-lp \

View File

@@ -12,7 +12,7 @@ TFA_BOARD = "j784s4"
OPTEEMACHINE = "k3-j784s4"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw ti-eth-fw-j784s4"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw"
TI_CORE_INITRAMFS_KERNEL_MODULES = "kernel-module-cdns-pltfrm kernel-module-ti-j721e-ufs"
TI_CORE_INITRAMFS_KERNEL_MODULES:bsp-ti-6_6 = ""

View File

@@ -33,6 +33,11 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image-image ti-kernel-fitimage"
TFA_PLATFORM = "k3"
# Change the default memory location for all k3 devices. This requires an
# in layer config fragment for u-boot.
TFA_K3_PRELOADED_BL33 ?= "${@ '0x82000000' if d.getVar('BSP_TI_K3_TFA_MOVE') else ''}"
TFA_K3_HW_CONFIG_BASE ?= "${@ '0x88000000' if d.getVar('BSP_TI_K3_TFA_MOVE') else ''}"
# Use the expected value of the ubifs filesystem's volume name in the kernel
# and u-boot.
UBI_VOLNAME = "rootfs"
@@ -55,9 +60,4 @@ TI_WKS_BOOTLOADER_APPEND ?= "console=${KERNEL_CONSOLE}"
do_image_wic[depends] += "virtual/bootloader:do_deploy"
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2"
FALCON_INCLUDE = ""
FALCON_INCLUDE:ti-falcon = "conf/machine/include/ti-falcon.inc"
require ${FALCON_INCLUDE}
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS0"

View File

@@ -46,6 +46,8 @@ BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_18 = "ti-img-rogue-driver"
BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_18 = "25%"
BSP_MESA_PVR_VERSION:bsp-ti-6_18 = "24%"
BSP_TI_K3_TFA_MOVE:bsp-ti-6_18 = "1"
# ==========
# ti-6_12
# TI staging kernel 6.12, u-boot 2025.01
@@ -95,6 +97,8 @@ BSP_ROGUE_DRIVER_PROVIDER ?= ""
BSP_ROGUE_DRIVER_VERSION ?= ""
BSP_MESA_PVR_VERSION ?= ""
BSP_TI_K3_TFA_MOVE ?= ""
# ==========
# global preferences
# ==========

View File

@@ -1,5 +1,4 @@
IMAGE_INSTALL:append = " u-boot-ti-staging-falcon"
KERNEL_CLASSES:remove = "kernel-fit-extra-artifacts"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS:remove = "ti-kernel-fitimage"
KERNEL_CLASSES += "kernel-fitimage-legacyhs"
FIT_KERNEL_COMP_ALG = "none"
#KERNEL_CLASSES:remove = "kernel-fit-extra-artifacts"
#MACHINE_ESSENTIAL_EXTRA_RDEPENDS:remove = "ti-kernel-fitimage"
#KERNEL_CLASSES += "kernel-fitimage-legacyhs"
#FIT_KERNEL_COMP_ALG = "none"

View File

@@ -27,3 +27,5 @@ KERNEL_DEVICETREE = " \
"
UBOOT_MACHINE = "j784s4_evm_a72_defconfig"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "ti-eth-fw-j784s4"

View File

@@ -28,5 +28,5 @@ TFA_INSTALL_TARGET:am62lxx = "bl31 bl1"
EXTRA_OEMAKE += "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}"
EXTRA_OEMAKE += "${@ 'BL32_BASE=' + d.getVar('TFA_K3_BL32_BASE') if d.getVar('TFA_K3_BL32_BASE') else ''}"
EXTRA_OEMAKE += "${@ 'PRELOADED_BL33_BASE=' + d.getVar('TFA_K3_PRELOADED_BL33') if d.getVar('TFA_K3_PRELOADED_BL33') else ''}"
EXTRA_OEMAKE += "${@ 'K3_HW_CONFIG_BASE=' + d.getVar('TFA_K3_HW_CONFIG_BASE') if d.getVar('TFA_K3_HW_CONFIG_BASE') else ''}"
EXTRA_OEMAKE += "${@ 'K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}"
EXTRA_OEMAKE:append:ti-falcon = " PRELOADED_BL33_BASE=0x82000000 K3_HW_CONFIG_BASE=0x88000000"

View File

@@ -2,8 +2,8 @@ require u-boot-ti.inc
SUMMARY = "Mainline U-Boot for TI devices"
PV = "2026.01"
PV = "2026.04"
UBOOT_GIT_URI = "git://source.denx.de/u-boot/u-boot.git"
SRCREV_uboot = "127a42c7257a6ffbbd1575ed1cbaa8f5408a44b3"
SRCREV_uboot = "88dc2788777babfd6322fa655df549a019aa1e69"

View File

@@ -25,6 +25,15 @@ UBOOT_GIT_PROTOCOL ?= "https"
UBOOT_GIT_BRANCH ?= "branch=${BRANCH}"
SRC_URI = "${UBOOT_GIT_URI};protocol=${UBOOT_GIT_PROTOCOL};${UBOOT_GIT_BRANCH};name=uboot"
# Match the meta-ti trusted-firmware-a specific changes to memory locations
# for bl33 and k3 hardware.
TI_K3_TFA_CFG_FILES = "\
file://k3_tfa.cfg \
file://0001-env-Make-the-env-based-on-KConfig-instead-of-hardcod.patch \
"
SRC_URI:append:k3 = " ${@ '${TI_K3_TFA_CFG_FILES}' if d.getVar('BSP_TI_K3_TFA_MOVE') else ''}"
SRCREV_FORMAT = "uboot"
PV:append = "+git"
@@ -403,18 +412,12 @@ do_deploy:append:am62pxx() {
install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${DEPLOYDIR}
}
do_install:append:ti-falcon() {
do_install:append() {
if [ -f ${B}/tifalcon.bin ]; then
install -m 0644 ${B}/tifalcon.bin ${D}/boot
fi
}
FALCON_PKG = ""
FALCON_PKG:ti-falcon = "${PN}-falcon "
PACKAGES:prepend:am62xx-evm = "${FALCON_PKG} "
PACKAGES:prepend:am62axx-evm = "${FALCON_PKG} "
PACKAGES:prepend:am62pxx-evm = "${FALCON_PKG} "
PACKAGES:prepend:am62xx-lp-evm = "${FALCON_PKG} "
TOOLCHAIN = "gcc"
TI_SIGN_WITH_ECDSA_KEY ?= "SIGNING_KEY=${THISDIR}/files/custMpk_ecdsa.key"

View File

@@ -0,0 +1,32 @@
From 25569d2b31a4dcb73bb55cffe13c95afd9441987 Mon Sep 17 00:00:00 2001
From: Ryan Eatmon <reatmon@ti.com>
Date: Wed, 4 Feb 2026 14:07:39 -0600
Subject: [PATCH] env: Make the env based on KConfig instead of hardcoded
testing...
Upstream-Status: Pending
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
include/env/ti/k3_dfu.env | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/env/ti/k3_dfu.env b/include/env/ti/k3_dfu.env
index 2ea8554d413..3a3eb959b94 100644
--- a/include/env/ti/k3_dfu.env
+++ b/include/env/ti/k3_dfu.env
@@ -25,8 +25,8 @@ dfu_alt_info_ospi=
rootfs raw 0x800000 0x3800000
dfu_alt_info_ram=
- tispl.bin ram 0x80080000 0x200000;
- u-boot.img ram 0x81000000 0x400000
+ tispl.bin ram CONFIG_SPL_TEXT_BASE 0x200000;
+ u-boot.img ram CONFIG_TEXT_BASE 0x400000
dfu_alt_info_ospi_nand=
ospi.tiboot3 part 1;
--
2.43.0

View File

@@ -0,0 +1,7 @@
CONFIG_TEXT_BASE=0x82f80000
CONFIG_BLOBLIST_ADDR=0x82c80000
CONFIG_SPL_TEXT_BASE=0x82000000
CONFIG_SPL_STACK_R_ADDR=0x83f80000
CONFIG_SPL_BSS_START_ADDR=0x82c00000
CONFIG_SPL_LOAD_FIT_ADDRESS=0x82f80000
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x82b00000

View File

@@ -0,0 +1,29 @@
From 973dc32026c164d0c13f7f5bef36c8d1c2375973 Mon Sep 17 00:00:00 2001
From: Alessandro Astone <ales.astone@gmail.com>
Date: Sun, 1 Mar 2026 18:14:09 +0100
Subject: [PATCH] gallivm: Fix armhf build against LLVM 22
StringMapIterator<bool> became StringMapIterBase<bool, false /* IsConst */>;
Use `auto` to handle either case.
Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40161]
Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
---
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
index d3ad342..c95d86e 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
@@ -331,7 +331,7 @@ lp_build_fill_mattrs(std::vector<std::string> &MAttrs)
llvm::sys::getHostCPUFeatures(features);
#endif
- for (llvm::StringMapIterator<bool> f = features.begin();
+ for (auto f = features.begin();
f != features.end();
++f) {
MAttrs.push_back(((*f).second ? "+" : "-") + (*f).first().str());
--
2.53.0

View File

@@ -19,6 +19,7 @@ SRC_URI = " \
file://0002-glxext-don-t-try-zink-if-not-enabled-in-mesa.patch \
file://0001-gallivm-Call-StringMapIterator-from-llvm-scope.patch \
file://0001-Update-lp_bld_misc.cpp-to-support-llvm-19.patch \
file://0001-gallivm-Fix-armhf-build-against-LLVM-22.patch \
"
SRCREV = "7c82c1eebc67f5a62a347a84d42fe795cf7f523b"