On Mon, Jun 03, 2019 at 03:38:13PM +0300, roman.stratiie...@globallogic.com wrote:
> From: Roman Stratiienko <roman.stratiie...@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.stratiie...@globallogic.com> Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: PGP signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot