Message ID | 20250211-stm32f769-uart-fix-v1-1-8d0eaf0b193a@linaro.org |
---|---|
State | New |
Headers | show |
Series | configs: stm32f769-disco: Fix console cmdline | expand |
On 2/11/25 10:12, Linus Walleij wrote: > The Linux cmdline encoded in the defconfig is wrong, the > STM32 USART driver registers as ttySTM0 not ttyS0. > > Signed-off-by: Linus Walleij <linus.walleij@linaro.org> > --- > configs/stm32f769-disco_defconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configs/stm32f769-disco_defconfig b/configs/stm32f769-disco_defconfig > index 5be221afd2facb0af4a3a3f8df0f24fb34eaf10d..9edda0e36b2e92c3dbe3298a3da04bd731dac452 100644 > --- a/configs/stm32f769-disco_defconfig > +++ b/configs/stm32f769-disco_defconfig > @@ -18,7 +18,7 @@ CONFIG_AUTOBOOT_KEYED=y > CONFIG_AUTOBOOT_PROMPT="Hit SPACE in %d seconds to stop autoboot.\n" > CONFIG_AUTOBOOT_STOP_STR=" " > CONFIG_USE_BOOTARGS=y > -CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk consoleblank=0 ignore_loglevel" > +CONFIG_BOOTARGS="console=ttySTM0,115200n8 earlyprintk consoleblank=0 ignore_loglevel" > CONFIG_SYS_PBSIZE=1050 > # CONFIG_DISPLAY_CPUINFO is not set > CONFIG_CYCLIC_MAX_CPU_TIME_US=8000 > > --- > base-commit: cb3612dfe3fd9a702dc3657aae15b07974f9aa0b > change-id: 20250211-stm32f769-uart-fix-66650ddf9c80 > > Best regards, Hi Linus Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Thanks Patrice
diff --git a/configs/stm32f769-disco_defconfig b/configs/stm32f769-disco_defconfig index 5be221afd2facb0af4a3a3f8df0f24fb34eaf10d..9edda0e36b2e92c3dbe3298a3da04bd731dac452 100644 --- a/configs/stm32f769-disco_defconfig +++ b/configs/stm32f769-disco_defconfig @@ -18,7 +18,7 @@ CONFIG_AUTOBOOT_KEYED=y CONFIG_AUTOBOOT_PROMPT="Hit SPACE in %d seconds to stop autoboot.\n" CONFIG_AUTOBOOT_STOP_STR=" " CONFIG_USE_BOOTARGS=y -CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk consoleblank=0 ignore_loglevel" +CONFIG_BOOTARGS="console=ttySTM0,115200n8 earlyprintk consoleblank=0 ignore_loglevel" CONFIG_SYS_PBSIZE=1050 # CONFIG_DISPLAY_CPUINFO is not set CONFIG_CYCLIC_MAX_CPU_TIME_US=8000
The Linux cmdline encoded in the defconfig is wrong, the STM32 USART driver registers as ttySTM0 not ttyS0. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- configs/stm32f769-disco_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- base-commit: cb3612dfe3fd9a702dc3657aae15b07974f9aa0b change-id: 20250211-stm32f769-uart-fix-66650ddf9c80 Best regards,