2025-05-02 6:12 AM
Hi,
We have a custom carrier board based on STM32MP157DAC. We have built a custom yocto image.
I was able to flash emmc image in DFU mode (000) after making uboot device tree changes I have done same changes in tfa device tree too. But when trying to boot from EMMC (010) It says SDMMC2 init fails and stops.
NOTICE: CPU: STM32MP157DAC Rev.Z
NOTICE: Model: STMicroelectronics STM32MP157F-DK2 Discovery Board
INFO: PMIC version = 0x21
INFO: Reset reason (0x15):
INFO: Power-on Reset (rst_por)
INFO: FCONF: Reading TB_FW firmware configuration file from: 0x2ffe2000
INFO: FCONF: Reading firmware configuration information for: stm32mp_io
INFO: FCONF: Reading firmware configuration information for: stm32mp_fuse
INFO: Using EMMC
INFO: Instance 2
INFO: Boot used partition fsbl1
ERROR: CMD13 failed after 5 retries
ERROR: SDMMC2 init failed
PANIC at PC : 0x2ffec98b
Thanks.