[openwrt/openwrt] rockchip: remove redundant 'console' parameter from boot script

LEDE Commits lede-commits at lists.infradead.org
Fri Mar 29 11:35:12 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/163c3d0bde28664058656ce1c2bd97f80e4dbe2d

commit 163c3d0bde28664058656ce1c2bd97f80e4dbe2d
Author: Tianling Shen <cnsztl at immortalwrt.org>
AuthorDate: Tue Mar 26 02:25:42 2024 +0800

    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 <cnsztl at immortalwrt.org>
---
 target/linux/rockchip/image/default.bootscript | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/rockchip/image/default.bootscript b/target/linux/rockchip/image/default.bootscript
index d49abd4478..cca0b8d4ac 100644
--- a/target/linux/rockchip/image/default.bootscript
+++ b/target/linux/rockchip/image/default.bootscript
@@ -8,7 +8,7 @@ elif test $stdout = 'serial at 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 ${devtype} ${devnum}:1 ${kernel_addr_r} kernel.img
 




More information about the lede-commits mailing list