Skip to main content
Mahendra Sondagar
Associate III
April 22, 2021
Solved

STM32MP157 U-BOOT/SPL GDB debug

  • April 22, 2021
  • 2 replies
  • 1037 views

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 :)

This topic has been closed for replies.
Best answer by Olivier GALLIEN

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

2 replies

Mahendra Sondagar
Associate III
April 23, 2021

Hi.. community

Can i have right suggestions please ?

Thanks

Olivier GALLIEN
Olivier GALLIENBest answer
ST Technical Moderator
April 23, 2021

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

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.