Martin Michlmayr wrote: [02/21/2009] > * Martin Michlmayr [2009-02-21 08:50]: >> I've built kernel snapshots for armel based on 2.6.29-rc5. ...
> The kernel currently doesn't fit in flash on the Linksys NSLU2 > and Thecus N2100. In upx I have implemented re-compression using lzma for armel vmlinuz kernels. This offers considerable reduction in size: 1467248 -> 1047496 71.39% vmlinuz/armel vmlinuz-2.6.29-rc5-ixp4xx 1404752 -> 1000640 71.23% vmlinuz/armel vmlinuz-2.6.26-1-ixp4xx The lzma 2.6.26-1-ixp4xx boots and runs for me on my armel (Lenny) NSLU2. It takes about 1 to 2 seconds longer to decompress than the gzipped original. Note that the re-compressed 2.6.29-rc5 is less than 1 MiB by 1080 bytes. General info on upx: http://upx.sourceforge.net Source repository: https://www.pysol.org:4443/hg/upx.hg Pre-release executable: http://BitWagon.com/LzmaFlow/upx (2.9MB) Examples above were processed using: upx --lzma --small -o <out> <in> The current implementation is a post-processor which uses heuristics to understand the layout of the boot image and find the gzipped payload. The upx decompressor for lzma logically replaces the function decompress_kernel() in boot/compressed/misc.c. -- -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

