diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2022-04-20 21:07:21 +0200 |
---|---|---|
committer | Philippe Schenker <philippe.schenker@toradex.com> | 2022-04-29 13:51:28 +0200 |
commit | 253ce5b0e366da5e007bda3629eff7f90d7bb12e (patch) | |
tree | 4fd527696ed245c05247081edfb8c1c559100203 /include/configs | |
parent | 7d1febd4af77435dd4051360e5e9aac46efa61e8 (diff) |
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 <philippe.schenker@toradex.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/verdin-imx8mm.h | 2 | ||||
-rw-r--r-- | 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 ad430c4a802..87e73c26a7b 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 2d3edef63eb..e854ef6d2db 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 " \ |