[Buildroot] BL2: Failed to load image (-80)
Sergey Matyukevich
geomatsi at gmail.com
Tue Jun 8 19:52:57 UTC 2021
Hello Andrey,
> I am currently trying to add support for L-876e.A1 STM32MP1 board from Phytec.
>
> https://www.phytec.de/en/produkte/single-board-computer/phyboard-sargas-stm32mp1/
> https://www.phytec.de/cdocuments/?doc=d4PmEQ
>
> My approach is to transfer parts (patches&Co.) from the provided Yocto
> BSP and package them as required by Buildroot.
>
> I reach the point where the boot process completes successfully and I
> can log in to the shell. However, it works only once after flashing
> the SD card. All the subsequent boots yield the error:
> BL2: Failed to load image (-80)
> and the boot process stopped there.
...
> But maybe there are other possible reasons. I would be thankful for
> any hints on how I can find the reasons for this one-time-only boot
> problem. Of course, when it works I will contribute it back to
> Buildroot.
Some time ago I investigated a similar issue for stm32mp157c-dk2 board.
In my case error code was different, but behavior was similar to yours.
RFC patch and root cause analysis is available in buildroot patchwork:
https://patchwork.ozlabs.org/project/buildroot/patch/20210130204456.793098-1-geomatsi@gmail.com/
Regards,
Sergey
More information about the buildroot
mailing list