summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Eatmon <reatmon@ti.com>2024-08-05 08:53:50 -0500
committerRyan Eatmon <reatmon@ti.com>2024-08-22 11:14:32 -0500
commita1eb263dd30789cb2044360cd509d68ab63e2f47 (patch)
tree7ce356f5199fd19b32ae6971b08b30737e6feb9a
parent7784943fda99d12633ce6d9268be027ff98ebd5b (diff)
downloadmeta-ti-a1eb263dd30789cb2044360cd509d68ab63e2f47.tar.gz
conf: machine: am62xx-unified: Create new common am62xx machine
To reduce the number of required builds for testing purposes, create a common unified am62xx machine target that can produce all of the files for all of the variant platforms related to am62xx (sip and lp). Additionally, continue to support building the specific target if desired. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r--meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf9
-rw-r--r--meta-ti-bsp/conf/machine/am62xx-evm.conf5
-rw-r--r--meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf9
-rw-r--r--meta-ti-bsp/conf/machine/am62xx-lp-evm.conf5
-rw-r--r--meta-ti-bsp/conf/machine/am62xx-unified-k3r5.conf20
-rw-r--r--meta-ti-bsp/conf/machine/am62xx-unified.conf43
-rw-r--r--meta-ti-bsp/conf/machine/am62xxsip-evm-k3r5.conf8
-rw-r--r--meta-ti-bsp/conf/machine/am62xxsip-evm.conf6
8 files changed, 76 insertions, 29 deletions
diff --git a/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf
index 548369ca..3a819835 100644
--- a/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf
+++ b/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf
@@ -2,11 +2,6 @@
2#@NAME: AM62XX EVM (R5F) 2#@NAME: AM62XX EVM (R5F)
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/am62xx-unified-k3r5.conf
6require conf/machine/include/ti-extras.inc
7 6
8SYSFW_SOC = "am62x" 7UBOOT_CONFIG = "evm"
9SYSFW_CONFIG = "evm"
10SYSFW_SUFFIX = "hs-fs"
11
12UBOOT_MACHINE = "am62x_evm_r5_defconfig"
diff --git a/meta-ti-bsp/conf/machine/am62xx-evm.conf b/meta-ti-bsp/conf/machine/am62xx-evm.conf
index 31de4a14..8c80cb1f 100644
--- a/meta-ti-bsp/conf/machine/am62xx-evm.conf
+++ b/meta-ti-bsp/conf/machine/am62xx-evm.conf
@@ -2,8 +2,7 @@
2#@NAME: AM62XX EVM 2#@NAME: AM62XX EVM
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/am62xx-unified.conf
6require conf/machine/include/ti-extras.inc
7 6
8KERNEL_DEVICETREE_PREFIX = " \ 7KERNEL_DEVICETREE_PREFIX = " \
9 ti/k3-am625 \ 8 ti/k3-am625 \
@@ -30,4 +29,4 @@ KERNEL_DEVICETREE = " \
30 ti/k3-am62x-sk-hdmi-audio.dtbo \ 29 ti/k3-am62x-sk-hdmi-audio.dtbo \
31" 30"
32 31
33UBOOT_MACHINE = "am62x_evm_a53_defconfig" 32UBOOT_CONFIG = "evm"
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 52b69a72..fb760e99 100644
--- a/meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf
+++ b/meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf
@@ -2,11 +2,6 @@
2#@NAME: AM62XX LP GP EVM (R5F) 2#@NAME: AM62XX LP GP EVM (R5F)
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/am62xx-unified-k3r5.conf
6require conf/machine/include/ti-extras.inc
7 6
8SYSFW_SOC = "am62x" 7UBOOT_CONFIG = "lpsk"
9SYSFW_CONFIG = "evm"
10SYSFW_SUFFIX = "hs-fs"
11
12UBOOT_MACHINE = "am62x_lpsk_r5_defconfig"
diff --git a/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf b/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf
index e9271f5b..f7d89d68 100644
--- a/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf
+++ b/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf
@@ -2,8 +2,7 @@
2#@NAME: AM62XX LP EVM 2#@NAME: AM62XX LP EVM
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/am62xx-unified.conf
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 \
@@ -19,4 +18,4 @@ KERNEL_DEVICETREE = " \
19 ti/k3-am62x-sk-hdmi-audio.dtbo \ 18 ti/k3-am62x-sk-hdmi-audio.dtbo \
20" 19"
21 20
22UBOOT_MACHINE = "am62x_lpsk_a53_defconfig" 21UBOOT_CONFIG = "lpsk"
diff --git a/meta-ti-bsp/conf/machine/am62xx-unified-k3r5.conf b/meta-ti-bsp/conf/machine/am62xx-unified-k3r5.conf
new file mode 100644
index 00000000..7d65e6af
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/am62xx-unified-k3r5.conf
@@ -0,0 +1,20 @@
1#@TYPE: Machine
2#@NAME: AM62XX EVM (R5F)
3#@DESCRIPTION: Machine configuration for the TI AM62xx EVM (R5F core)
4
5require conf/machine/include/k3r5.inc
6require conf/machine/include/ti-extras.inc
7
8SYSFW_SOC = "am62x"
9SYSFW_CONFIG = "evm"
10SYSFW_SUFFIX = "hs-fs"
11
12UBOOT_MACHINE = ""
13# Last config in the list is default
14UBOOT_CONFIG ??= "sip lpsk evm"
15
16UBOOT_CONFIG:bsp-ti-6_1 ??= "evm"
17
18UBOOT_CONFIG[sip] = "am62xsip_evm_r5_defconfig"
19UBOOT_CONFIG[lpsk] = "am62x_lpsk_r5_defconfig"
20UBOOT_CONFIG[evm] = "am62x_evm_r5_defconfig"
diff --git a/meta-ti-bsp/conf/machine/am62xx-unified.conf b/meta-ti-bsp/conf/machine/am62xx-unified.conf
new file mode 100644
index 00000000..5b03239f
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/am62xx-unified.conf
@@ -0,0 +1,43 @@
1#@TYPE: Machine
2#@NAME: AM62XX Unified EVM
3#@DESCRIPTION: Machine configuration for the TI AM62XX EVM and all of its variations
4
5require conf/machine/include/am62xx.inc
6require conf/machine/include/ti-extras.inc
7
8KERNEL_DEVICETREE_PREFIX = " \
9 ti/k3-am62-lp \
10 ti/k3-am625 \
11 ti/k3-am62x-sk \
12"
13
14KERNEL_DEVICETREE = " \
15 ti/k3-am62-lp-sk.dtb \
16 ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
17 ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
18 ti/k3-am625-beagleplay.dtb \
19 ti/k3-am625-phyboard-lyra-rdk.dtb \
20 ti/k3-am625-sk.dtb \
21 ti/k3-am625-verdin-nonwifi-dahlia.dtb \
22 ti/k3-am625-verdin-nonwifi-dev.dtb \
23 ti/k3-am625-verdin-nonwifi-mallow.dtb \
24 ti/k3-am625-verdin-nonwifi-yavia.dtb \
25 ti/k3-am625-verdin-wifi-dahlia.dtb \
26 ti/k3-am625-verdin-wifi-dev.dtb \
27 ti/k3-am625-verdin-wifi-mallow.dtb \
28 ti/k3-am625-verdin-wifi-yavia.dtb \
29 ti/k3-am62x-sk-csi2-imx219.dtbo \
30 ti/k3-am62x-sk-csi2-ov5640.dtbo \
31 ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
32 ti/k3-am62x-sk-hdmi-audio.dtbo \
33"
34
35UBOOT_MACHINE = ""
36# Last config in the list is default
37UBOOT_CONFIG ??= "sip lpsk evm"
38
39UBOOT_CONFIG:bsp-ti-6_1 ??= "lpsk evm"
40
41UBOOT_CONFIG[sip] = "am62xsip_evm_a53_defconfig"
42UBOOT_CONFIG[lpsk] = "am62x_lpsk_a53_defconfig"
43UBOOT_CONFIG[evm] = "am62x_evm_a53_defconfig"
diff --git a/meta-ti-bsp/conf/machine/am62xxsip-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62xxsip-evm-k3r5.conf
index 55bc530b..ab538ff3 100644
--- a/meta-ti-bsp/conf/machine/am62xxsip-evm-k3r5.conf
+++ b/meta-ti-bsp/conf/machine/am62xxsip-evm-k3r5.conf
@@ -2,13 +2,11 @@
2#@NAME: AM62XX SIP EVM (R5F) 2#@NAME: AM62XX SIP EVM (R5F)
3#@DESCRIPTION: Machine configuration for the TI AM62xx SIP EVM (R5F core) 3#@DESCRIPTION: Machine configuration for the TI AM62xx SIP EVM (R5F core)
4 4
5require conf/machine/include/k3r5.inc 5require conf/machine/am62xx-unified-k3r5.conf
6 6
7SYSFW_SOC = "am62x" 7UBOOT_CONFIG = "sip"
8SYSFW_CONFIG = "evm"
9SYSFW_SUFFIX = "hs-fs"
10 8
11UBOOT_MACHINE = "am62xsip_evm_r5_defconfig" 9UBOOT_CONFIG:bsp-ti-6_1 = ""
12 10
13UBOOT_MACHINE:bsp-ti-6_1 = "am62x_evm_r5_defconfig" 11UBOOT_MACHINE:bsp-ti-6_1 = "am62x_evm_r5_defconfig"
14 12
diff --git a/meta-ti-bsp/conf/machine/am62xxsip-evm.conf b/meta-ti-bsp/conf/machine/am62xxsip-evm.conf
index 8104329e..6b179b80 100644
--- a/meta-ti-bsp/conf/machine/am62xxsip-evm.conf
+++ b/meta-ti-bsp/conf/machine/am62xxsip-evm.conf
@@ -2,7 +2,7 @@
2#@NAME: AM62XX SIP EVM 2#@NAME: AM62XX SIP EVM
3#@DESCRIPTION: Machine configuration for the TI AM62XX SIP EVM 3#@DESCRIPTION: Machine configuration for the TI AM62XX SIP EVM
4 4
5require conf/machine/include/am62xx.inc 5require conf/machine/am62xx-unified.conf
6 6
7KERNEL_DEVICETREE_PREFIX = " \ 7KERNEL_DEVICETREE_PREFIX = " \
8 ti/k3-am625 \ 8 ti/k3-am625 \
@@ -13,6 +13,4 @@ KERNEL_DEVICETREE = " \
13 ti/k3-am625-sk.dtb \ 13 ti/k3-am625-sk.dtb \
14" 14"
15 15
16UBOOT_MACHINE = "am62xsip_evm_a53_defconfig" 16UBOOT_CONFIG = "sip"
17
18UBOOT_MACHINE:bsp-ti-6_1 = "am62x_evm_a53_defconfig"