[PATCH] bootm: have bootm_open_fit return -ENOSYS if support missing
Sascha Hauer
s.hauer at pengutronix.de
Thu Apr 10 00:23:58 PDT 2025
On Wed, 09 Apr 2025 10:30:23 +0200, Ahmad Fatoum wrote:
> Otherwise, os_type will be determined unconditionally for the FIT image
> buffer. As the buffer has zero size, this leads to an os_type of
> filetype_unknown. The ARM32 support has an "ARM raw image" that matches
> against filetype_unknown leading eventually to a crash trying to execute
> the FIT image's FDT header.
>
>
> [...]
Applied, thanks!
[1/1] bootm: have bootm_open_fit return -ENOSYS if support missing
https://git.pengutronix.de/cgit/barebox/commit/?id=d562630b4d5f (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list