From 253ce5b0e366da5e007bda3629eff7f90d7bb12e Mon Sep 17 00:00:00 2001 From: Philippe Schenker Date: Wed, 20 Apr 2022 21:07:21 +0200 Subject: verdin-imx8mm, verdin-imx8mp: Fix default systemd console output [ backport https://lore.kernel.org/all/20220421092358.132912-1-dev@pschenker.ch/ from mailing-list ] systemd prints its messages on the last console= statement that it finds in the kernel arguments. The current ordering sends the systemd messages to tty1, by default this is the display. Ensure that systemd sends its messages to the default UART, reorder the console= statements accordingly. Signed-off-by: Philippe Schenker Reviewed-by: Stefano Babic Acked-by: Marcel Ziswiler --- include/configs/verdin-imx8mm.h | 2 +- include/configs/verdin-imx8mp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/verdin-imx8mm.h b/include/configs/verdin-imx8mm.h index ad430c4a80..87e73c26a7 100644 --- a/include/configs/verdin-imx8mm.h +++ b/include/configs/verdin-imx8mm.h @@ -120,7 +120,7 @@ "boot_scripts=" BOOT_SCRIPT "\0" \ "boot_script_dhcp=" BOOT_SCRIPT "\0" \ "boot_file=Image\0" \ - "setup=setenv setupargs console=${console},${baudrate} console=tty1 consoleblank=0 earlycon\0" \ + "setup=setenv setupargs console=tty1 console=${console},${baudrate} consoleblank=0 earlycon\0" \ "update_uboot=askenv confirm Did you load imx-boot (y/N)?; " \ "if test \"$confirm\" = \"y\"; then " \ "setexpr blkcnt ${filesize} + 0x1ff && setexpr blkcnt " \ diff --git a/include/configs/verdin-imx8mp.h b/include/configs/verdin-imx8mp.h index 2d3edef63e..e854ef6d2d 100644 --- a/include/configs/verdin-imx8mp.h +++ b/include/configs/verdin-imx8mp.h @@ -109,7 +109,7 @@ "boot_scripts=" BOOT_SCRIPT "\0" \ "boot_script_dhcp=" BOOT_SCRIPT "\0" \ "boot_file=Image\0" \ - "setup=setenv setupargs console=${console},${baudrate} console=tty1 consoleblank=0 earlycon\0" \ + "setup=setenv setupargs console=tty1 console=${console},${baudrate} consoleblank=0 earlycon\0" \ "update_uboot=askenv confirm Did you load imx-boot (y/N)?; " \ "if test \"$confirm\" = \"y\"; then " \ "setexpr blkcnt ${filesize} + 0x1ff && setexpr blkcnt " \ -- cgit v1.2.3