cancel
Showing results for 
Search instead for 
Did you mean: 

Error booting from EMMC

KMcev.1
Associate

When trying to boot from emmc I get the following error ...

�NOTICE:  CPU: STM32MP157DAB Rev.Z
NOTICE:  Model: STMicroelectronics STM32MP157DAB-INSTRUO-SOM
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:    Using EMMC
INFO:      Instance 2
INFO:    Boot used partition fsbl1
ERROR:   Boot interface 2 not supported
PANIC at PC : 0x2ffebe9d

Exception mode=0x00000016 at: 0x2ffebe9d

I assume this is an error with my tf-a bootloader? 

I compiled tf-a with the build flag STM32MP_EMMC=1. Are there any other modifications/variables to set when building the tf-a to enable it to boot from emmc?

 

3 REPLIES 3
Olivier GALLIEN
ST Employee

Hi @KMcev.1 ,

 

can you please specify model and provider of STM32MP157DAB-INSTRUO-SOM ? 

 

Usually SOM maker have to do the support for their module 

 

Thanks

 

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.
KMcev.1
Associate

Hi Olivier, thanks for getting back.

It's a our custom SOM. We've based the schematic of the "STM32MP15x Series DDR memory routing guidelines examples". We made a v1 of this board with an sd card and managed to get that up and running ok, we've then swithced out the sd card for an emmc and are in the process of modifiying device trees, bootloaders and flash layouts to get it running. We managed to get it flashing ok over dfu with st programmer, which made me think we were able to write to the emmc ok? But upon boot we get the above error message and my guess was an issue with modifying the tf-a bootlader to support boot over emmc? Is it as simple as building with the STM32MP_EMMC=1 flag? Would it be helpful to share my device tree's?

Hi @KMcev.1 

 

maybe this could help: https://wiki.st.com/stm32mpu/wiki/How_to_cross-compile_with_the_Developer_Package

Regards.

 

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.