[PATCH] boot: Support decompressing non-kernel OS images

Tom Rini trini at konsulko.com
Fri Jan 12 14:46:02 CET 2024


On Fri, Dec 15, 2023 at 04:54:16PM -0700, Simon Glass wrote:

> Sometimes the kernel is built as an EFI application rather than a
> binary. We still want to support compression for this case.
> 
> For arm64 the entry point is set later in the bootm_load_os() function,
> since these images are typically relocated due to the 2MB-alignment
> requirement of arm64 images. But since the EFI image is not in the same
> format, we need to update the entry point earlier.
> 
> Set the entry point always, for kernel_noload to resolve this problem.
> It should be harmless to do this always.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240112/947e6880/attachment.sig>


More information about the U-Boot mailing list