一、背景
android L 开始支持arm64 cpu 。
但是通过kernel官方文档,可以看到arm64不再支持kernel压缩了。
kernel/Documentation/arm64/booting.txt
3. Decompress the kernel image
------------------------------
Requirement: OPTIONAL
The AArch64 kernel does not currently provide a decompressor and
therefore requires decompression (gzip etc.) to be performed by the boot
loader if a compressed Image target (e.g. Image.gz) is used. For
bootloaders that do not implement this requirement, the uncompressed
Image target is available instead.
翻译一下:
AArch64架构 kernel 不提供gzip等解压器(为什么arm64不支持?),如果要使用压缩的kernel image, bootloader必然支持解压功能(