cancel
Showing results for 
Search instead for 
Did you mean: 

Enabling Early printk in linux kernal for stm32mp157a processor .

Sindhu Vadde
Associate III

Hi,

We are using stm32mp157a-dk1 board.So we want to change the default console serial port(UART4) to anthour serial port(UART 7). I have changed respective .dts files in uboot it is working properly up to uboot.Know i want to change in kernal.

So i Refereed St wiki.They said that we need to enable to CONFIG_DEBUG_LL, CONFIG_STM32MP1_DEBUG_UART and CONFIG_EARLY_PRINTK using the Linux Menuconfig.

Refer below link for your reference

https://wiki.st.com/stm32mpu/wiki/Dmesg_and_Linux_kernel_log#earlyprintk

I am unable to active those configurations through linux menuconfig. I am using linux-5.13 version. How can i activate CONFIG_DEBUG_LL, CONFIG_STM32MP1_DEBUG_UART and CONFIG_EARLY_PRINTK?

I am attaching my screenshots for linux-menuconfig and my uboot log.

could you please help us in this regards.

1 REPLY 1
PatrickF
ST Employee

Hi @Sindhu Vadde​ 

Don't know it this is the root cause, but Kernel 5.13 is not supported by OpenSTLinux ecosystem, it is either 5.10 with Ecosystem 3.x or 5.15 with Ecosystem 4.x .

Regards,

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.