2021-10-15 04:39 AM
I have board based on MB1277 design but on my custom board I'm getting this issue:
NOTICE: CPU: STM32MP157AAC Rev.B
NOTICE: Model: STMicroelectronics STM32MP157C eval daughter on eval mother
INFO: Reset reason (0x15):
INFO: Power-on Reset (rst_por)
INFO: PMIC version = 0x21
INFO: FCONF: Reading TB_FW firmware configuration file from: 0x2ffe3000
INFO: FCONF: Reading firmware configuration information for: stm32mp_io
INFO: Using SDMMC
INFO: Instance 1
INFO: Boot used partition fsbl1
ERROR: stm32_sdmmc2_send_cmd_req: timeout 10ms (cmd = 0,status = 2000)
WARNING: CMD0, Retry: 1, Error: -60
ERROR: stm32_sdmmc2_send_cmd_req: timeout 10ms (cmd = 0,status = 2000)
WARNING: CMD0, Retry: 2, Error: -60
ERROR: stm32_sdmmc2_send_cmd_req: timeout 10ms (cmd = 0,status = 2000)
WARNING: CMD0, Retry: 3, Error: -60
ERROR: SDMMC1 init failed
PANIC at PC : 0x2ffeb033
Exception mode=0x00000016 at: 0x2ffeb033
Any ideas what can cause that? It's booting from SDcard.
2021-10-15 07:29 AM
Hi @MBeli.1 ,
>> I have board based on MB1277
I supposed you mean MB1272 ( aka DK ) right ?
I suggest you to have a look to https://community.st.com/s/article/FAQ-STM32MP1-bring-up-troubleshooting-guide in case it trigs anything.
At this stage first think to look at, is your TF-A Device Tree
How did you generate it ?
Olivier
2021-10-15 07:32 AM
Yes sorry for typo.
TF-A is generated by yocto using: https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package#Building_the_OpenSTLinux_distribution
I'll check page you shared with me. Thanks.
2021-10-15 07:38 AM
Well, TF-A Device Tree supposed to be an input of the build .. not an output.
I may understand you're trying to boot your custom board with the default ST delivery for a DK board ?
But in this case your design really need to be equivalent! ( and it's may not be the case )
Olivier
2021-10-15 07:39 AM
Yes basically it should be same some peripherals are removed.
2021-10-15 07:46 AM
I see an obvious error around SDMMC.. probably worth to double check this area.
You said "booting from SDCard" .. How did you load it ? With Cubeprogrammer ?
2021-10-15 07:47 AM
Flashed using this : https://wiki.st.com/stm32mpu/wiki/How_to_populate_the_SD_card_with_dd_command
2021-10-15 08:08 AM
Hi @MBeli.1 ,
We noticed this trace in your log :
NOTICE: Model: STMicroelectronics STM32MP157C eval daughter on eval mother
Which tend to make us think you are using a BSP for EVAL where you mention a design similar to MB1272 + 157AAC ( no secure feature ) .. which is equivalent to DK1 board.
What TSV did you use as parameter of ./create_sdcard_from_flashlayout.sh ?
Olivier