Get stuck in TF-A boot - BL2: Failed to load image - STM32MP1
Hi,
I'm trying to build a Yocto-Linux for an specific STM32MP157 board. I was working with "thud", but now "dunfell" is required, as it is supposed to be long term stable.
The system is built after ST's manual:
https://wiki.st.com/stm32mpu/wiki/How_to_create_your_own_machine
tf-a-stm32mp-2.2
u-boot-stm32mp-2020.01
The Device Tree was adapted and Bitbake is compiling it. But now system get stuck while it executes the TF-A Boot (from SD).
Is there any way to debug or get the reason for image load fail?
When I try to flash it via STProgrammer a "Panic at PC" appears.
Thanks in advance for any advise!
Kai
NOTICE: CPU: STM32MP157AAD Rev.B
NOTICE: Model: STMicroelectronics custom STM32CubeMX board
WARNING: VDD unknownINFO: Reset reason (0x17):
INFO: Power-on Reset (rst_por)
INFO: Using SDMMC
INFO: Instance 1
INFO: Boot used partition fsbl1
NOTICE: BL2: v2.2-r1.0(debug):v2.2-dirty
NOTICE: BL2: Built : 13:36:23, Oct 22 2019
INFO: Using crypto library 'stm32_crypto_lib'
INFO: BL2: Doing platform setup
INFO: RAM: DDR3-DDR3L 16bits 528Mhz K4B4G1646E (v1,1066-7-7-7,cal)
INFO: Memory size = 0x20000000 (512 MB)
INFO: BL2 runs SP_MIN setup
INFO: BL2: Loading image id 4
INFO: Loading image id=4 at address 0x2ffed000
INFO: Image id=4 loaded: 0x2ffed000 - 0x2ffff000
INFO: BL2: Loading image id 5
INFO: Loading image id=5 at address 0xc0100000
INFO: STM32 Image size : 857547
INFO: Image id=5 loaded: 0xc0100000 - 0xc01d15cb
ERROR: BL2: Failed to load image (-80)