cancel
Showing results for 
Search instead for 
Did you mean: 

Issue booting on custom board

MBeli.1
Associate III

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.

7 REPLIES 7
Olivier GALLIEN
ST Employee

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

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

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.

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

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
MBeli.1
Associate III

Yes basically it should be same some peripherals are removed.

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 ?

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Olivier GALLIEN
ST Employee

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

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.