All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] 32-bit Meson: add missing /chosen/stdout-path
@ 2018-10-28 14:03 Martin Blumenstingl
  2018-10-28 14:03 ` [PATCH 1/3] ARM: dts: meson6: atv1200: add the /chosen/stdout-path property Martin Blumenstingl
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Martin Blumenstingl @ 2018-10-28 14:03 UTC (permalink / raw)
  To: linus-amlogic

Some boards don't have the /chosen/stdout-path property yet. Support
for these boards is far from being complete and I don't have any of
those for testing. Whenever someone reports an issue with one of these
boards I would like an output with the "earlycon" kernel argument.
However, this only works when the board sets the /chosen/stdout-path
property.

None of these were tested manually, but since it's the same for all
existing (32-bit and 64-bit) boards it's safe to assume that this will
work.


Martin Blumenstingl (3):
  ARM: dts: meson6: atv1200: add the /chosen/stdout-path property
  ARM: dts: meson8: minix-neo-x8: add the /chosen/stdout-path property
  ARM: dts: meson8b: mxq: add the /chosen/stdout-path property

 arch/arm/boot/dts/meson6-atv1200.dts      | 4 ++++
 arch/arm/boot/dts/meson8-minix-neo-x8.dts | 4 ++++
 arch/arm/boot/dts/meson8b-mxq.dts         | 4 ++++
 3 files changed, 12 insertions(+)

-- 
2.19.1

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

* [PATCH 1/3] ARM: dts: meson6: atv1200: add the /chosen/stdout-path property
  2018-10-28 14:03 [PATCH 0/3] 32-bit Meson: add missing /chosen/stdout-path Martin Blumenstingl
@ 2018-10-28 14:03 ` Martin Blumenstingl
  2018-11-08 13:30   ` Neil Armstrong
  2018-10-28 14:03 ` [PATCH 2/3] ARM: dts: meson8: minix-neo-x8: " Martin Blumenstingl
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 8+ messages in thread
From: Martin Blumenstingl @ 2018-10-28 14:03 UTC (permalink / raw)
  To: linus-amlogic

Support for Meson6 SoCs is currently very limited. It's often unclear
why such a device does not boot. To debug this the "earlycon" kernel
parameter can be used (without any arguments). However, this requires
the board to define a /chosen/stdout-path property in it's .dts.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 arch/arm/boot/dts/meson6-atv1200.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/meson6-atv1200.dts b/arch/arm/boot/dts/meson6-atv1200.dts
index 9444b0d9628f..fc48cff71ddf 100644
--- a/arch/arm/boot/dts/meson6-atv1200.dts
+++ b/arch/arm/boot/dts/meson6-atv1200.dts
@@ -56,6 +56,10 @@
 		serial0 = &uart_AO;
 	};
 
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+
 	memory {
 		reg = <0x40000000 0x80000000>;
 	};
-- 
2.19.1

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

* [PATCH 2/3] ARM: dts: meson8: minix-neo-x8: add the /chosen/stdout-path property
  2018-10-28 14:03 [PATCH 0/3] 32-bit Meson: add missing /chosen/stdout-path Martin Blumenstingl
  2018-10-28 14:03 ` [PATCH 1/3] ARM: dts: meson6: atv1200: add the /chosen/stdout-path property Martin Blumenstingl
@ 2018-10-28 14:03 ` Martin Blumenstingl
  2018-11-08 13:30   ` Neil Armstrong
  2018-10-28 14:03 ` [PATCH 3/3] ARM: dts: meson8b: mxq: " Martin Blumenstingl
  2018-11-15 19:43 ` [PATCH 0/3] 32-bit Meson: add missing /chosen/stdout-path Kevin Hilman
  3 siblings, 1 reply; 8+ messages in thread
From: Martin Blumenstingl @ 2018-10-28 14:03 UTC (permalink / raw)
  To: linus-amlogic

Support for this board is currently very limited. To debug any potential
issues on this board the "earlycon" kernel parameter can be used (without
any arguments). However, this requires the board to define a
/chosen/stdout-path property in it's .dts.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 arch/arm/boot/dts/meson8-minix-neo-x8.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/meson8-minix-neo-x8.dts b/arch/arm/boot/dts/meson8-minix-neo-x8.dts
index 8bceb8d343f6..55fb090a40ef 100644
--- a/arch/arm/boot/dts/meson8-minix-neo-x8.dts
+++ b/arch/arm/boot/dts/meson8-minix-neo-x8.dts
@@ -52,6 +52,10 @@
 		serial0 = &uart_AO;
 	};
 
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+
 	memory {
 		reg = <0x40000000 0x80000000>;
 	};
-- 
2.19.1

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

* [PATCH 3/3] ARM: dts: meson8b: mxq: add the /chosen/stdout-path property
  2018-10-28 14:03 [PATCH 0/3] 32-bit Meson: add missing /chosen/stdout-path Martin Blumenstingl
  2018-10-28 14:03 ` [PATCH 1/3] ARM: dts: meson6: atv1200: add the /chosen/stdout-path property Martin Blumenstingl
  2018-10-28 14:03 ` [PATCH 2/3] ARM: dts: meson8: minix-neo-x8: " Martin Blumenstingl
@ 2018-10-28 14:03 ` Martin Blumenstingl
  2018-11-08 13:30   ` Neil Armstrong
  2018-11-15 19:43 ` [PATCH 0/3] 32-bit Meson: add missing /chosen/stdout-path Kevin Hilman
  3 siblings, 1 reply; 8+ messages in thread
