rockchip: remove redundant 'console' parameter from boot script
authorTianling Shen <cnsztl@immortalwrt.org>
Mon, 25 Mar 2024 18:25:42 +0000 (02:25 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 31 Mar 2024 18:39:57 +0000 (20:39 +0200)
ttyS2 is the default console used for all rockchip boards.
The redundant 'console=tty1' parameter now breaks the console due to
recent procd update.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 163c3d0bde28664058656ce1c2bd97f80e4dbe2d)

target/linux/rockchip/image/mmc.bootscript

index ea6ee8c73d14264074295370cef30d08fa291ffc..5aa7330cffb46cf2572d234fa0ccf73b96b8f603 100644 (file)
@@ -8,7 +8,7 @@ elif test $stdout = 'serial@ff1a0000' ;
 then serial_addr=',0xff1a0000';
 fi;
 
-setenv bootargs "console=ttyS2,1500000 console=tty1 earlycon=uart8250,mmio32${serial_addr} root=PARTUUID=${uuid} rw rootwait";
+setenv bootargs "console=ttyS2,1500000 earlycon=uart8250,mmio32${serial_addr} root=PARTUUID=${uuid} rw rootwait";
 
 load mmc ${devnum}:1 ${kernel_addr_r} kernel.img