2012/6/28 Hauke Mehrtens <[email protected]>:
> This looks good.

Thanks!


> Would it be possible to just compress the loader.gz different and let
> this load the real kernel image? The lzma compressed kernel image for
> the wndr4500 is 85 KBytes bigger than the one compressed with the other
> parameters. For this device this does not matter as it has 128MB of
> flash, but this new CFE version will probably also be used in other
> devices with less flash.

I've no idea what parameters for gzip compression have to be used, to
let CFE understand that. Standard one didn't work, and I'm afraid I
don't have reference I could analyze (it was possible with LZMA as I
got a working LZMA compressed kernel).

If we really care for space used there is probably one another trick
we could use:
1) Compress loader with non-optimal LZMA (no dictionary)
2) Compress real kernel with optimized LZMA that can be decompressed
by the loader

What do you think about this?

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

Reply via email to