diff mbox series

[dunfell/master] J721S2-evm: Correct serial console device

Message ID 20221007191115.19762-1-j-humphreys@ti.com
State Superseded
Delegated to: Ryan Eatmon
Headers show
Series [dunfell/master] J721S2-evm: Correct serial console device | expand

Commit Message

Jonathan Humphreys Oct. 7, 2022, 7:11 p.m. UTC
Serial console in J721S2 EVM config was set to ttyS10.  It should be ttyS2.
This caused sysv based systems (eg, tiny) to apparently hang because of no login prompt.
This didn't show up as a problem on systemd systems (eg, default) because systemd will
automatically setup a serial tty with the console option passed in on the kernel command line
(using console=...), which U-Boot correctly passes in as ttyS2 for J721S2.

Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
---
 meta-ti-bsp/conf/machine/j721s2-evm.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ryan Eatmon Oct. 10, 2022, 5:02 p.m. UTC | #1
This patch do not apply to dunfell since the file paths have changed 
with the split in meta layers that we put into place for kirkstone.

I'll submit a new patch that includes both j721s2 and j784s4 for dunfell 
on this patch.


On 10/7/2022 14:11, Jonathan Humphreys wrote:
> Serial console in J721S2 EVM config was set to ttyS10.  It should be ttyS2.
> This caused sysv based systems (eg, tiny) to apparently hang because of no login prompt.
> This didn't show up as a problem on systemd systems (eg, default) because systemd will
> automatically setup a serial tty with the console option passed in on the kernel command line
> (using console=...), which U-Boot correctly passes in as ttyS2 for J721S2.
> 
> Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
> ---
>   meta-ti-bsp/conf/machine/j721s2-evm.conf | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-ti-bsp/conf/machine/j721s2-evm.conf b/meta-ti-bsp/conf/machine/j721s2-evm.conf
> index a2c15f74..04f8e4fe 100644
> --- a/meta-ti-bsp/conf/machine/j721s2-evm.conf
> +++ b/meta-ti-bsp/conf/machine/j721s2-evm.conf
> @@ -4,7 +4,7 @@
>   
>   require conf/machine/include/j721s2.inc
>   
> -SERIAL_CONSOLES = "115200;ttyS10"
> +SERIAL_CONSOLES = "115200;ttyS2"
>   SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
>   TFA_K3_USART = "0x8"
>   OPTEE_K3_USART = "0x8"
diff mbox series

Patch

diff --git a/meta-ti-bsp/conf/machine/j721s2-evm.conf b/meta-ti-bsp/conf/machine/j721s2-evm.conf
index a2c15f74..04f8e4fe 100644
--- a/meta-ti-bsp/conf/machine/j721s2-evm.conf
+++ b/meta-ti-bsp/conf/machine/j721s2-evm.conf
@@ -4,7 +4,7 @@ 
 
 require conf/machine/include/j721s2.inc
 
-SERIAL_CONSOLES = "115200;ttyS10"
+SERIAL_CONSOLES = "115200;ttyS2"
 SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
 TFA_K3_USART = "0x8"
 OPTEE_K3_USART = "0x8"