summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/conf/machine
diff options
context:
space:
mode:
authorRyan Eatmon <reatmon@ti.com>2025-09-22 09:14:07 -0500
committerRyan Eatmon <reatmon@ti.com>2025-09-26 07:33:22 -0500
commit64d49bbb363199c46a338f11b68c47a72da93e38 (patch)
treed2d1f631c1b3ba4489bd7664dddd564f54cb6a55 /meta-ti-bsp/conf/machine
parent0027b3c13fe9fdad226825536db81647a8493ce1 (diff)
downloadmeta-ti-64d49bbb363199c46a338f11b68c47a72da93e38.tar.gz
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. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/conf/machine')
-rw-r--r--meta-ti-bsp/conf/machine/am62lxx-evm.conf1
-rw-r--r--meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf1
-rw-r--r--meta-ti-bsp/conf/machine/am62pxx-evm.conf1
-rw-r--r--meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf1
-rw-r--r--meta-ti-bsp/conf/machine/am62xx-evm.conf1
-rw-r--r--meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf1
-rw-r--r--meta-ti-bsp/conf/machine/am62xx-lp-evm.conf1
-rw-r--r--meta-ti-bsp/conf/machine/include/ti-extras.inc2
-rw-r--r--meta-ti-bsp/conf/machine/include/ti-soc.inc1
9 files changed, 2 insertions, 8 deletions
diff --git a/meta-ti-bsp/conf/machine/am62lxx-evm.conf b/meta-ti-bsp/conf/machine/am62lxx-evm.conf
index 607092a7..a0bccf57 100644
--- a/meta-ti-bsp/conf/machine/am62lxx-evm.conf
+++ b/meta-ti-bsp/conf/machine/am62lxx-evm.conf
@@ -3,7 +3,6 @@
3#@DESCRIPTION: Machine configuration for the TI AM62L EVM 3#@DESCRIPTION: Machine configuration for the TI AM62L EVM
4 4
5require conf/machine/include/am62lxx.inc 5require conf/machine/include/am62lxx.inc
6require conf/machine/include/ti-extras.inc
7 6
8IMAGE_FSTYPES += "ubifs ubi" 7IMAGE_FSTYPES += "ubifs ubi"
9 8
diff --git a/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf
index 28378209..a4b1005b 100644
--- a/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf
+++ b/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf
@@ -3,7 +3,6 @@
3#@DESCRIPTION: Machine configuration for the TI AM62Px EVM (R5F core) 3#@DESCRIPTION: Machine configuration for the TI AM62Px EVM (R5F core)
4 4
5require conf/machine/include/k3r5.inc 5require conf/machine/include/k3r5.inc
6require conf/machine/include/ti-extras.inc
7 6
8SYSFW_SOC = "am62px" 7SYSFW_SOC = "am62px"
9SYSFW_CONFIG = "evm" 8SYSFW_CONFIG = "evm"
diff --git a/meta-ti-bsp/conf/machine/am62pxx-evm.conf b/meta-ti-bsp/conf/machine/am62pxx-evm.conf
index 3f9249e6..08bc2cf4 100644
--- a/meta-ti-bsp/conf/machine/am62pxx-evm.conf
+++ b/meta-ti-bsp/conf/machine/am62pxx-evm.conf
@@ -3,7 +3,6 @@
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
6require conf/machine/include/ti-extras.inc
7 6
8KERNEL_DEVICETREE_PREFIX = " \ 7KERNEL_DEVICETREE_PREFIX = " \
9 ti/k3-am62p5 \ 8 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 5c5b133f..cd95a45e 100644
--- a/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf
+++ b/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf
@@ -3,7 +3,6 @@
3#@DESCRIPTION: Machine configuration for the TI AM62xx EVM (R5F core) 3#@DESCRIPTION: Machine configuration for the TI AM62xx EVM (R5F core)
4 4
5require conf/machine/include/k3r5.inc 5require conf/machine/include/k3r5.inc
6require conf/machine/include/ti-extras.inc
7 6
8SYSFW_SOC = "am62x" 7SYSFW_SOC = "am62x"
9SYSFW_CONFIG = "evm" 8SYSFW_CONFIG = "evm"
diff --git a/meta-ti-bsp/conf/machine/am62xx-evm.conf b/meta-ti-bsp/conf/machine/am62xx-evm.conf
index 298fc170..dd91ae66 100644
--- a/meta-ti-bsp/conf/machine/am62xx-evm.conf
+++ b/meta-ti-bsp/conf/machine/am62xx-evm.conf
@@ -3,7 +3,6 @@
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-extras.inc
7 6
8KERNEL_DEVICETREE_PREFIX = " \ 7KERNEL_DEVICETREE_PREFIX = " \
9 ti/k3-am625 \ 8 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 7203ebf7..29638d1d 100644
--- a/meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf
+++ b/meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf
@@ -3,7 +3,6 @@
3#@DESCRIPTION: Machine configuration for the TI AM62xx LP GP EVM (R5F core) 3#@DESCRIPTION: Machine configuration for the TI AM62xx LP GP EVM (R5F core)
4 4
5require conf/machine/include/k3r5.inc 5require conf/machine/include/k3r5.inc
6require conf/machine/include/ti-extras.inc
7 6
8SYSFW_SOC = "am62x" 7SYSFW_SOC = "am62x"
9SYSFW_CONFIG = "evm" 8SYSFW_CONFIG = "evm"
diff --git a/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf b/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf
index 32e88051..bbc9dfd6 100644
--- a/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf
+++ b/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf
@@ -3,7 +3,6 @@
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
6require conf/machine/include/ti-extras.inc
7 6
8KERNEL_DEVICETREE_PREFIX = " \ 7KERNEL_DEVICETREE_PREFIX = " \
9 ti/k3-am62-lp \ 8 ti/k3-am62-lp \
diff --git a/meta-ti-bsp/conf/machine/include/ti-extras.inc b/meta-ti-bsp/conf/machine/include/ti-extras.inc
index 4e62605c..1ef2fd3b 100644
--- a/meta-ti-bsp/conf/machine/include/ti-extras.inc
+++ b/meta-ti-bsp/conf/machine/include/ti-extras.inc
@@ -1,4 +1,4 @@
1# Add TI_EXTRAS to machine overrides so we get access to e.g. 'jailhouse' 1# Add TI_EXTRAS to machine overrides so we get access to e.g. 'jailhouse'
2 2
3TI_EXTRAS ??= "" 3TI_EXTRAS ??= ""
4MACHINEOVERRIDES =. "${@ '${TI_EXTRAS}:' if d.getVar('TI_EXTRAS').startswith('tie-') else ''}" 4MACHINEOVERRIDES =. "${@ ':'.join('${TI_EXTRAS}'.strip().split()) + ':' if d.getVar('TI_EXTRAS') else ''}"
diff --git a/meta-ti-bsp/conf/machine/include/ti-soc.inc b/meta-ti-bsp/conf/machine/include/ti-soc.inc
index 018e9bfb..438dd6ab 100644
--- a/meta-ti-bsp/conf/machine/include/ti-soc.inc
+++ b/meta-ti-bsp/conf/machine/include/ti-soc.inc
@@ -2,6 +2,7 @@
2# and platforms defined in meta-ti to allow BSP-level overrides. 2# and platforms defined in meta-ti to allow BSP-level overrides.
3SOC_FAMILY = "ti-soc" 3SOC_FAMILY = "ti-soc"
4require conf/machine/include/soc-family.inc 4require conf/machine/include/soc-family.inc
5require conf/machine/include/ti-extras.inc
5 6
6# kernel, initrd load addresses for the fitImage in all TI platforms 7# kernel, initrd load addresses for the fitImage in all TI platforms
7UBOOT_ENTRYPOINT = "0x82000000" 8UBOOT_ENTRYPOINT = "0x82000000"