[openwrt/openwrt] armsr: remove 'console=tty1' from kernel command line

LEDE Commits lede-commits at lists.infradead.org
Mon May 26 01:31:27 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/bff179de73e36b0c27b5eefa1a967e956bb620cd

commit bff179de73e36b0c27b5eefa1a967e956bb620cd
Author: Mathew McBride <matt at traverse.com.au>
AuthorDate: Thu Jan 16 12:27:58 2025 +1100

    armsr: remove 'console=tty1' from kernel command line
    
    We have modified the kernel to setup all "default" consoles,
    including serial ports and framebuffers/screens, providing
    no console= argument is supplied on the kernel command line.
    
    Adding 'console=tty1' caused the 'default' serial port on
    device tree systems to break, as the kernel would not carry
    over the settings (like baud rate) from the bootloader.
    
    The system administrator can still force the use of a
    specific console by adding their own console= arguments.
    
    Signed-off-by: Mathew McBride <matt at traverse.com.au>
    Fixes: c099523d66a3 ("armsr: use console=tty1 to make
    console more readily available")
    Link: https://github.com/openwrt/openwrt/pull/17012
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 target/linux/armsr/image/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/target/linux/armsr/image/Makefile b/target/linux/armsr/image/Makefile
index b34c1f16e7..79173e67da 100644
--- a/target/linux/armsr/image/Makefile
+++ b/target/linux/armsr/image/Makefile
@@ -12,7 +12,6 @@ GRUB_TERMINAL_CONFIG =
 GRUB_CONSOLE_CMDLINE = earlycon
 
 ifneq ($(CONFIG_GRUB_CONSOLE),)
-  GRUB_CONSOLE_CMDLINE += console=tty1
   GRUB_TERMINALS += console
 endif
 




More information about the lede-commits mailing list