[PATCH] dts: freescale: imx8mp-phyboard-pollux-rdk: Add console UART bootargs

Benjamin Hahn posted 1 patch 1 year, 6 months ago
arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts | 1 +
1 file changed, 1 insertion(+)
[PATCH] dts: freescale: imx8mp-phyboard-pollux-rdk: Add console UART bootargs
Posted by Benjamin Hahn 1 year, 6 months ago
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>
Re: [PATCH] dts: freescale: imx8mp-phyboard-pollux-rdk: Add console UART bootargs
Posted by Krzysztof Kozlowski 1 year, 6 months ago
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
Re: [PATCH] dts: freescale: imx8mp-phyboard-pollux-rdk: Add console UART bootargs
Posted by Benjamin Hahn 1 year, 6 months ago
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
>