mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v1] MIPS: dts: ar9331: add stdout-path properties
@ 2021-01-07  7:55 Oleksij Rempel
  2021-01-13  9:04 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Oleksij Rempel @ 2021-01-07  7:55 UTC (permalink / raw)
  To: barebox; +Cc: Oleksij Rempel

With the kernel v5.11-rc2 the console will be automatically redirected
to null if no default console is configured. Make sure the barebox is
doing it to make kernel happy.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 arch/mips/dts/ar9331-dptechnics-dpt-module.dts   | 2 ++
 arch/mips/dts/ar9331-okud-max9331.dts            | 2 ++
 arch/mips/dts/ar9331-openembed-som9331-board.dts | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/arch/mips/dts/ar9331-dptechnics-dpt-module.dts b/arch/mips/dts/ar9331-dptechnics-dpt-module.dts
index cbaf5ab39e..24ce0d0d67 100644
--- a/arch/mips/dts/ar9331-dptechnics-dpt-module.dts
+++ b/arch/mips/dts/ar9331-dptechnics-dpt-module.dts
@@ -7,6 +7,8 @@
 	};
 
 	chosen {
+		stdout-path = &uart;
+
 		environment {
 			compatible = "barebox,environment";
 			device-path = &spiflash, "partname:barebox-environment";
diff --git a/arch/mips/dts/ar9331-okud-max9331.dts b/arch/mips/dts/ar9331-okud-max9331.dts
index 53350899f9..3b93bee93b 100644
--- a/arch/mips/dts/ar9331-okud-max9331.dts
+++ b/arch/mips/dts/ar9331-okud-max9331.dts
@@ -17,6 +17,8 @@
 	};
 
 	chosen {
+		stdout-path = &uart;
+
 		environment {
 			compatible = "barebox,environment";
 			device-path = &spiflash, "partname:barebox-environment";
diff --git a/arch/mips/dts/ar9331-openembed-som9331-board.dts b/arch/mips/dts/ar9331-openembed-som9331-board.dts
index ff9d25e352..4736332f8f 100644
--- a/arch/mips/dts/ar9331-openembed-som9331-board.dts
+++ b/arch/mips/dts/ar9331-openembed-som9331-board.dts
@@ -33,6 +33,8 @@
 
 
 	chosen {
+		stdout-path = &uart;
+
 		environment {
 			compatible = "barebox,environment";
 			device-path = &spiflash, "partname:barebox-environment";
-- 
2.30.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: [PATCH v1] MIPS: dts: ar9331: add stdout-path properties
  2021-01-07  7:55 [PATCH v1] MIPS: dts: ar9331: add stdout-path properties Oleksij Rempel
@ 2021-01-13  9:04 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2021-01-13  9:04 UTC (permalink / raw)
  To: Oleksij Rempel; +Cc: barebox

On Thu, Jan 07, 2021 at 08:55:08AM +0100, Oleksij Rempel wrote:
> With the kernel v5.11-rc2 the console will be automatically redirected
> to null if no default console is configured. Make sure the barebox is
> doing it to make kernel happy.
> 
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
>  arch/mips/dts/ar9331-dptechnics-dpt-module.dts   | 2 ++
>  arch/mips/dts/ar9331-okud-max9331.dts            | 2 ++
>  arch/mips/dts/ar9331-openembed-som9331-board.dts | 2 ++
>  3 files changed, 6 insertions(+)

Applied, thanks

Sascha

> 
> diff --git a/arch/mips/dts/ar9331-dptechnics-dpt-module.dts b/arch/mips/dts/ar9331-dptechnics-dpt-module.dts
> index cbaf5ab39e..24ce0d0d67 100644
> --- a/arch/mips/dts/ar9331-dptechnics-dpt-module.dts
> +++ b/arch/mips/dts/ar9331-dptechnics-dpt-module.dts
> @@ -7,6 +7,8 @@
>  	};
>  
>  	chosen {
> +		stdout-path = &uart;
> +
>  		environment {
>  			compatible = "barebox,environment";
>  			device-path = &spiflash, "partname:barebox-environment";
> diff --git a/arch/mips/dts/ar9331-okud-max9331.dts b/arch/mips/dts/ar9331-okud-max9331.dts
> index 53350899f9..3b93bee93b 100644
> --- a/arch/mips/dts/ar9331-okud-max9331.dts
> +++ b/arch/mips/dts/ar9331-okud-max9331.dts
> @@ -17,6 +17,8 @@
>  	};
>  
>  	chosen {
> +		stdout-path = &uart;
> +
>  		environment {
>  			compatible = "barebox,environment";
>  			device-path = &spiflash, "partname:barebox-environment";
> diff --git a/arch/mips/dts/ar9331-openembed-som9331-board.dts b/arch/mips/dts/ar9331-openembed-som9331-board.dts
> index ff9d25e352..4736332f8f 100644
> --- a/arch/mips/dts/ar9331-openembed-som9331-board.dts
> +++ b/arch/mips/dts/ar9331-openembed-som9331-board.dts
> @@ -33,6 +33,8 @@
>  
>  
>  	chosen {
> +		stdout-path = &uart;
> +
>  		environment {
>  			compatible = "barebox,environment";
>  			device-path = &spiflash, "partname:barebox-environment";
> -- 
> 2.30.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2021-01-13  9:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-07  7:55 [PATCH v1] MIPS: dts: ar9331: add stdout-path properties Oleksij Rempel
2021-01-13  9:04 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox