2012/11/18 Hannu Nyman <[email protected]>:
> Looks like the reason was indeed the lzma compression parameters.
>
> I have already built newest trunk 34245 and it works both in my v1 and v2
> routers.
>
> I actually created the images with two different parameter lines in
> target/linux/ar71xx/image/Makefile:
>
> First that already discussed removal of the current parameters:
>   $(STAGING_DIR_HOST)/bin/lzma e $(1) $(2)
>
> But then also with original parameters, but added the directory size
> limitation from default 8MB to 1 Mb = 20 bits.
>   $(STAGING_DIR_HOST)/bin/lzma e $(1) -lc1 -lp2 -pb2 -d20 $(2)
>
> Both versions worked in both of my routers.
>
> If nobody suggests anything better, I will continue to live with this
> change:
> --- trunk/target/linux/ar71xx/image/Makefile    (revision 34245)
>
> +++ trunk/target/linux/ar71xx/image/Makefile    (working copy)
> @@ -69,7 +69,7 @@
>  endif
>
>  define CompressLzma
> -  $(STAGING_DIR_HOST)/bin/lzma e $(1) -lc1 -lp2 -pb2 $(2)
> +  $(STAGING_DIR_HOST)/bin/lzma e $(1) -lc1 -lp2 -pb2 -d20 $(2)

Could you put some additional comment in the code? About that -d20, to
stop ppl from changing that in the future ;)

-- 
Rafał
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to