linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: dts: mt7622: fix console output issue on rfb1
@ 2018-11-07  4:59 Ryder Lee
  2018-11-07  4:59 ` [PATCH 2/2] arm64: dts: mt7622: fix console output issue on BPI-R64 board Ryder Lee
  2018-11-07 15:48 ` [PATCH 1/2] arm64: dts: mt7622: fix console output issue on rfb1 Kevin Hilman
  0 siblings, 2 replies; 3+ messages in thread
From: Ryder Lee @ 2018-11-07  4:59 UTC (permalink / raw)
  To: Matthias Brugger, Rob Herring
  Cc: Weijie Gao, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, Ryder Lee, stable

The issue was introduced by Kernel CI:
https://kernelci.org/boot/id/5bbdcbad59b5146fc5b43592/

Fix this by using a 'stdout-path' property that points to the device.

Fixes: c0d9f9ad4f76 ("arm64: dts: mt7622: add earlycon to mt7622-rfb1 board")
Cc: stable@vger.kernel.org
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
---
 arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
index dcad086..3f78334 100644
--- a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
+++ b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
@@ -17,8 +17,13 @@
 	model = "MediaTek MT7622 RFB1 board";
 	compatible = "mediatek,mt7622-rfb1", "mediatek,mt7622";
 
+	aliases {
+		serial0 = &uart0;
+	};
+
 	chosen {
-		bootargs = "earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n1 swiotlb=512";
+		stdout-path = "serial0:115200n8";
+		bootargs = "earlycon=uart8250,mmio32,0x11002000 swiotlb=512";
 	};
 
 	cpus {
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] arm64: dts: mt7622: fix console output issue on BPI-R64 board
  2018-11-07  4:59 [PATCH 1/2] arm64: dts: mt7622: fix console output issue on rfb1 Ryder Lee
@ 2018-11-07  4:59 ` Ryder Lee
  2018-11-07 15:48 ` [PATCH 1/2] arm64: dts: mt7622: fix console output issue on rfb1 Kevin Hilman
  1 sibling, 0 replies; 3+ messages in thread
From: Ryder Lee @ 2018-11-07  4:59 UTC (permalink / raw)
  To: Matthias Brugger, Rob Herring
  Cc: Weijie Gao, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, Ryder Lee, stable

Fix this by using a 'stdout-path' property that points to the device.

Fixes: 0b6286dd96c0 ("arm64: dts: mt7622: add bananapi BPI-R64 board")
Cc: stable@vger.kernel.org
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
---
 arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
index 5d6005c..710c5c3 100644
--- a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
+++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
@@ -16,8 +16,13 @@
 	model = "Bananapi BPI-R64";
 	compatible = "bananapi,bpi-r64", "mediatek,mt7622";
 
+	aliases {
+		serial0 = &uart0;
+	};
+
 	chosen {
-		bootargs = "earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n1 swiotlb=512";
+		stdout-path = "serial0:115200n8";
+		bootargs = "earlycon=uart8250,mmio32,0x11002000 swiotlb=512";
 	};
 
 	cpus {
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] arm64: dts: mt7622: fix console output issue on rfb1
  2018-11-07  4:59 [PATCH 1/2] arm64: dts: mt7622: fix console output issue on rfb1 Ryder Lee
  2018-11-07  4:59 ` [PATCH 2/2] arm64: dts: mt7622: fix console output issue on BPI-R64 board Ryder Lee
@ 2018-11-07 15:48 ` Kevin Hilman
  1 sibling, 0 replies; 3+ messages in thread
From: Kevin Hilman @ 2018-11-07 15:48 UTC (permalink / raw)
  To: Ryder Lee
  Cc: Matthias Brugger, Rob Herring, Weijie Gao, devicetree,
	linux-kernel, linux-arm-kernel, linux-mediatek, stable

Ryder Lee <ryder.lee@mediatek.com> writes:

> The issue was introduced by Kernel CI:
> https://kernelci.org/boot/id/5bbdcbad59b5146fc5b43592/

The issue was *found* by kernelCI, not introduced by kernelCI. ;)

> Fix this by using a 'stdout-path' property that points to the device.
>
> Fixes: c0d9f9ad4f76 ("arm64: dts: mt7622: add earlycon to mt7622-rfb1 board")
> Cc: stable@vger.kernel.org
> Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>

Tested-by: Kevin Hilman <khilman@baylibre.com>

Note that this patch fixes the problem where there is no more console
output, but current mainline still doesn't boot as there's another
crash: http://termbin.com/zitb

Kevin

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-11-07 15:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-07  4:59 [PATCH 1/2] arm64: dts: mt7622: fix console output issue on rfb1 Ryder Lee
2018-11-07  4:59 ` [PATCH 2/2] arm64: dts: mt7622: fix console output issue on BPI-R64 board Ryder Lee
2018-11-07 15:48 ` [PATCH 1/2] arm64: dts: mt7622: fix console output issue on rfb1 Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).