cancel
Showing results for 
Search instead for 
Did you mean: 

Boot issue in STM32MP257F-DK board

radbhat
Associate II

Move from MCU forums: STM32MP25 are MPUs - not MCUs


Hello Experts, 
I am using  STM32MP257F-DK board and trying to bring up the board with starter package. 

I followed the steps as mentioned in this link - https://wiki.st.com/stm32mpu/wiki/STM32MP25_Discovery_kits_-_Starter_Package

The starter package that I have downloaded and flashed - en.FLASH-stm32mp2-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06.tar.gz

I was able to flash the SD card successfully as mentioned in section 6.

(Note that I have taken care of boot switches accordingly)

However, when I restart the board for booting, seems there are issues and does not stop at login prompt. Instead stops or boots in loop. Attaching 2 logs with 2 instances of reset. Kindly help to review and suggest work around if  have missed any steps.

~R 

1 ACCEPTED SOLUTION

Accepted Solutions
radbhat
Associate II

Hello Olivier,

FInally I am able to resolve the boot issue. The issue turned out to be due to one of the faulty able used during flashing and port. While image flash was succesful, but seems did not reflected correctly in the SD card. After replacing the cable and port, I see the board is able to boot up. Thanks again for the support!

View solution in original post

4 REPLIES 4
Olivier GALLIEN
ST Employee

Hi @radbhat ,

Quite unusual issue. 

Please specify with .tsv you used for flashing. 

Did you try using another SDCard ? 

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.
radbhat
Associate II

Hello @Olivier GALLIEN , 

Thanks for your response. 

I used this .tsv file as per the wiki guide 

flashlayout_st-image-weston/optee/FlashLayout_sdcard_stm32mp257f-dk-optee.tsv

 

I have tried with another SD card as well, but observed same boot issue. 

Look forward to hear from you on possible root cause and the fix. 

Olivier GALLIEN
ST Employee

Hi  @radbhat ,

We are suspecting an HW issue, maybe around DDR on your board. 

I can suggest few trials to eliminate other problem and confirm this assumption: 

- provide full log of the flash operation with CubeProg

- try populating the SDCard with dd ( How to populate the SD card with dd command - stm32mpu ) 

- try booting maintaining a pressure on the SoC ? 

- try performing some DDR tests with STM32DDRFW-UTIL - stm32mpu 

Thanks 

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.
radbhat
Associate II

Hello Olivier,

FInally I am able to resolve the boot issue. The issue turned out to be due to one of the faulty able used during flashing and port. While image flash was succesful, but seems did not reflected correctly in the SD card. After replacing the cable and port, I see the board is able to boot up. Thanks again for the support!