[PATCH 2/3] ARM: stm32mp: lxa: change stdout-path baud rate from 9600 to 115200
Ahmad Fatoum
a.fatoum at barebox.org
Thu Jun 11 14:14:21 PDT 2026
The LXA boards are the only upstream STM32 boards that set
stdout-path = &uart* instead of explicitly specifying a baud rate.
This would mean the default of 9600 is used, but it goes unnoticed when
booting normally as barebox fixes up a console= line that includes a
baud rate.
When EFI booting GRUB however, GRUB will not pass along the console=
line and thus the board ends up with a 9600 baud Linux console,
confusing users.
A fix for this has been submitted upstream[1]. Until then, have the fix
in barebox as barebox will pass along its device tree when booting via
EFI.
[1]: https://lore.kernel.org/all/20260611-lxa-stdout-path-baudrate-v1-0-59b60a5069ff@pengutronix.de/
Signed-off-by: Ahmad Fatoum <a.fatoum at barebox.org>
---
arch/arm/dts/stm32mp153c-lxa-fairytux2.dtsi | 2 ++
arch/arm/dts/stm32mp157c-lxa-mc1.dts | 2 ++
arch/arm/dts/stm32mp15xc-lxa-tac.dtsi | 2 ++
3 files changed, 6 insertions(+)
diff --git a/arch/arm/dts/stm32mp153c-lxa-fairytux2.dtsi b/arch/arm/dts/stm32mp153c-lxa-fairytux2.dtsi
index 701981358c68..d373ce04cf83 100644
--- a/arch/arm/dts/stm32mp153c-lxa-fairytux2.dtsi
+++ b/arch/arm/dts/stm32mp153c-lxa-fairytux2.dtsi
@@ -10,6 +10,8 @@ / {
barebox,deep-probe;
chosen {
+ stdout-path = "serial0:115200n8";
+
environment {
compatible = "barebox,environment";
device-path = &sdmmc2, "partname:barebox-environment";
diff --git a/arch/arm/dts/stm32mp157c-lxa-mc1.dts b/arch/arm/dts/stm32mp157c-lxa-mc1.dts
index 392194c20bd6..cfccb5207f43 100644
--- a/arch/arm/dts/stm32mp157c-lxa-mc1.dts
+++ b/arch/arm/dts/stm32mp157c-lxa-mc1.dts
@@ -14,6 +14,8 @@ aliases {
};
chosen {
+ stdout-path = "serial0:115200n8";
+
environment-sd {
compatible = "barebox,environment";
device-path = &sdmmc1, "partname:barebox-environment";
diff --git a/arch/arm/dts/stm32mp15xc-lxa-tac.dtsi b/arch/arm/dts/stm32mp15xc-lxa-tac.dtsi
index 6bd119a799e0..8c605fef2cbc 100644
--- a/arch/arm/dts/stm32mp15xc-lxa-tac.dtsi
+++ b/arch/arm/dts/stm32mp15xc-lxa-tac.dtsi
@@ -9,6 +9,8 @@ / {
barebox,deep-probe;
chosen {
+ stdout-path = "serial0:115200n8";
+
environment {
compatible = "barebox,environment";
device-path = &environment_emmc;
--
2.47.3
More information about the barebox
mailing list