devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dts: freescale: imx8mp-phyboard-pollux-rdk: Add console UART bootargs
@ 2024-08-08  9:34 Benjamin Hahn
  2024-08-08 10:13 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Hahn @ 2024-08-08  9:34 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	Teresa Remmet
  Cc: devicetree, imx, linux-arm-kernel, linux-kernel, upstream,
	Benjamin Hahn

Pass the console UART bootargs parameter via the devicetree for booting
EFI binaries.

Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
---
 arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
index 00a240484c25..552b528fb663 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
@@ -16,6 +16,7 @@ / {
 		     "phytec,imx8mp-phycore-som", "fsl,imx8mp";
 
 	chosen {
+		bootargs = "console=ttymxc0,115200";
 		stdout-path = &uart1;
 	};
 

---
base-commit: 17712b7ea0756799635ba159cc773082230ed028
change-id: 20240808-add_bootargs_to_devicetree-6900d99baf6c

Best regards,
-- 
Benjamin Hahn <B.Hahn@phytec.de>


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

* Re: [PATCH] dts: freescale: imx8mp-phyboard-pollux-rdk: Add console UART bootargs
  2024-08-08  9:34 [PATCH] dts: freescale: imx8mp-phyboard-pollux-rdk: Add console UART bootargs Benjamin Hahn
@ 2024-08-08 10:13 ` Krzysztof Kozlowski
  2024-08-09  7:19   ` Benjamin Hahn
  0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-08 10:13 UTC (permalink / raw)
  To: Benjamin Hahn, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	Teresa Remmet
  Cc: devicetree, imx, linux-arm-kernel, linux-kernel, upstream

On 08/08/2024 11:34, Benjamin Hahn wrote:
> Pass the console UART bootargs parameter via the devicetree for booting
> EFI binaries.
> 
> Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
> ---
>  arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
> index 00a240484c25..552b528fb663 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
> +++ b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
> @@ -16,6 +16,7 @@ / {
>  		     "phytec,imx8mp-phycore-som", "fsl,imx8mp";
>  
>  	chosen {
> +		bootargs = "console=ttymxc0,115200";

Sorry, but stdout is sufficient. If it is not, something else needs fixing.

Best regards,
Krzysztof


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

* Re: [PATCH] dts: freescale: imx8mp-phyboard-pollux-rdk: Add console UART bootargs
  2024-08-08 10:13 ` Krzysztof Kozlowski
@ 2024-08-09  7:19   ` Benjamin Hahn
  0 siblings, 0 replies; 3+ messages in thread
From: Benjamin Hahn @ 2024-08-09  7:19 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, Teresa Remmet
  Cc: devicetree@vger.kernel.org, imx@lists.linux.dev,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, PHYTEC Upstream

On 08.08.24 12:13, Krzysztof Kozlowski wrote:
> On 08/08/2024 11:34, Benjamin Hahn wrote:
>> Pass the console UART bootargs parameter via the devicetree for booting
>> EFI binaries.
>>
>> Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
>> ---
>>   arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
>> index 00a240484c25..552b528fb663 100644
>> --- a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
>> +++ b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
>> @@ -16,6 +16,7 @@ / {
>>   		     "phytec,imx8mp-phycore-som", "fsl,imx8mp";
>>   
>>   	chosen {
>> +		bootargs = "console=ttymxc0,115200";
> Sorry, but stdout is sufficient. If it is not, something else needs fixing.

Ok, looks like stdout-patch should indeed be sufficient for UEFI boot, 
so this is not needed then.

Benjamin

>
> Best regards,
> Krzysztof
>


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

end of thread, other threads:[~2024-08-09  7:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-08  9:34 [PATCH] dts: freescale: imx8mp-phyboard-pollux-rdk: Add console UART bootargs Benjamin Hahn
2024-08-08 10:13 ` Krzysztof Kozlowski
2024-08-09  7:19   ` Benjamin Hahn

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).