Thu Jun 25 05:52:11 EDT 2020
To create a bootable image, the LZMA packed kernel prepared with the LZMA loader
has to be packed again with LZMA.
For the initramfs, it needs an LZMA compressed uImage header too.
In the second LZMA compression stage I use the fastest compression ("-a0") to
save some CPU power.
In my previous attempt the "-d18" LZMA parameter needs 128K more space,
while "-d19" and above causes LZMA ERROR 1.
With this patch (LZMA loader + double LZMA compression) it needs 64K more space,
compared to the snapshot image, which uses "-d23" as default.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel