Skip to contentSkip to conversation

genericarm64: add more serial consoles

PATCH New Ross Burton 1 participant 1 message Oct 1, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 genericarm64: add more serial consoles

Some boards - such as the BeaglePlay - have the serial console on ttyS2.

Add a few ttyS? consoles to SERIAL_CONSOLES to cater for these boards.

---
 meta-yocto-bsp/conf/machine/genericarm64.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-yocto-bsp/conf/machine/genericarm64.conf +2 -2
index 1cb5e46dcf7..b6dfb8042d3 100644
@@ -27,8 +27,8 @@ WKS_FILE ?= "genericarm64.wks.in"
 
 EFI_PROVIDER ?= "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd-boot", "grub-efi", d)}"
 
-# Try to bring up one physical serial console, or a virtualized serial console
-SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0"
+# Try to bring up a selection of physical or virtual serial consoles
+SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0 115200;ttyS0 115200;ttyS1 115200;ttyS2"
 
 # Allow u-boot to be built for use with qemu-system-aarch64.
 # This u-boot is _not_ suitable for use with real hardware, and the expectation
Signature · 1 line
2.34.1