summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2022-04-22 11:01:57 +0200
committerPhilippe Schenker <philippe.schenker@toradex.com>2022-04-22 11:01:57 +0200
commit7bf3a4432c4d329c2b291440d51c03d89e6116ff (patch)
treeb02230ab3a3a3d76be7f396a631dcf6b3a570a60
parent0b92fd06f9f334444e2e390ff2e7c52964a757b5 (diff)
u-boot: distro-boot-script: fix ordering of console arguments
systemd only prints to the last console= statement that it finds in the kernel arguments. Make sure that it prints to UART instead of display on tty1. Related-to: ELB-4435 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
-rw-r--r--recipes-bsp/u-boot/u-boot-distro-boot/boot.cmd.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-bsp/u-boot/u-boot-distro-boot/boot.cmd.in b/recipes-bsp/u-boot/u-boot-distro-boot/boot.cmd.in
index c667d49..b929afb 100644
--- a/recipes-bsp/u-boot/u-boot-distro-boot/boot.cmd.in
+++ b/recipes-bsp/u-boot/u-boot-distro-boot/boot.cmd.in
@@ -70,7 +70,7 @@ fi
if test -n ${setup}; then
run setup
else
- env set setupargs 'console=${console},${baudrate} console=tty1 consoleblank=0'
+ env set setupargs 'console=tty1 console=${console},${baudrate} consoleblank=0'
fi
if test ${kernel_image} = "Image.gz"