From: David Woodhouse <dwmw2@infradead.org>
Date: Mon, 20 Jul 2020 20:00:29 +0000 (+0100)
Subject: mediatek: mt7623: add explicit console= to U7623 kernel
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ea9ef8c9451a08aa4dbb6efcbe5f20d9b788ebd2;p=openwrt%2Fstaging%2Fxback.git

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@infradead.org>
---

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";
 +	};
 +