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

LEDE Commits lede-commits at lists.infradead.org
Thu Jul 30 00:35:11 EDT 2020


981213 pushed a commit to openwrt/openwrt.git, branch openwrt-19.07:
https://git.openwrt.org/2147c33e407591f913125074f06a1bdc4620e5ca

commit 2147c33e407591f913125074f06a1bdc4620e5ca
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>
    (cherry picked from commit ea9ef8c9451a08aa4dbb6efcbe5f20d9b788ebd2)
---
 .../mediatek/patches-4.14/0227-arm-dts-Add-Unielec-U7623-DTS.patch      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/mediatek/patches-4.14/0227-arm-dts-Add-Unielec-U7623-DTS.patch b/target/linux/mediatek/patches-4.14/0227-arm-dts-Add-Unielec-U7623-DTS.patch
index 996b309e8f..f0aa1fdbfb 100644
--- a/target/linux/mediatek/patches-4.14/0227-arm-dts-Add-Unielec-U7623-DTS.patch
+++ b/target/linux/mediatek/patches-4.14/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