xref: /OK3568_Linux_fs/buildroot/board/andes/patches/linux/0001-nds32-Fix-boot-messages-garbled.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From 90d52d180dcc5d1300dc352ca709eb6453894143 Mon Sep 17 00:00:00 2001
2From: Nylon Chen <nylon7@andestech.com>
3Date: Wed, 28 Nov 2018 16:26:46 +0800
4Subject: [PATCH] nds32: Fix boot messages garbled
5
6In order to display uart correctly we have to pass the correct setting of uart to kernel by bootarg.
7This patch will provide such settings to set the correct uart baud rate.
8
9Signed-off-by: Nylon Chen <nylon7@andestech.com>
10---
11 arch/nds32/boot/dts/ae3xx.dts | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/arch/nds32/boot/dts/ae3xx.dts b/arch/nds32/boot/dts/ae3xx.dts
15index bb39749a6673..aefe2090926a 100644
16--- a/arch/nds32/boot/dts/ae3xx.dts
17+++ b/arch/nds32/boot/dts/ae3xx.dts
18@@ -6,6 +6,7 @@
19 	interrupt-parent = <&intc>;
20
21 	chosen {
22+		bootargs = "memblock=debug earlycon console=ttyS0,38400n8 debug loglevel=7";
23 		stdout-path = &serial0;
24 	};
25
26--
272.18.0
28
29