From: Tianling Shen Date: Mon, 25 Mar 2024 18:25:42 +0000 (+0800) Subject: rockchip: remove redundant 'console' parameter from boot script X-Git-Tag: v23.05.4~196 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F15020%2Fhead;p=thirdparty%2Fopenwrt.git rockchip: remove redundant 'console' parameter from boot script 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 (cherry picked from commit 163c3d0bde28664058656ce1c2bd97f80e4dbe2d) --- diff --git a/target/linux/rockchip/image/mmc.bootscript b/target/linux/rockchip/image/mmc.bootscript index ea6ee8c73d1..5aa7330cffb 100644 --- a/target/linux/rockchip/image/mmc.bootscript +++ b/target/linux/rockchip/image/mmc.bootscript @@ -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