Skip to main content
Visitor II
April 22, 2021
Solved

STM32MP157 U-BOOT/SPL GDB debug

  • April 22, 2021
  • 2 replies
  • 984 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

    Visitor II
    April 23, 2021

    Hi.. community

    Can i have right suggestions please ?

    Thanks

    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