diff options
author | Andrew Davis <afd@ti.com> | 2023-04-05 13:50:27 -0500 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2023-04-18 09:18:15 -0500 |
commit | bc894bf52eaa4359eaa64a64e950accd099a81cb (patch) | |
tree | 88ee47f642e74d092f280c0d355afd0e69349e8c | |
parent | 6a00c74301f9056c0c5462b16955bb5af76c2745 (diff) | |
download | meta-ti-bc894bf52eaa4359eaa64a64e950accd099a81cb.tar.gz |
conf: machine: Set common default SERIAL_CONSOLES for all K3
The traditional order of serial consoles for K3 has ttyS2 being the
primary UART attached console. ttyS0 is also a common choice for
distros and the TI kernel may switch at some point. To prepare
we check both UARTs on all K3 devices. Move this common check
to a K3 common location.
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r-- | meta-ti-bsp/conf/machine/beaglebone-ai64.conf | 3 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am62axx.inc | 3 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am62xx-lp.inc | 3 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am62xx.inc | 3 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am64xx.inc | 3 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am65xx.inc | 3 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/k3.inc | 3 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/j7200-evm.conf | 3 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/j721e-evm.conf | 3 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/j721s2-evm.conf | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/j721s2-hs-evm.conf | 3 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/j784s4-evm.conf | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/j784s4-hs-evm.conf | 2 |
13 files changed, 3 insertions, 33 deletions
diff --git a/meta-ti-bsp/conf/machine/beaglebone-ai64.conf b/meta-ti-bsp/conf/machine/beaglebone-ai64.conf index 94439911..304cbb62 100644 --- a/meta-ti-bsp/conf/machine/beaglebone-ai64.conf +++ b/meta-ti-bsp/conf/machine/beaglebone-ai64.conf | |||
@@ -4,9 +4,6 @@ | |||
4 | 4 | ||
5 | require conf/machine/include/j721e.inc | 5 | require conf/machine/include/j721e.inc |
6 | 6 | ||
7 | SERIAL_CONSOLES = "115200;ttyS2" | ||
8 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
9 | |||
10 | UBOOT_MACHINE = "j721e_evm_a72_config" | 7 | UBOOT_MACHINE = "j721e_evm_a72_config" |
11 | 8 | ||
12 | PREFERRED_PROVIDER_virtual/kernel = "linux-bb.org" | 9 | PREFERRED_PROVIDER_virtual/kernel = "linux-bb.org" |
diff --git a/meta-ti-bsp/conf/machine/include/am62axx.inc b/meta-ti-bsp/conf/machine/include/am62axx.inc index 434b2a0f..eacfa584 100644 --- a/meta-ti-bsp/conf/machine/include/am62axx.inc +++ b/meta-ti-bsp/conf/machine/include/am62axx.inc | |||
@@ -3,9 +3,6 @@ SOC_FAMILY:append = ":am62axx" | |||
3 | 3 | ||
4 | MACHINE_FEATURES += "screen touchscreen" | 4 | MACHINE_FEATURES += "screen touchscreen" |
5 | 5 | ||
6 | SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2" | ||
7 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
8 | |||
9 | TFA_K3_SYSTEM_SUSPEND = "1" | 6 | TFA_K3_SYSTEM_SUSPEND = "1" |
10 | 7 | ||
11 | # Default tiboot3.bin on AM62A is for HS-FS | 8 | # Default tiboot3.bin on AM62A is for HS-FS |
diff --git a/meta-ti-bsp/conf/machine/include/am62xx-lp.inc b/meta-ti-bsp/conf/machine/include/am62xx-lp.inc index ad5cf997..bcc6f493 100644 --- a/meta-ti-bsp/conf/machine/include/am62xx-lp.inc +++ b/meta-ti-bsp/conf/machine/include/am62xx-lp.inc | |||
@@ -3,9 +3,6 @@ SOC_FAMILY:append = ":am62xx" | |||
3 | 3 | ||
4 | MACHINE_FEATURES += "screen touchscreen" | 4 | MACHINE_FEATURES += "screen touchscreen" |
5 | 5 | ||
6 | SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2" | ||
7 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
8 | |||
9 | TFA_K3_SYSTEM_SUSPEND = "1" | 6 | TFA_K3_SYSTEM_SUSPEND = "1" |
10 | 7 | ||
11 | # Default tiboot3.bin on AM62x LP is for HS-FS | 8 | # Default tiboot3.bin on AM62x LP is for HS-FS |
diff --git a/meta-ti-bsp/conf/machine/include/am62xx.inc b/meta-ti-bsp/conf/machine/include/am62xx.inc index de180127..623d90eb 100644 --- a/meta-ti-bsp/conf/machine/include/am62xx.inc +++ b/meta-ti-bsp/conf/machine/include/am62xx.inc | |||
@@ -3,9 +3,6 @@ SOC_FAMILY:append = ":am62xx" | |||
3 | 3 | ||
4 | MACHINE_FEATURES += "screen gpu" | 4 | MACHINE_FEATURES += "screen gpu" |
5 | 5 | ||
6 | SERIAL_CONSOLES = "115200;ttyS2" | ||
7 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
8 | |||
9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver" | 6 | PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver" |
10 | 7 | ||
11 | # Default tiboot3.bin on AM62x is for HS-FS | 8 | # Default tiboot3.bin on AM62x is for HS-FS |
diff --git a/meta-ti-bsp/conf/machine/include/am64xx.inc b/meta-ti-bsp/conf/machine/include/am64xx.inc index bff0de1f..f5f4ffe7 100644 --- a/meta-ti-bsp/conf/machine/include/am64xx.inc +++ b/meta-ti-bsp/conf/machine/include/am64xx.inc | |||
@@ -1,9 +1,6 @@ | |||
1 | require conf/machine/include/k3.inc | 1 | require conf/machine/include/k3.inc |
2 | SOC_FAMILY:append = ":am64xx" | 2 | SOC_FAMILY:append = ":am64xx" |
3 | 3 | ||
4 | SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1" | ||
5 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
6 | |||
7 | KERNEL_DEVICETREE_PREFIX = "ti/k3-am642" | 4 | KERNEL_DEVICETREE_PREFIX = "ti/k3-am642" |
8 | 5 | ||
9 | KERNEL_DEVICETREE = " \ | 6 | KERNEL_DEVICETREE = " \ |
diff --git a/meta-ti-bsp/conf/machine/include/am65xx.inc b/meta-ti-bsp/conf/machine/include/am65xx.inc index edfc7c11..9fe851f4 100644 --- a/meta-ti-bsp/conf/machine/include/am65xx.inc +++ b/meta-ti-bsp/conf/machine/include/am65xx.inc | |||
@@ -3,9 +3,6 @@ SOC_FAMILY:append = ":am65xx" | |||
3 | 3 | ||
4 | MACHINE_FEATURES += "screen touchscreen gpu" | 4 | MACHINE_FEATURES += "screen touchscreen gpu" |
5 | 5 | ||
6 | SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1" | ||
7 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
8 | |||
9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "" | 6 | PREFERRED_PROVIDER_virtual/gpudriver ?= "" |
10 | 7 | ||
11 | KERNEL_DEVICETREE_PREFIX = "ti/k3-am654" | 8 | KERNEL_DEVICETREE_PREFIX = "ti/k3-am654" |
diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/machine/include/k3.inc index 94c0e7e3..31da2ca9 100644 --- a/meta-ti-bsp/conf/machine/include/k3.inc +++ b/meta-ti-bsp/conf/machine/include/k3.inc | |||
@@ -53,3 +53,6 @@ MACHINE_FEATURES += "efi" | |||
53 | WKS_FILE ?= "sdimage-2part-efi.wks" | 53 | WKS_FILE ?= "sdimage-2part-efi.wks" |
54 | do_image_wic[depends] += "virtual/bootloader:do_deploy" | 54 | do_image_wic[depends] += "virtual/bootloader:do_deploy" |
55 | do_image_complete[mcdepends] += "mc::k3r5:ti-sci-fw:do_deploy" | 55 | do_image_complete[mcdepends] += "mc::k3r5:ti-sci-fw:do_deploy" |
56 | |||
57 | SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2" | ||
58 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
diff --git a/meta-ti-bsp/conf/machine/j7200-evm.conf b/meta-ti-bsp/conf/machine/j7200-evm.conf index b17b65b7..dff1da69 100644 --- a/meta-ti-bsp/conf/machine/j7200-evm.conf +++ b/meta-ti-bsp/conf/machine/j7200-evm.conf | |||
@@ -4,9 +4,6 @@ | |||
4 | 4 | ||
5 | require conf/machine/include/j7200.inc | 5 | require conf/machine/include/j7200.inc |
6 | 6 | ||
7 | SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS3" | ||
8 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
9 | |||
10 | KERNEL_DEVICETREE_PREFIX = "ti/k3-j7200" | 7 | KERNEL_DEVICETREE_PREFIX = "ti/k3-j7200" |
11 | 8 | ||
12 | KERNEL_DEVICETREE = " \ | 9 | KERNEL_DEVICETREE = " \ |
diff --git a/meta-ti-bsp/conf/machine/j721e-evm.conf b/meta-ti-bsp/conf/machine/j721e-evm.conf index f602a77b..8682ad60 100644 --- a/meta-ti-bsp/conf/machine/j721e-evm.conf +++ b/meta-ti-bsp/conf/machine/j721e-evm.conf | |||
@@ -4,9 +4,6 @@ | |||
4 | 4 | ||
5 | require conf/machine/include/j721e.inc | 5 | require conf/machine/include/j721e.inc |
6 | 6 | ||
7 | SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS3" | ||
8 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
9 | |||
10 | KERNEL_DEVICETREE_PREFIX = " \ | 7 | KERNEL_DEVICETREE_PREFIX = " \ |
11 | ti/k3-j721e \ | 8 | ti/k3-j721e \ |
12 | ti/k3-j7200-mcspi-loopback \ | 9 | ti/k3-j7200-mcspi-loopback \ |
diff --git a/meta-ti-bsp/conf/machine/j721s2-evm.conf b/meta-ti-bsp/conf/machine/j721s2-evm.conf index bef5684f..2a128411 100644 --- a/meta-ti-bsp/conf/machine/j721s2-evm.conf +++ b/meta-ti-bsp/conf/machine/j721s2-evm.conf | |||
@@ -4,8 +4,6 @@ | |||
4 | 4 | ||
5 | require conf/machine/include/j721s2.inc | 5 | require conf/machine/include/j721s2.inc |
6 | 6 | ||
7 | SERIAL_CONSOLES = "115200;ttyS2" | ||
8 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
9 | TFA_K3_USART = "0x8" | 7 | TFA_K3_USART = "0x8" |
10 | OPTEE_K3_USART = "0x8" | 8 | OPTEE_K3_USART = "0x8" |
11 | 9 | ||
diff --git a/meta-ti-bsp/conf/machine/j721s2-hs-evm.conf b/meta-ti-bsp/conf/machine/j721s2-hs-evm.conf index 7ce5000a..337818a4 100644 --- a/meta-ti-bsp/conf/machine/j721s2-hs-evm.conf +++ b/meta-ti-bsp/conf/machine/j721s2-hs-evm.conf | |||
@@ -4,9 +4,6 @@ | |||
4 | 4 | ||
5 | require conf/machine/include/j721s2.inc | 5 | require conf/machine/include/j721s2.inc |
6 | 6 | ||
7 | SERIAL_CONSOLES = "115200;ttyS2" | ||
8 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
9 | |||
10 | TFA_K3_USART = "0x8" | 7 | TFA_K3_USART = "0x8" |
11 | OPTEE_K3_USART = "0x8" | 8 | OPTEE_K3_USART = "0x8" |
12 | 9 | ||
diff --git a/meta-ti-bsp/conf/machine/j784s4-evm.conf b/meta-ti-bsp/conf/machine/j784s4-evm.conf index 42e9ea1a..7971ad73 100644 --- a/meta-ti-bsp/conf/machine/j784s4-evm.conf +++ b/meta-ti-bsp/conf/machine/j784s4-evm.conf | |||
@@ -4,8 +4,6 @@ | |||
4 | 4 | ||
5 | require conf/machine/include/j784s4.inc | 5 | require conf/machine/include/j784s4.inc |
6 | 6 | ||
7 | SERIAL_CONSOLES = "115200;ttyS2" | ||
8 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
9 | TFA_K3_USART = "0x8" | 7 | TFA_K3_USART = "0x8" |
10 | OPTEE_K3_USART = "0x8" | 8 | OPTEE_K3_USART = "0x8" |
11 | 9 | ||
diff --git a/meta-ti-bsp/conf/machine/j784s4-hs-evm.conf b/meta-ti-bsp/conf/machine/j784s4-hs-evm.conf index 42bca6e6..123de8c1 100644 --- a/meta-ti-bsp/conf/machine/j784s4-hs-evm.conf +++ b/meta-ti-bsp/conf/machine/j784s4-hs-evm.conf | |||
@@ -4,8 +4,6 @@ | |||
4 | 4 | ||
5 | require conf/machine/include/j784s4.inc | 5 | require conf/machine/include/j784s4.inc |
6 | 6 | ||
7 | SERIAL_CONSOLES = "115200;ttyS2" | ||
8 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
9 | TFA_K3_USART = "0x8" | 7 | TFA_K3_USART = "0x8" |
10 | OPTEEMACHINE = "k3-j784s4" | 8 | OPTEEMACHINE = "k3-j784s4" |
11 | OPTEE_K3_USART = "0x8" | 9 | OPTEE_K3_USART = "0x8" |