Skip to main content
asadullah4571
Associate III
November 12, 2024
Question

Starter Package Flashing issue on SD Card for STM32MP157F-DK2

  • November 12, 2024
  • 1 reply
  • 1610 views

Hi ,

I am trying flash the  Starter Package of Krikstone and Dunfell branch, but unsuccessful, but the starter package of  Mickledore branch successfully flash on sd-card.

Note:  Mainly Error on Bootfs partition , and got the segmentation fault.
         SD Card -- 16 GB



1 reply

PatrickF
Technical Moderator
November 12, 2024

Hi @asadullah4571 

 

Did you flash on target using STM32CubeProg ?

Did you use the official Starter Package or a rebuilt version on your own ?

https://www.st.com/en/embedded-software/stm32mp1starter.html#get-software

I remind:

  • Mickledore Starter Package: v5.1.0 (stm32mp1-openstlinux-6.1-yocto-mickledore-mpu-v24.06.26)
  • Kirkstone Starter Package: v4.1.0 (stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.11.23)
  • Dunfell Starter Package: v3.1.0 (stm32mp1-openstlinux-5.10-dunfell-mp1-21-11-17)

Did you try using "FlashLayout_board_stm32mp157f-dk2-deleteall.tsv" before flashing another Starter Package ?

What is the rationale to go back to Dunfell (as Kirkstone is LTS) ?

Could you share the board UART console log during flashing ?

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
asadullah4571
Associate III
November 12, 2024

Hi @PatrickF 

Did you flash on target using STM32CubeProg ?  yes  

Did you use the official Starter Package or a rebuilt version on your own ?  Official starter Package as well as Krikstone branch( i changes many thing on distribution package adding third party layers, Compilation successful , but flash errors), so i decided first use the Starter Package, but flash error.

list of the official Starter package that i want to use 

md@pc:~/Workspace/Starter_Pack$ ls
en.FLASH-stm32mp1-openstlinux-5-10-dunfell-mp1-21-11-17_tar  
en.FLASH-stm32mp1-openstlinux-5-10-dunfell-mp1-21-11-17_tar.xz
en.FLASH-stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.11.23  
en.FLASH-stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.11.23.tar.gz
stm32mp1-openstlinux-6.1-yocto-mickledore-mpu-v24.06.26        
md@pc:~/Workspace/Starter_Pack$  

Did you try using "FlashLayout_board_stm32mp157f-dk2-deleteall.tsv" before flashing another Starter Package ? Yes i attached the log for deleteall.tsv and again flash (Optee)

Krikstone LTS branch  i want to use on my project , but i got the error on flashing time, i thought i should check the dunfell branch, unfortunately both are not working. Some 3rt party layers are not supporting Mickledore branch. that's why i want to use krikstone branch.

Could you share the board UART console log during flashing? I attached the log while flashing time as well as deleting TSV log.

Note: I changed the SD-Card , but i got the same error.

PatrickF
Technical Moderator
November 12, 2024

Hi,

apart the supply warning message (which could be ignored if your supply is really 3A but advertising wrongly as Type-C due to cable or else), I did not see issue.

Did you flash using Virtual Machine ?

If yes, could you try with Windows CubeProgrammer ?

Sound very strange that some Starter Package are flashing ok on STM32MP157F-DK2 board while some other not. On our side, we regularly Flash various Starter Package releases on various ST boards without any issues.

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