openwrt/target/linux/ramips
Mason Clarke 6fba88de19 ramips: reduce lzma dictionary size for D-Link DIR-645
Currently this device fails to boot with the OpenWrt snapshot images
(release images are unaffected). The error message is:
"LZMA ERROR 1 - must RESET board to recover".

This happens because the kernel image is too big for the bootloader
to boot. This commit works around this by decreasing the lzma dictionary
size option from the default 23 to 10.

Before this change the current OpenWrt snapshot image (uncompressed
kernel size 4875139 bytes) failed to boot, while now an even bigger
image (kernel 4.19 with snapshot default config; uncompressed kernel
size 5162833 bytes) boots just fine.

The highest lzma dictionary size option this image booted with was 11.
10 was chosen to have a bit more room for growth.

An unavoidable side-effect of this change is that the compressed kernel
image will take up more space.

Total image size with different dictionary size options:
D23 - 3973903 bytes (base)
D16 - 4113167 bytes (+3.5%  - +139264 bytes)
D12 - 4317967 bytes (+8.7%  - +344064‬ bytes)
D11 - 4383503 bytes (+10.3% - +409600 bytes)
D10 - 4461327 bytes (+12.3% - +487424 bytes)

Fixes: FS#1484
Signed-off-by: Mason Clarke <mclarke2355@gmail.com>
2020-01-05 19:36:45 +01:00
..
base-files ramips: move set-irq-affinity script to mt7621 subtarget 2020-01-03 00:08:35 +01:00
dts ramips: add support for Edimax RA21S 2020-01-04 16:49:59 +01:00
files-4.14/drivers ramips: ethernet: Replace random_ether_addr with eth_hw_addr_random 2019-10-27 14:13:47 +01:00
image ramips: reduce lzma dictionary size for D-Link DIR-645 2020-01-05 19:36:45 +01:00
mt76x8 ramips: fix switch setup for Xiaomi MiWiFi Nano 2019-12-31 12:59:23 +01:00
mt7620 ramips: convert TP-Link MT7620 boards to tpt trigger 2020-01-02 21:41:58 +01:00
mt7621 ramips: add support for Edimax RA21S 2020-01-04 16:49:59 +01:00
patches-4.14 kernel: bump 4.14 to 4.14.158 2019-12-10 09:50:42 +01:00
rt288x ramips: rt288x: use flash location for wan_mac in 02_network 2019-12-12 13:11:49 +01:00
rt305x ramips: rt305x: use flash location for wan_mac in 02_network 2019-12-12 13:11:58 +01:00
rt3883 ramips: fix USB LED for Belkin F9K1109v1 2019-12-20 15:54:33 +01:00
Makefile ramips: switch to linux 4.14 2018-04-06 18:07:43 +02:00
modules.mk kernel: Fix kmod-regmap split 2019-01-27 11:07:14 +01:00