ti-extras: Clean up
PATCH 1/1 ti-extras: Clean up
The TI_EXTRAS infrastructure needs a little tweaking to support turning on multiple extra options at the same time.
1) Since TI_EXTRAS can be a space separated list and not a single fixed value, we need to change how we detect when to include the TI_EXTRA values.
2) The tie-jailhouse overrides were being a little too heavy handed. All of the variables that are changed for any given extra feature needs to use the proper variable override. This was most important for the COMPATIBLE_MACHINE settings.
3) Move the ti-extras out of specific machine configs and into the ti-soc so that all machines can use the extras.
--- meta-ti-bsp/conf/machine/am62lxx-evm.conf | 1 - meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf | 1 - meta-ti-bsp/conf/machine/am62pxx-evm.conf | 1 - meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf | 1 - meta-ti-bsp/conf/machine/am62xx-evm.conf | 1 - meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf | 1 - meta-ti-bsp/conf/machine/am62xx-lp-evm.conf | 1 - meta-ti-bsp/conf/machine/include/ti-extras.inc | 2 +- meta-ti-bsp/conf/machine/include/ti-soc.inc | 1 + meta-ti-bsp/recipes-bsp/u-boot/ti-extras.inc | 16 +++++++--------- .../recipes-kernel/linux/ti-extras-rt.inc | 15 +++++---------- meta-ti-bsp/recipes-kernel/linux/ti-extras.inc | 16 +++++++--------- 12 files changed, 21 insertions(+), 36 deletions(-)
meta-ti-bsp/conf/machine/am62lxx-evm.conf +0 -1
@@ -3,7 +3,6 @@ #@DESCRIPTION: Machine configuration for the TI AM62L EVM require conf/machine/include/am62lxx.inc -require conf/machine/include/ti-extras.inc IMAGE_FSTYPES += "ubifs ubi"
meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf +0 -1
@@ -3,7 +3,6 @@ #@DESCRIPTION: Machine configuration for the TI AM62Px EVM (R5F core) require conf/machine/include/k3r5.inc -require conf/machine/include/ti-extras.inc SYSFW_SOC = "am62px" SYSFW_CONFIG = "evm"
meta-ti-bsp/conf/machine/am62pxx-evm.conf +0 -1
@@ -3,7 +3,6 @@ #@DESCRIPTION: Machine configuration for the TI AM62PX EVM require conf/machine/include/am62pxx.inc -require conf/machine/include/ti-extras.inc KERNEL_DEVICETREE_PREFIX = " \ ti/k3-am62p5 \
meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf +0 -1
@@ -3,7 +3,6 @@ #@DESCRIPTION: Machine configuration for the TI AM62xx EVM (R5F core) require conf/machine/include/k3r5.inc -require conf/machine/include/ti-extras.inc SYSFW_SOC = "am62x" SYSFW_CONFIG = "evm"
meta-ti-bsp/conf/machine/am62xx-evm.conf +0 -1
@@ -3,7 +3,6 @@ #@DESCRIPTION: Machine configuration for the TI AM62XX EVM require conf/machine/include/am62xx.inc -require conf/machine/include/ti-extras.inc KERNEL_DEVICETREE_PREFIX = " \ ti/k3-am625 \
meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf +0 -1
@@ -3,7 +3,6 @@ #@DESCRIPTION: Machine configuration for the TI AM62xx LP GP EVM (R5F core) require conf/machine/include/k3r5.inc -require conf/machine/include/ti-extras.inc SYSFW_SOC = "am62x" SYSFW_CONFIG = "evm"
meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +0 -1
@@ -3,7 +3,6 @@ #@DESCRIPTION: Machine configuration for the TI AM62XX LP EVM require conf/machine/include/am62xx.inc -require conf/machine/include/ti-extras.inc KERNEL_DEVICETREE_PREFIX = " \ ti/k3-am62-lp \
meta-ti-bsp/conf/machine/include/ti-extras.inc +1 -1
@@ -1,4 +1,4 @@ # Add TI_EXTRAS to machine overrides so we get access to e.g. 'jailhouse' TI_EXTRAS ??= "" -MACHINEOVERRIDES =. "${@ '${TI_EXTRAS}:' if d.getVar('TI_EXTRAS').startswith('tie-') else ''}" +MACHINEOVERRIDES =. "${@ ':'.join('${TI_EXTRAS}'.strip().split()) + ':' if d.getVar('TI_EXTRAS') else ''}"
meta-ti-bsp/conf/machine/include/ti-soc.inc +1 -0
@@ -2,6 +2,7 @@ # and platforms defined in meta-ti to allow BSP-level overrides. SOC_FAMILY = "ti-soc" require conf/machine/include/soc-family.inc +require conf/machine/include/ti-extras.inc # kernel, initrd load addresses for the fitImage in all TI platforms UBOOT_ENTRYPOINT = "0x82000000"
meta-ti-bsp/recipes-bsp/u-boot/ti-extras.inc +7 -9
@@ -1,12 +1,10 @@ +# +# Jailhouse settings +# +COMPATIBLE_MACHINE:tie-jailhouse = "am62xx|am62pxx|am62lxx" -# This will have priority over generic uboot path +BRANCH:tie-jailhouse:bsp-ti-6_12 = "ti-u-boot-2025.01-jailhouse" -COMPATIBLE_MACHINE = "am62xx|am62pxx|am62lxx" +SRCREV:tie-jailhouse:bsp-ti-6_12 = "e718bbcec3ebf663c021839753034a224be4cc53" -BRANCH = "ti-u-boot-2025.01" -BRANCH:tie-jailhouse = "ti-u-boot-2025.01-jailhouse" - -SRCREV = "e718bbcec3ebf663c021839753034a224be4cc53" -SRCREV:tie-jailhouse = "e718bbcec3ebf663c021839753034a224be4cc53" - -UBOOT_GIT_URI = "git://git.ti.com/git/processor-sdk/u-boot.git" +UBOOT_GIT_URI:tie-jailhouse = "git://git.ti.com/git/processor-sdk/u-boot.git"
meta-ti-bsp/recipes-kernel/linux/ti-extras-rt.inc +5 -10
@@ -1,11 +1,6 @@ +# +# Jailhouse settings +# +BRANCH:tie-jailhouse:bsp-ti-6_12 = "ti-linux-6.12.y-jailhouse" -# Use different commit, repo and branch for TI extras build -# This will have priority over generic rt path - -COMPATIBLE_MACHINE = "am62xx|am62pxx|am62lxx" - -BRANCH = "ti-linux-6.12.y" -BRANCH:tie-jailhouse = "ti-linux-6.12.y-jailhouse" - -SRCREV = "c9e21a1ebd757f2b4487035382bbf65299cf8170" -SRCREV:tie-jailhouse = "229a48602ad1557612a4ffabec6a3cbcdd745f87" +SRCREV:tie-jailhouse:bsp-ti-6_12 = "229a48602ad1557612a4ffabec6a3cbcdd745f87"
meta-ti-bsp/recipes-kernel/linux/ti-extras.inc +7 -9
@@ -1,14 +1,12 @@ - -# Use different commit, repo and branch for TI extras build # This will have priority over generic rt path -COMPATIBLE_MACHINE = "am62xx|am62pxx|am62lxx" - -BRANCH = "ti-linux-6.12.y" -BRANCH:tie-jailhouse = "ti-linux-6.12.y-jailhouse" +# +# Jailhouse settings +# +COMPATIBLE_MACHINE:tie-jailhouse = "am62xx|am62pxx|am62lxx" -SRCREV = "c9e21a1ebd757f2b4487035382bbf65299cf8170" -SRCREV:tie-jailhouse = "229a48602ad1557612a4ffabec6a3cbcdd745f87" +BRANCH:tie-jailhouse:bsp-ti-6_12 = "ti-linux-6.12.y-jailhouse" -KERNEL_GIT_URI = "git://git.ti.com/git/processor-sdk/linux.git" +SRCREV:tie-jailhouse:bsp-ti-6_12 = "229a48602ad1557612a4ffabec6a3cbcdd745f87" +KERNEL_GIT_URI:tie-jailhouse = "git://git.ti.com/git/processor-sdk/linux.git"
Signature · 1 line
2.17.1
meta-ti / na / 20250922144009.4059-1-reatmon
PRC Results: PASS
=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed
=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-ti][master/scarthgap][PATCH] ti-extras: Clean up
- Submitter: From: Ryan Eatmon <[email protected]>
- Date: Date: Mon, 22 Sep 2025 09:40:09 -0500
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 2d7c0b1069f03488a7d71c05fdf0cd57cc6cf93d
Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master-next
- Commit Author: LCPD Automation Script <[email protected]>
- Commit Subject: CI/CD Auto-Merger: cicd.master.202509220100
- Commit SHA: bdab20ed4724c9fd84bdac937710b6159ddab26f
Patches
----------------------------------------
All patches applied
scarthgap
=====================
Summary:
- Patch Series: [meta-ti][master/scarthgap][PATCH] ti-extras: Clean up
- Submitter: From: Ryan Eatmon <[email protected]>
- Date: Date: Mon, 22 Sep 2025 09:40:09 -0500
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 2d7c0b1069f03488a7d71c05fdf0cd57cc6cf93d
Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: scarthgap-next
- Commit Author: LCPD Automation Script <[email protected]>
- Commit Subject: CI/CD Auto-Merger: cicd.scarthgap.202509220638
- Commit SHA: d8877fc481e9c7335cb63d62257fb0164b1af851
Patches
----------------------------------------
All patches applied
=========================================================
check-yocto-repo: PASS
=========================================================
master
=====================
PASS
scarthgap
=====================
PASS