For what it's worth... These 2 patches need to be applied to the LZMA source and the squashfs tools. The respective base folders are build_* (i.e. build_mipsel) for the lzma patch and toolchain_build_* (i.e. toolchain_build_mipsel) for the mksquashfs-lzma patch.
Note that the makefile modification will disable building of the regular ZLIB mksquashfs because the mksquahfs.o is now different between mksquashfs and mksquashfs-lzma. To build the normal ZLIB mksquashfs, simply omit _LZMA_PARAMS in the compile of mksquashfs.c. If you want both built, you need to modify the makefile. This is my first 'real' patch so forgive me if I've made a mistake. What good is it? Not much, but a little. You can run the resulting ./mksquashfs-lzma to see the new parameters (-fb, -lc, -lp, and -pb). Some experimentation may save you a few bytes. If you haven't specified -nopad then the difference may not be apparant unless the size change is sufficient to result in a different 4KB alignment. Download the patches here: http://www.bitsum.com/files/patches/freewrt/mksquashfs_lzma_params.tar.gz Any complaints, questions, or comments just let me know. -- Jeremy Collake (db90h) _______________________________________________ freewrt-developers mailing list [email protected] https://www.freewrt.org/lists/listinfo/freewrt-developers
