diff options
author | Chirag Shilwant <c-shilwant@ti.com> | 2024-09-06 19:28:26 +0530 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2024-09-12 15:06:06 -0500 |
commit | acaca70deafaee39c8b23247a590873cb6f5afb9 (patch) | |
tree | ae37cec7b08b082b011d789a39aa35696d9be868 | |
parent | 07edb3156e9a4b0cf54951eb58357934b3977046 (diff) | |
download | meta-ti-acaca70deafaee39c8b23247a590873cb6f5afb9.tar.gz |
conf: machine: Remove multiconfig compulsion for k3 platforms
- While implementing k3.inc, there was an assumption that all
k3 based TI SOC's would always have a Cortex-R5F core [1]. This
assumption is not true.
- Hence, create a new mc_k3r5 include file & move the multiconfig
dependencies to it. Also, include this file only in those k3 platforms
which needs the R5 multiconfig support.
[1]: https://git.ti.com/cgit/arago-project/meta-ti/commit/conf/machine/include/k3.inc?h=scarthgap&id=f814840465358a6b5429ad20165742ac6e6e6a29
Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r-- | meta-ti-bsp/conf/machine/beagleplay.conf | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am62axx.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am62pxx.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am62xx.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am64xx.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am65xx.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am68.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am69.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/j7200.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/j721e.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/j721s2.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/j722s.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/j742s2.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/j784s4.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/k3.inc | 3 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/mc_k3r5.inc | 3 |
16 files changed, 31 insertions, 3 deletions
diff --git a/meta-ti-bsp/conf/machine/beagleplay.conf b/meta-ti-bsp/conf/machine/beagleplay.conf index d420c6c7..c5ce3902 100644 --- a/meta-ti-bsp/conf/machine/beagleplay.conf +++ b/meta-ti-bsp/conf/machine/beagleplay.conf | |||
@@ -3,6 +3,8 @@ | |||
3 | #@DESCRIPTION: Machine configuration for the BeaglePlay board (A53 core) | 3 | #@DESCRIPTION: Machine configuration for the BeaglePlay board (A53 core) |
4 | 4 | ||
5 | require conf/machine/include/k3.inc | 5 | require conf/machine/include/k3.inc |
6 | require conf/machine/include/mc_k3r5.inc | ||
7 | |||
6 | SOC_FAMILY:append = ":am62xx" | 8 | SOC_FAMILY:append = ":am62xx" |
7 | 9 | ||
8 | MACHINE_FEATURES += "screen gpu" | 10 | MACHINE_FEATURES += "screen gpu" |
diff --git a/meta-ti-bsp/conf/machine/include/am62axx.inc b/meta-ti-bsp/conf/machine/include/am62axx.inc index 93a41d8d..98cea203 100644 --- a/meta-ti-bsp/conf/machine/include/am62axx.inc +++ b/meta-ti-bsp/conf/machine/include/am62axx.inc | |||
@@ -1,4 +1,6 @@ | |||
1 | require conf/machine/include/k3.inc | 1 | require conf/machine/include/k3.inc |
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
2 | SOC_FAMILY:append = ":am62axx" | 4 | SOC_FAMILY:append = ":am62axx" |
3 | 5 | ||
4 | MACHINE_FEATURES += "screen touchscreen" | 6 | MACHINE_FEATURES += "screen touchscreen" |
diff --git a/meta-ti-bsp/conf/machine/include/am62pxx.inc b/meta-ti-bsp/conf/machine/include/am62pxx.inc index a2825905..2c6a729a 100644 --- a/meta-ti-bsp/conf/machine/include/am62pxx.inc +++ b/meta-ti-bsp/conf/machine/include/am62pxx.inc | |||
@@ -1,4 +1,6 @@ | |||
1 | require conf/machine/include/k3.inc | 1 | require conf/machine/include/k3.inc |
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
2 | SOC_FAMILY:append = ":am62pxx" | 4 | SOC_FAMILY:append = ":am62pxx" |
3 | 5 | ||
4 | MACHINE_FEATURES += "screen gpu" | 6 | MACHINE_FEATURES += "screen gpu" |
diff --git a/meta-ti-bsp/conf/machine/include/am62xx.inc b/meta-ti-bsp/conf/machine/include/am62xx.inc index 070a691b..1eb77b4e 100644 --- a/meta-ti-bsp/conf/machine/include/am62xx.inc +++ b/meta-ti-bsp/conf/machine/include/am62xx.inc | |||
@@ -1,4 +1,6 @@ | |||
1 | require conf/machine/include/k3.inc | 1 | require conf/machine/include/k3.inc |
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
2 | SOC_FAMILY:append = ":am62xx" | 4 | SOC_FAMILY:append = ":am62xx" |
3 | 5 | ||
4 | MACHINE_FEATURES += "screen gpu" | 6 | MACHINE_FEATURES += "screen gpu" |
diff --git a/meta-ti-bsp/conf/machine/include/am64xx.inc b/meta-ti-bsp/conf/machine/include/am64xx.inc index 56b6df78..7f388953 100644 --- a/meta-ti-bsp/conf/machine/include/am64xx.inc +++ b/meta-ti-bsp/conf/machine/include/am64xx.inc | |||
@@ -1,4 +1,6 @@ | |||
1 | require conf/machine/include/k3.inc | 1 | require conf/machine/include/k3.inc |
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
2 | SOC_FAMILY:append = ":am64xx" | 4 | SOC_FAMILY:append = ":am64xx" |
3 | 5 | ||
4 | KERNEL_DEVICETREE_PREFIX = "ti/k3-am642" | 6 | KERNEL_DEVICETREE_PREFIX = "ti/k3-am642" |
diff --git a/meta-ti-bsp/conf/machine/include/am65xx.inc b/meta-ti-bsp/conf/machine/include/am65xx.inc index 46513141..803e369c 100644 --- a/meta-ti-bsp/conf/machine/include/am65xx.inc +++ b/meta-ti-bsp/conf/machine/include/am65xx.inc | |||
@@ -1,4 +1,6 @@ | |||
1 | require conf/machine/include/k3.inc | 1 | require conf/machine/include/k3.inc |
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
2 | SOC_FAMILY:append = ":am65xx" | 4 | SOC_FAMILY:append = ":am65xx" |
3 | 5 | ||
4 | MACHINE_FEATURES += "screen touchscreen gpu" | 6 | MACHINE_FEATURES += "screen touchscreen gpu" |
diff --git a/meta-ti-bsp/conf/machine/include/am68.inc b/meta-ti-bsp/conf/machine/include/am68.inc index 327366be..330a2973 100644 --- a/meta-ti-bsp/conf/machine/include/am68.inc +++ b/meta-ti-bsp/conf/machine/include/am68.inc | |||
@@ -1,4 +1,6 @@ | |||
1 | require conf/machine/include/k3.inc | 1 | require conf/machine/include/k3.inc |
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
2 | SOC_FAMILY:append = ":j721s2" | 4 | SOC_FAMILY:append = ":j721s2" |
3 | 5 | ||
4 | MACHINE_FEATURES += "screen gpu" | 6 | MACHINE_FEATURES += "screen gpu" |
diff --git a/meta-ti-bsp/conf/machine/include/am69.inc b/meta-ti-bsp/conf/machine/include/am69.inc index 488f9c33..da8a5a8b 100644 --- a/meta-ti-bsp/conf/machine/include/am69.inc +++ b/meta-ti-bsp/conf/machine/include/am69.inc | |||
@@ -1,4 +1,6 @@ | |||
1 | require conf/machine/include/k3.inc | 1 | require conf/machine/include/k3.inc |
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
2 | SOC_FAMILY:append = ":j784s4" | 4 | SOC_FAMILY:append = ":j784s4" |
3 | 5 | ||
4 | MACHINE_FEATURES += "screen gpu" | 6 | MACHINE_FEATURES += "screen gpu" |
diff --git a/meta-ti-bsp/conf/machine/include/j7200.inc b/meta-ti-bsp/conf/machine/include/j7200.inc index 2a11e3dd..b60b98e1 100644 --- a/meta-ti-bsp/conf/machine/include/j7200.inc +++ b/meta-ti-bsp/conf/machine/include/j7200.inc | |||
@@ -1,4 +1,6 @@ | |||
1 | require conf/machine/include/k3.inc | 1 | require conf/machine/include/k3.inc |
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
2 | SOC_FAMILY:append = ":j7200" | 4 | SOC_FAMILY:append = ":j7200" |
3 | 5 | ||
4 | # Default tiboot3.bin on J7200 is for GP | 6 | # Default tiboot3.bin on J7200 is for GP |
diff --git a/meta-ti-bsp/conf/machine/include/j721e.inc b/meta-ti-bsp/conf/machine/include/j721e.inc index 62487aa9..1507234b 100644 --- a/meta-ti-bsp/conf/machine/include/j721e.inc +++ b/meta-ti-bsp/conf/machine/include/j721e.inc | |||
@@ -1,4 +1,6 @@ | |||
1 | require conf/machine/include/k3.inc | 1 | require conf/machine/include/k3.inc |
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
2 | SOC_FAMILY:append = ":j721e" | 4 | SOC_FAMILY:append = ":j721e" |
3 | 5 | ||
4 | MACHINE_FEATURES += "screen gpu" | 6 | MACHINE_FEATURES += "screen gpu" |
diff --git a/meta-ti-bsp/conf/machine/include/j721s2.inc b/meta-ti-bsp/conf/machine/include/j721s2.inc index 9cd88d9b..e6e4f162 100644 --- a/meta-ti-bsp/conf/machine/include/j721s2.inc +++ b/meta-ti-bsp/conf/machine/include/j721s2.inc | |||
@@ -1,4 +1,6 @@ | |||
1 | require conf/machine/include/k3.inc | 1 | require conf/machine/include/k3.inc |
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
2 | SOC_FAMILY:append = ":j721s2" | 4 | SOC_FAMILY:append = ":j721s2" |
3 | 5 | ||
4 | MACHINE_FEATURES += "screen gpu" | 6 | MACHINE_FEATURES += "screen gpu" |
diff --git a/meta-ti-bsp/conf/machine/include/j722s.inc b/meta-ti-bsp/conf/machine/include/j722s.inc index ef35d83a..e0b77d96 100644 --- a/meta-ti-bsp/conf/machine/include/j722s.inc +++ b/meta-ti-bsp/conf/machine/include/j722s.inc | |||
@@ -1,4 +1,6 @@ | |||
1 | require conf/machine/include/k3.inc | 1 | require conf/machine/include/k3.inc |
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
2 | SOC_FAMILY:append = ":j722s" | 4 | SOC_FAMILY:append = ":j722s" |
3 | 5 | ||
4 | MACHINE_FEATURES += "screen gpu" | 6 | MACHINE_FEATURES += "screen gpu" |
diff --git a/meta-ti-bsp/conf/machine/include/j742s2.inc b/meta-ti-bsp/conf/machine/include/j742s2.inc index aad7a768..9a54e11e 100644 --- a/meta-ti-bsp/conf/machine/include/j742s2.inc +++ b/meta-ti-bsp/conf/machine/include/j742s2.inc | |||
@@ -1,4 +1,6 @@ | |||
1 | require conf/machine/include/k3.inc | 1 | require conf/machine/include/k3.inc |
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
2 | SOC_FAMILY:append = ":j742s2" | 4 | SOC_FAMILY:append = ":j742s2" |
3 | 5 | ||
4 | MACHINE_FEATURES += "screen gpu" | 6 | MACHINE_FEATURES += "screen gpu" |
diff --git a/meta-ti-bsp/conf/machine/include/j784s4.inc b/meta-ti-bsp/conf/machine/include/j784s4.inc index 883c4a6e..fd3990a6 100644 --- a/meta-ti-bsp/conf/machine/include/j784s4.inc +++ b/meta-ti-bsp/conf/machine/include/j784s4.inc | |||
@@ -1,4 +1,6 @@ | |||
1 | require conf/machine/include/k3.inc | 1 | require conf/machine/include/k3.inc |
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
2 | SOC_FAMILY:append = ":j784s4" | 4 | SOC_FAMILY:append = ":j784s4" |
3 | 5 | ||
4 | MACHINE_FEATURES += "screen gpu" | 6 | MACHINE_FEATURES += "screen gpu" |
diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/machine/include/k3.inc index 34991ec9..a296f64f 100644 --- a/meta-ti-bsp/conf/machine/include/k3.inc +++ b/meta-ti-bsp/conf/machine/include/k3.inc | |||
@@ -5,8 +5,6 @@ SOC_FAMILY:append = ":k3" | |||
5 | 5 | ||
6 | require conf/machine/include/arm/arch-arm64.inc | 6 | require conf/machine/include/arm/arch-arm64.inc |
7 | 7 | ||
8 | BBMULTICONFIG += "k3r5" | ||
9 | |||
10 | require conf/machine/include/ti-bsp.inc | 8 | require conf/machine/include/ti-bsp.inc |
11 | 9 | ||
12 | KERNEL_IMAGETYPE = "Image" | 10 | KERNEL_IMAGETYPE = "Image" |
@@ -57,6 +55,5 @@ MACHINE_FEATURES += "efi" | |||
57 | WKS_FILE ?= "${@bb.utils.contains("MACHINE_FEATURES", "efi", "sdimage-2part-efi.wks.in", "sdimage-2part.wks", d)}" | 55 | WKS_FILE ?= "${@bb.utils.contains("MACHINE_FEATURES", "efi", "sdimage-2part-efi.wks.in", "sdimage-2part.wks", d)}" |
58 | 56 | ||
59 | do_image_wic[depends] += "virtual/bootloader:do_deploy" | 57 | do_image_wic[depends] += "virtual/bootloader:do_deploy" |
60 | do_image[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy" | ||
61 | 58 | ||
62 | SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2" | 59 | SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2" |
diff --git a/meta-ti-bsp/conf/machine/include/mc_k3r5.inc b/meta-ti-bsp/conf/machine/include/mc_k3r5.inc new file mode 100644 index 00000000..d5a530b8 --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/mc_k3r5.inc | |||
@@ -0,0 +1,3 @@ | |||
1 | BBMULTICONFIG += "k3r5" | ||
2 | |||
3 | do_image[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy" | ||