Skip to contentSkip to conversation

J721S2-evm: Correct serial console device

PATCH In review Jonathan Humphreys 2 participants 2 messages Oct 7, 2022 – Oct 10, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 J721S2-evm: Correct serial console device

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.

---
 meta-ti-bsp/conf/machine/j721s2-evm.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-ti-bsp/conf/machine/j721s2-evm.conf +1 -1
index a2c15f74..04f8e4fe 100644
@@ -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"
Signature · 1 line
2.17.1
#1 lore raw

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.

Quoted 24 lines · Jonathan Humphreys

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.

---
  meta-ti-bsp/conf/machine/j721s2-evm.conf | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta-ti-bsp/conf/machine/j721s2-evm.conf +1 -1
index a2c15f74..04f8e4fe 100644
@@ -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"
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS