[PATCH] add support for loading lzma compressed kernels

wilbur.chan wilbur512 at gmail.com
Mon Nov 16 08:37:38 EST 2009

2009/11/16 Florian Fainelli <florian at openwrt.org>
> Hi Eric,
> This patch allows one to load a lzma compressed kernel using kexec -l.
> As I wanted the lzma code to be very similar to the existing
> zlib slurp_decompress I took lzread and associated routines
> from the cpio lzma support. Tested on my x86 laptop using the
> following commands:
> lzma e bzImage bzImage.lzma
> kexec -l bzImage.lzma
> Having lzma support is particularly useful on some embedded
> systems on which we have the kernel already lzma compressed
> and available on a mtd partition.


btw, is there any solution to uImage format   ?  :D

More information about the kexec mailing list