Skip to contentSkip to conversation

j721s2 and j784s4: Correct serial console device

PATCH New Ryan Eatmon 1 participant 1 message Oct 10, 2022

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 j721s2 and j784s4: Correct serial console device

Serial console in J721S2/J784S4 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/J784S4.

---
 conf/machine/j721s2-evm.conf | 2 +-
 conf/machine/j784s4-evm.conf | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
conf/machine/j721s2-evm.conf +1 -1
index ba5e8def..7fe1fb0e 100644
@@ -6,7 +6,7 @@ require conf/machine/include/j7.inc
 
 MACHINE_FEATURES += "gpu"
 
-SERIAL_CONSOLES = "115200;ttyS10"
+SERIAL_CONSOLES = "115200;ttyS2"
 SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
 TFA_K3_USART = "0x8"
 OPTEE_K3_USART = "0x8"
conf/machine/j784s4-evm.conf +1 -1
index a8ad25f6..278b393c 100644
@@ -6,7 +6,7 @@ require conf/machine/include/j7.inc
 
 MACHINE_FEATURES += "gpu"
 
-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