From: Martin Blumenstingl @ 2018-10-28 14:03 UTC (permalink / raw)
  To: linus-amlogic

Support for this board is currently very limited. To debug any potential
issues on this board the "earlycon" kernel parameter can be used (without
any arguments). However, this requires the board to define a
/chosen/stdout-path property in it's .dts.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 arch/arm/boot/dts/meson8b-mxq.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/meson8b-mxq.dts b/arch/arm/boot/dts/meson8b-mxq.dts
index c7fdaeabbe7b..5c9b76af8d42 100644
--- a/arch/arm/boot/dts/meson8b-mxq.dts
+++ b/arch/arm/boot/dts/meson8b-mxq.dts
@@ -55,6 +55,10 @@
 		serial0 = &uart_AO;
 	};
 
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+
 	memory {
 		reg = <0x40000000 0x40000000>;
 	};
-- 
2.19.1

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

* [PATCH 1/3] ARM: dts: meson6: atv1200: add the /chosen/stdout-path property
  2018-10-28 14:03 ` [PATCH 1/3] ARM: dts: meson6: atv1200: add the /chosen/stdout-path property Martin Blumenstingl
@ 2018-11-08 13:30   ` Neil Armstrong
  0 siblings, 0 replies; 8+ messages in thread
From: Neil Armstrong @ 2018-11-08 13:30 UTC (permalink / raw)
  To: linus-amlogic

On 28/10/2018 15:03, Martin Blumenstingl wrote:
> Support for Meson6 SoCs is currently very limited. It's often unclear
> why such a device does not boot. To debug this the "earlycon" kernel
> parameter can be used (without any arguments). However, this requires
> the board to define a /chosen/stdout-path property in it's .dts.
> 
> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
> ---
>  arch/arm/boot/dts/meson6-atv1200.dts | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/meson6-atv1200.dts b/arch/arm/boot/dts/meson6-atv1200.dts
> index 9444b0d9628f..fc48cff71ddf 100644
> --- a/arch/arm/boot/dts/meson6-atv1200.dts
> +++ b/arch/arm/boot/dts/meson6-atv1200.dts
> @@ -56,6 +56,10 @@
>  		serial0 = &uart_AO;
>  	};
>  
> +	chosen {
> +		stdout-path = "serial0:115200n8";
> +	};
> +
>  	memory {
>  		reg = <0x40000000 0x80000000>;
>  	};
> 

Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>

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

* [PATCH 2/3] ARM: dts: meson8: minix-neo-x8: add the /chosen/stdout-path property
  2018-10-28 14:03 ` [PATCH 2/3] ARM: dts: meson8: minix-neo-x8: " Martin Blumenstingl
@ 2018-11-08 13:30   ` Neil Armstrong
  0 siblings, 0 replies; 8+ messages in thread
From: Neil Armstrong @ 2018-11-08 13:30 UTC (permalink / raw)
  To: linus-amlogic

