verdin-imx8mm, verdin-imx8mp: Fix default systemd console output
PATCH 1/1 verdin-imx8mm, verdin-imx8mp: Fix default systemd console output
From: Philippe Schenker <[email protected]>
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.
---
include/configs/verdin-imx8mm.h | 4 ++-- include/configs/verdin-imx8mp.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
include/configs/verdin-imx8mm.h +2 -2
@@ -63,8 +63,8 @@"nfsboot=run netargs; dhcp ${loadaddr} ${boot_file}; " \"tftp ${fdt_addr} verdin/${fdtfile}; " \"booti ${loadaddr} - ${fdt_addr}\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 " \
include/configs/verdin-imx8mp.h +1 -1
@@ -82,7 +82,7 @@"nfsboot=run netargs; dhcp ${loadaddr} ${boot_file}; " \"tftp ${fdt_addr} verdin/${fdtfile}; " \"booti ${loadaddr} - ${fdt_addr}\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 " \
Signature · 1 line
2.35.1
Quoted 37 lines · Philippe Schenker
From: Philippe Schenker <[email protected]>
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 <[email protected]>---
include/configs/verdin-imx8mm.h | 4 ++-- include/configs/verdin-imx8mp.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)include/configs/verdin-imx8mm.h +2
-2@@ -63,8 +63,8 @@"nfsboot=run netargs; dhcp ${loadaddr} ${boot_file}; " \"tftp ${fdt_addr} verdin/${fdtfile}; " \"booti ${loadaddr} - ${fdt_addr}\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 " \include/configs/verdin-imx8mp.h +0
-0
include/configs/verdin-imx8mp.h line 88
Quoted 8 lines
include/configs/verdin-imx8mp.h +1
-1@@ -82,7 +82,7 @@"nfsboot=run netargs; dhcp ${loadaddr} ${boot_file}; " \"tftp ${fdt_addr} verdin/${fdtfile}; " \"booti ${loadaddr} - ${fdt_addr}\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 " \
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] =====================================================================
Quoted 10 lines · Philippe Schenker
From: Philippe Schenker <[email protected]>
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 <[email protected]>
Quoted 34 lines
---
include/configs/verdin-imx8mm.h | 4 ++--
include/configs/verdin-imx8mp.h | 2 +-2 files changed, 3 insertions(+), 3 deletions(-)include/configs/verdin-imx8mm.h +2
-2@@ -63,8 +63,8 @@ "nfsboot=run netargs; dhcp ${loadaddr} ${boot_file}; " \ "tftp ${fdt_addr} verdin/${fdtfile}; " \ "booti ${loadaddr} - ${fdt_addr}\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 " \include/configs/verdin-imx8mp.h +1
-1@@ -82,7 +82,7 @@ "nfsboot=run netargs; dhcp ${loadaddr} ${boot_file}; " \ "tftp ${fdt_addr} verdin/${fdtfile}; " \ "booti ${loadaddr} - ${fdt_addr}\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 " \