]> git.baikalelectronics.ru Git - uboot.git/commitdiff
verdin-imx8mm, verdin-imx8mp: Fix default systemd console output
authorPhilippe Schenker <philippe.schenker@toradex.com>
Wed, 25 May 2022 07:55:02 +0000 (09:55 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 14 Jun 2022 19:25:26 +0000 (21:25 +0200)
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>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
include/configs/verdin-imx8mm.h
include/configs/verdin-imx8mp.h

index cd950ad055ed87065c0ef233a5ba4eae146ca522..558b78115dfdf225c49702dd668a1347bc4eb76d 100644 (file)
@@ -58,8 +58,8 @@
        "fdt_board=dev\0" \
        "initrd_addr=0x43800000\0" \
        "initrd_high=0xffffffffffffffff\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 flash.bin (y/N)?; " \
                "if test \"$confirm\" = \"y\"; then " \
                "setexpr blkcnt ${filesize} + 0x1ff && setexpr blkcnt " \
index 470f64d5a7489684dbaec11a07b002d79d672d98..52fa2be3ab185d598992a6d9820f57acaf4c26f0 100644 (file)
@@ -75,7 +75,7 @@
        "fdt_board=dev\0" \
        "initrd_addr=0x43800000\0" \
        "initrd_high=0xffffffffffffffff\0" \
-       "setup=setenv setupargs console=${console},${baudrate} console=tty1 " \
+       "setup=setenv setupargs console=tty1 console=${console},${baudrate} " \
                "consoleblank=0 earlycon\0" \
        "update_uboot=askenv confirm Did you load flash.bin (y/N)?; " \
                "if test \"$confirm\" = \"y\"; then " \