Skip to main content
Visitor II
August 9, 2022
Question

Stm32mp157a kernal booting issue

  • August 9, 2022
  • 1 reply
  • 690 views

Hi,

We are using stm32mp157a processor in my custom board.I have download stm32mp157a-dk1 discovery kit code.The difference between discovery board and my custom board is Debug Serial port Configuration.

In Discovery Board The debug uart pins are

PG11-->UART4_TX

PB2-->UART4_RX.

where as in my custom board the pins are different

PE0--> UART8_TX

PE1-->UART8_RX

So I have changed the pin muxing and nodes in dts files. And debug_uart_init() in Uboot source code. Up to Uboot It is working fine. I have done the same configuartion except debug_uart_init() in kernal source code.why because debug_uart_init() function is not there in linux source code. when can i get kernal log in my custom board. Please help me in this regards. You can see my log below.

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    August 31, 2022

    Hi @Sindhu Vadde​ ,

    seems there is other difference, please check pins PA13 and PA13 as it seems you have activated USB boot with this pins (so kernel is not started).

    See https://wiki.st.com/stm32mpu/wiki/How_to_configure_U-Boot_for_your_board#Config_node

    especially st,stm32prog-gpios definition

    Regards.