Skip to main content
Visitor II
August 11, 2022
Question

Enabling Early printk in linux kernal for stm32mp157a processor .

  • August 11, 2022
  • 1 reply
  • 1409 views

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.

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    August 31, 2022

    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,