diff options
author | Christian Lamparter <chunkeey@googlemail.com> | 2016-07-23 14:20:52 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-07-25 10:38:11 +0200 |
commit | 08257a40530df36528fb2916fe8cf4ecddc526eb (patch) | |
tree | 9b3f5baa2080a92316114aee88bee96ec7d9e8b0 /tools/findutils | |
parent | 04a69843198f2252992812e35ac05016db4a1a94 (diff) | |
download | upstream-08257a40530df36528fb2916fe8cf4ecddc526eb.tar.gz upstream-08257a40530df36528fb2916fe8cf4ecddc526eb.tar.bz2 upstream-08257a40530df36528fb2916fe8cf4ecddc526eb.zip |
apm821xx: use lzma compression for the initramfs images
The MR24's u-boot takes it sweet time decompressing the
LZMA-packed initramfs image. A user reported that
compared to the old gzip method in v2: it "takes a ton
longer to decompress like 4\x the old boot time for
decompression".
This patch also fixes a issue with the WNDR4700's initramfs
image getting to big and causing the following u-boot crash
during the decompression:
"Uncompressing Multi-File Image ... Error: inflate() returned -5
out-of-mem or overwrite error - must RESET board to recover"
This patch fixes both issues by reverting the MR24's initramfs
compression method back to gzip. And choosing to compress the
initramfs within the initramfs image as LZMA by default.
Cc: chrisrblake93@gmail.com
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'tools/findutils')
0 files changed, 0 insertions, 0 deletions