cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP1 EMMC booting issue in U-boot.

Navaneeth kumar
Associate III

we are working on STM32MP1 in UBOOT 2018 version .

we are trying to access the EMMC from UBOOT by using following commands in the below link

https://develop.phytec.com/phycore-imx7/linux/pd18.1.0/how-to-guides/flashing-and-booting-from-emmc

EMMC is device detecting, but while writing image into EMMC device is getting hanged.

so we are unable to write image into EMMC.

Please help us in this regards.

3 REPLIES 3

Is this a custom board?

Is there a mismatch between the image size and the eMMC capacity?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Hi ,

thanks for the reply.

yes, we are using stm32mp157a processor in my custom board. EMMC capacity is 8bit and image size is fine.

PatrickF
ST Employee

Hi @Navaneeth kumar​ 

The link you provided is for NXP product, not sure it will work very same for STM32MP1.

What about using CubeProgrammer ? Any messages ?

See https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-EV1/Let%27s_start/Populate_the_target_and_boot_the_image.

Populating eMMC is very similar than SD-Card, just use relevant flashlayout file.

See also https://wiki.st.com/stm32mpu/wiki/STM32CubeProgrammer

and https://wiki.st.com/stm32mpu/wiki/STM32CubeProgrammer_flashlayout#e-E2-80-A2MMC

Regards.

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

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.