[U-Boot] [PATCH] image: android: allow to wrap uImage into the Android boot image

Tom Rini trini at konsulko.com
Wed Jul 24 20:05:50 UTC 2019


On Mon, Jun 03, 2019 at 03:38:13PM +0300, roman.stratiienko at globallogic.com wrote:

> From: Roman Stratiienko <roman.stratiienko at globallogic.com>
> 
> This allows to use any available compression format with Android boot image
> 
> Since not all available compression formats have a magic number we should
> explicitly specify type of compression.
> 
> For this purpose using uImage format becomes very useful, as this format is
> well-known by the community and mkimage tool is already available.
> 
> Usage example:
> mkimage -A ARM64 -T kernel -C lzma -d Image.lzma out/kernel
> 
> At this moment only -C option is handled, but specifying -A and -T options
> are recommended for compatibility reasons in the future.
> 
> Kernel that compressed with LZ4 can be already used without wrapping into
> the uImage, but I recommend wrapping it into the uImage in order to avoid
> situations when by some mistake legacy LZ4 is used, that is interpreted as
> raw Image and causes CPU to enter Exception Handler without providing any
> meaningful explanation to the user.
> 
> Signed-off-by: Roman Stratiienko <roman.stratiienko at globallogic.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190724/648e213c/attachment.sig>


More information about the U-Boot mailing list