cancel
Showing results for 
Search instead for 
Did you mean: 

Stm32mp157a kernal booting issue

Sindhu Vadde
Associate III

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 discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
PatrickF
ST Employee

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.

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.
NEW ! Sidekick STM32 AI agent, see here