[openwrt/openwrt] mediatek: u7623-02: enable early console also in legacy image

LEDE Commits lede-commits at lists.infradead.org
Sun Jan 30 16:11:23 PST 2022


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/5e6867fd542b04c0b8c8e7b8360f1cac03a77b99

commit 5e6867fd542b04c0b8c8e7b8360f1cac03a77b99
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Sun Jan 30 22:46:44 2022 +0000

    mediatek: u7623-02: enable early console also in legacy image
    
    Append 'earlycon=uart8250,mmio32,0x11004000' to the boot arguments
    embedded in device-tree in order to enable early console on the
    UniElec U7623 board when using the vendor/stock bootloader.
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc-512m.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc-512m.dts b/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc-512m.dts
index 609bb8f109..c255e9af96 100644
--- a/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc-512m.dts
+++ b/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc-512m.dts
@@ -11,7 +11,7 @@
 	compatible = "unielec,u7623-02-emmc-512m", "unielec,u7623-02", "mediatek,mt7623";
 
 	chosen {
-		bootargs = "root=/dev/mmcblk0p2 rootfstype=squashfs,f2fs console=ttyS0,115200 blkdevparts=mmcblk0:3M at 6M(recovery),256M at 9M(root)";
+		bootargs = "earlycon=uart8250,mmio32,0x11004000 console=ttyS0,115200 blkdevparts=mmcblk0:3M at 6M(recovery),256M at 9M(root) rootfstype=squashfs root=/dev/mmcblk0p2";
 	};
 
 	memory at 80000000 {



More information about the lede-commits mailing list