]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
armsr: remove 'console=tty1' from kernel command line 17012/head
authorMathew McBride <matt@traverse.com.au>
Thu, 16 Jan 2025 01:27:58 +0000 (12:27 +1100)
committerRobert Marko <robimarko@gmail.com>
Mon, 26 May 2025 08:31:23 +0000 (10:31 +0200)
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@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@gmail.com>
target/linux/armsr/image/Makefile

index b34c1f16e7984417f33a0b4aff82942f7227fcbf..79173e67dac1bee0910bc9f94f2f5263aa4537e7 100644 (file)
@@ -12,7 +12,6 @@ GRUB_TERMINAL_CONFIG =
 GRUB_CONSOLE_CMDLINE = earlycon
 
 ifneq ($(CONFIG_GRUB_CONSOLE),)
-  GRUB_CONSOLE_CMDLINE += console=tty1
   GRUB_TERMINALS += console
 endif