How to boot on emmc with specific emmc pin out ?
Hello,
We have a custom board with STM32MP157F silicon rev Z with emmc 24AA64T-I/OT . We are able to flash out OS with cubePorgrammer but we are not able to boot on emmc after flashing.
According to :
https://wiki.st.com/stm32mpu/wiki/STM32MP15_ROM_code_overview#Boot_from_SD_card
https://wiki.stmicroelectronics.cn/stm32mpu/wiki/How_to_update_OTP_with_U-Boot
and
RM0436 part 4 we programmed OTP registers with the following parameters :
- CFG3 = 0x00000007 ( emmc_if_id=2 qspi_not_default_af=1 (config by mistake) )
- CFG5=0x10953191
- CFG6=0x2f952e95
- CFG7=0x24952395
where :
-0x3191 == sdmmc2_ck PC1 AF9 no pull medium speed
-0x1095==sdmmc2_cmd PA0 AF9 pull up high speed
-0x2e95==sdmmc2_D0 PB14 AF9 pull up high speed
-0x2f95==sdmmc2_D1 PB15 AF9 pull up high speed
-0x2395==sdmmc2_D2 PB3 AF9 pull up high speed
-0x2495==sdmmc2_D3 PB4 AF9 pull up high speed
When we set the boot pins according to emmc boot no thing append. We have no log on serial port and the MP1 entrer in usb/uart dfu mode.
