TFA boot failed with eMMC even with proper OTP fuses
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-04-22 9:07 PM
https://community.st.com/s/question/0D53W00000PoivmSAB/changing-the-emmc-pins-with-otp
I have the same pin mapping as above:
- SDMMC2_CK - PE3 (AF09)
- SDMMC2_D0 - PE6 (AF07)
- SDMMC2_CMD - PG6 (AF10)
I programmed the OTP fuses as follows:
- WORD 3: 0x23000004 (I also program SD as primary and eMMC as secondary)
- WORD 5: 0x56755395
- WORD 6: 0x000076A4
The problem is that even after flashing the eMMC with the TFA image as per the following procedure: https://u-boot.readthedocs.io/en/latest/board/st/stm32mp1.html#prepare-emmc
I still get nothing on the UART4 console.
We also put a scope on the SDMMC2_CK line and no clock is detected.
Does it mean the BootROM is not accessing the eMMC?
Am I missing something?
Solved! Go to Solution.
- Labels:
-
SDIO-SDMMC
-
STM32MP15 Lines
-
UART-USART
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-27 6:26 AM
the issue was resolved but I don't remember the resolution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-04-26 6:18 AM
Hi @cfilipescu​ ,
there could be multiple causes:
- bad BOOT pins (please ensure it is neither 0b000 nor 0b100)
- badly programmed eMMC
- badly eMMC setup (e.g. PARTITION_CONFIG in ext-CSD of the eMMC )
- badly formatted TF-A binary (especially header)
- bad OTP (those you listed sound ok)
- bad HW around eMMC (supplies, pull-ups, etc...)
Could you try using CubeProgrammer to flash TF-A using USB ?
Please check also https://wiki.st.com/stm32mpu/wiki/STM32MP15_ROM_code_overview#Debug_and_Error_messages
and try to get the BootROM trace using https://wiki.st.com/stm32mpu/wiki/STM32MP15_ROM_trace_analyzer
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-27 6:26 AM
the issue was resolved but I don't remember the resolution
