0001-nds32-Fix-boot-messages-garbled.patch 870 B

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