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

LEDE Commits lede-commits at lists.infradead.org
Sun Mar 31 11:41:07 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/705954a51ada4926cc4b7f1b4d40b3995ceef8a9

commit 705954a51ada4926cc4b7f1b4d40b3995ceef8a9
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>
    (cherry picked from commit 163c3d0bde28664058656ce1c2bd97f80e4dbe2d)
---
 target/linux/rockchip/image/mmc.bootscript | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/rockchip/image/mmc.bootscript b/target/linux/rockchip/image/mmc.bootscript
index ea6ee8c73d..5aa7330cff 100644
--- a/target/linux/rockchip/image/mmc.bootscript
+++ b/target/linux/rockchip/image/mmc.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 mmc ${devnum}:1 ${kernel_addr_r} kernel.img
 




More information about the lede-commits mailing list