cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP157 U-BOOT/SPL GDB debug

Hey.. Hi.. hello..

Hope you all are doing well

I've my custom made board, which is quite similar with the STM32MP157 DK2 board

Unfortunately, it's unable to boot

DTS configuration for the PMIC, Clock and UART seems good

I need to starts with the SPL/U-boot

I need to know, is there any way to debug the SPL/U-boot via CubeIDE ?

I'm intended to do GDB debug via JTAG

All suggestions and recommendations welcome

Thanks :)

1 ACCEPTED SOLUTION

Accepted Solutions
Olivier GALLIEN
ST Employee

Hi @Mahendra Sondagar​ ,

You can't debug Uboot/SPL with CubeIDE but I'm sure this page will help you : https://wiki.st.com/stm32mpu-ecosystem-v1/wiki/U-Boot_-_How_to_debug

Else, "I need to starts with the SPL/U-boot"

Why ?

I remind you that ST does not recommend (in V1.x ecosystem) and even no longer support (ecosystem V2.x and 3.x) this Boot mode. Suggest to use trusted one with TF-A instead.

Hope it help

Olivier

Olivier GALLIEN
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.

View solution in original post

2 REPLIES 2

Hi.. community

Can i have right suggestions please ?

Thanks

Olivier GALLIEN
ST Employee

Hi @Mahendra Sondagar​ ,

You can't debug Uboot/SPL with CubeIDE but I'm sure this page will help you : https://wiki.st.com/stm32mpu-ecosystem-v1/wiki/U-Boot_-_How_to_debug

Else, "I need to starts with the SPL/U-boot"

Why ?

I remind you that ST does not recommend (in V1.x ecosystem) and even no longer support (ecosystem V2.x and 3.x) this Boot mode. Suggest to use trusted one with TF-A instead.

Hope it help

Olivier

Olivier GALLIEN
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.