mediatek: mt7623: add explicit console= to U7623 kernel
authorDavid Woodhouse <dwmw2@infradead.org>
Mon, 20 Jul 2020 20:00:29 +0000 (21:00 +0100)
committerChuanhong Guo <gch981213@gmail.com>
Sun, 26 Jul 2020 08:42:35 +0000 (16:42 +0800)
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>
target/linux/mediatek/patches-5.4/0227-arm-dts-Add-Unielec-U7623-DTS.patch

index 255445360f2b007b7e516bf7fffb26c638f4a2d2..d1ea20c0ff406951cb3a5258668da036b9c12a89 100644 (file)
@@ -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";
 +      };
 +