[openwrt/openwrt] mediatek: mt7623: add explicit console= to U7623 kernel

LEDE Commits lede-commits at lists.infradead.org
Sun Jul 26 05:50:07 EDT 2020


981213 pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/ea9ef8c9451a08aa4dbb6efcbe5f20d9b788ebd2

commit ea9ef8c9451a08aa4dbb6efcbe5f20d9b788ebd2
Author: David Woodhouse <dwmw2 at infradead.org>
AuthorDate: Mon Jul 20 21:00:29 2020 +0100

    mediatek: mt7623: add explicit console= to U7623 kernel
    
    The bootloader for legacy builds can't set it, so we end up unable to
    log in on the serial port.
    
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 .../linux/mediatek/patches-5.4/0227-arm-dts-Add-Unielec-U7623-DTS.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/mediatek/patches-5.4/0227-arm-dts-Add-Unielec-U7623-DTS.patch b/target/linux/mediatek/patches-5.4/0227-arm-dts-Add-Unielec-U7623-DTS.patch
index 255445360f..d1ea20c0ff 100644
--- a/target/linux/mediatek/patches-5.4/0227-arm-dts-Add-Unielec-U7623-DTS.patch
+++ b/target/linux/mediatek/patches-5.4/0227-arm-dts-Add-Unielec-U7623-DTS.patch
@@ -63,7 +63,7 @@ Subject: [PATCH] arm: dts: Add Unielec U7623 DTS
 +	};
 +
 +	chosen {
-+		bootargs = "root=/dev/mmcblk0p2 rootfstype=squashfs,f2fs";
++		bootargs = "root=/dev/mmcblk0p2 rootfstype=squashfs,f2fs console=ttyS0,115200";
 +		stdout-path = "serial2:115200n8";
 +	};
 +



More information about the lede-commits mailing list