On 28/10/2018 15:03, Martin Blumenstingl wrote:
> Support for this board is currently very limited. To debug any potential
> issues on this board the "earlycon" kernel parameter can be used (without
> any arguments). However, this requires the board to define a
> /chosen/stdout-path property in it's .dts.
> 
> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
> ---
>  arch/arm/boot/dts/meson8-minix-neo-x8.dts | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/meson8-minix-neo-x8.dts b/arch/arm/boot/dts/meson8-minix-neo-x8.dts
> index 8bceb8d343f6..55fb090a40ef 100644
> --- a/arch/arm/boot/dts/meson8-minix-neo-x8.dts
> +++ b/arch/arm/boot/dts/meson8-minix-neo-x8.dts
> @@ -52,6 +52,10 @@
>  		serial0 = &uart_AO;
>  	};
>  
> +	chosen {
> +		stdout-path = "serial0:115200n8";
> +	};
> +
>  	memory {
>  		reg = <0x40000000 0x80000000>;
>  	};
> 

Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>

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

* [PATCH 3/3] ARM: dts: meson8b: mxq: add the /chosen/stdout-path property
  2018-10-28 14:03 ` [PATCH 3/3] ARM: dts: meson8b: mxq: " Martin Blumenstingl
@ 2018-11-08 13:30   ` Neil Armstrong
  0 siblings, 0 replies; 8+ messages in thread
From: Neil Armstrong @ 2018-11-08 13:30 UTC (permalink / raw)
  To: linus-amlogic

On 28/10/2018 15:03, Martin Blumenstingl wrote:
> Support for this board is currently very limited. To debug any potential
> issues on this board the "earlycon" kernel parameter can be used (without
> any arguments). However, this requires the board to define a
> /chosen/stdout-path property in it's .dts.
> 
> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
> ---
>  arch/arm/boot/dts/meson8b-mxq.dts | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/meson8b-mxq.dts b/arch/arm/boot/dts/meson8b-mxq.dts
> index c7fdaeabbe7b..5c9b76af8d42 100644
> --- a/arch/arm/boot/dts/meson8b-mxq.dts
> +++ b/arch/arm/boot/dts/meson8b-mxq.dts
> @@ -55,6 +55,10 @@
>  		serial0 = &uart_AO;
>  	};
>  
> +	chosen {
> +		stdout-path = "serial0:115200n8";
> +	};
> +
>  	memory {
>  		reg = <0x40000000 0x40000000>;
>  	};
> 

Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>

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

* [PATCH 0/3] 32-bit Meson: add missing /chosen/stdout-path
  2018-10-28 14:03 [PATCH 0/3] 32-bit Meson: add missing /chosen/stdout-path Martin Blumenstingl
                   ` (2 preceding siblings ...)
  2018-10-28 14:03 ` [PATCH 3/3] ARM: dts: meson8b: mxq: " Martin Blumenstingl
@ 2018-11-15 19:43 ` Kevin Hilman
  3 siblings, 0 replies; 8+ messages in thread
From: Kevin Hilman @ 2018-11-15 19:43 UTC (permalink / raw)
  To: linus-amlogic

Martin Blumenstingl <martin.blumenstingl@googlemail.com> writes:

> Some boards don't have the /chosen/stdout-path property yet. Support
> for these boards is far from being complete and I don't have any of
> those for testing. Whenever someone reports an issue with one of these
> boards I would like an output with the "earlycon" kernel argument.
> However, this only works when the board sets the /chosen/stdout-path
> property.
>
> None of these were tested manually, but since it's the same for all
> existing (32-bit and 64-bit) boards it's safe to assume that this will
> work.

Queued for v4.21, with Neil's acks (branch: v4.21/dt)

Kevin

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

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

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-28 14:03 [PATCH 0/3] 32-bit Meson: add missing /chosen/stdout-path Martin Blumenstingl
2018-10-28 14:03 ` [PATCH 1/3] ARM: dts: meson6: atv1200: add the /chosen/stdout-path property Martin Blumenstingl
2018-11-08 13:30   ` Neil Armstrong
2018-10-28 14:03 ` [PATCH 2/3] ARM: dts: meson8: minix-neo-x8: " Martin Blumenstingl
2018-11-08 13:30   ` Neil Armstrong
2018-10-28 14:03 ` [PATCH 3/3] ARM: dts: meson8b: mxq: " Martin Blumenstingl
2018-11-08 13:30   ` Neil Armstrong
2018-11-15 19:43 ` [PATCH 0/3] 32-bit Meson: add missing /chosen/stdout-path Kevin Hilman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.