diff mbox series

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

Message ID 20240808-add_bootargs_to_devicetree-v1-1-79f7ba50b174@phytec.de (mailing list archive)
State New, archived
Headers show
Series dts: freescale: imx8mp-phyboard-pollux-rdk: Add console UART bootargs | expand

Commit Message

Benjamin Hahn Aug. 8, 2024, 9:34 a.m. UTC
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(+)


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

Best regards,

Comments

Krzysztof Kozlowski Aug. 8, 2024, 10:13 a.m. UTC | #1
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
Benjamin Hahn Aug. 9, 2024, 7:19 a.m. UTC | #2
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
>
diff mbox series

Patch

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;
 	};