Skip to main content
Navaneeth kumar
Associate II
December 24, 2022
Question

STM32MP1 EMMC booting issue in U-boot.

  • December 24, 2022
  • 2 replies
  • 1078 views

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.

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
December 24, 2022

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 VenmoUp vote any posts that you find helpful, it shows what's working..
Navaneeth kumar
Associate II
December 26, 2022

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
Technical Moderator
January 3, 2023

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 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent