Senior
July 9, 2024
Question
BL2 image load error
- July 9, 2024
- 3 replies
- 2600 views
I'm having some trouble booting my custom board containing a STM32MP157F. I'm able to program everything using STM32CubeProgrammer, but i'm not able to boot:
WARNING: Firmware Image Package header check failed.
WARNING: Failed to obtain reference to image id=2 (-2)
ERROR: BL2: Failed to load image id 2 (-2)
If I'm right image id 2 is HW_CONFIG. What worries me are the following lines in the log:
partitions on mmc1: Writing GPT: success!
done
Erasing fip-b on mmc 1:
Caution! Your devices Erase group is 0x300
The erase range would be change to 0x2c00~0x4bff
done
Erasing u-boot-env on mmc 1:
Caution! Your devices Erase group is 0x300
The erase range would be change to 0x4c00~0x4fff
Could this be the reason why image 2 won't load? Some kind of eMMC alignment issue?
The whole log is attached.
