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

LEDE Commits lede-commits at lists.infradead.org
Sun Aug 31 09:31:52 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/6ae235bcd0433183edcd25b333000c35b92970f8

commit 6ae235bcd0433183edcd25b333000c35b92970f8
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>
    (cherry picked from commit bff179de73e36b0c27b5eefa1a967e956bb620cd)
    Link: https://github.com/openwrt/openwrt/pull/19894
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 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