cancel
Showing results for 
Search instead for 
Did you mean: 

How to restore eMMC on stm32mp157a EV1 board

EMaes.1
Associate II

While learning how eMMC partitioning works, I issued a mmc create gp command from Linux and since then I cannot flash a new image on a EV1 board. The error message I get is:

Message from Embedded Flash Loader : ssbl (0x6): invalid address 0x80000 (min=0x400000)

I can boot using the sdcard and access eMMC from there, I need to know how to restore eMMC so it will accept flashing commands.

I could recreate partitions using the gpt command on u-boot and "dd" ext4 fs images to the partitions. The boot process start on the eMMC but since UUIDs don't match what is in the image, it does not finish booting. Which leads back to cube programmer and being unable to flash a new linux image.

My question is essentially how to put eMMC back in a state I can flash it.

Regards.

1 REPLY 1
MCarl.3
Associate II

Best bet would be to erase the eMMC from u-boot prompt then try to flash image to eMMC:

Here's some instructions on how to erase eMMC from u-boot prompt, it's worked for me on a custom board we have with the same eMMC as the EV1:

How to Erase the eMMC Flash Memory on Toradex Apalis or Colibri Modules