diff options
author | Roman Stratiienko <roman.stratiienko@globallogic.com> | 2019-06-03 15:38:13 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-07-24 20:16:29 +0300 |
commit | 39f790b03ace5b1b7861b154b195eabbe344cfa1 (patch) | |
tree | 3e604614875a9877c3b959685cc6d43640df929f /test | |
parent | dfaad8208f069f95d35f52c4cc69b1a05cd60f75 (diff) | |
download | u-boot-39f790b03ace5b1b7861b154b195eabbe344cfa1.tar.xz |
image: android: allow to wrap uImage into the Android boot image
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@globallogic.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions