immortalwrt/target/linux
Szabolcs Hubai e85d410a79 ramips: mt7621: use lzma-loader for D-Link DIR-860L B1
This device has trouble extracting big kernel from flash,
and supports LZMA compressed kernels only.

Using OpenWrt kernel loader saves us 64 KB compared to the dictionary
size limiting workaround.

Factory image sizes (commit: 5f126c541a) with "CONFIG_ALL_KMODS=y":
- original ("-d23", default): 4784188 bytes, LZMA ERROR 1
- with "-d19": 4915260, LZMA ERROR 1
- with "-d18": 4915260, diff to original: +128 KB
- with "-d17": 4980796, diff to original: +192 KB
- with this patch: 4849724, diff to original: +64 KB

To save some CPU cycle, use minimal compression ("-a0") for the LZMA
compressed uImage.

The most robust solution would use a different loader,
which reads the compressed kernel directly from the flash.
See the thread at [0] for more details!

[0] http://lists.infradead.org/pipermail/openwrt-devel/2020-April/022926.html

Signed-off-by: Szabolcs Hubai <szab.hu@gmail.com>
Tested-by: Stijn Segers <foss@volatilesystems.org>
[fixed identation]
Signed-off-by: David Bauer <mail@david-bauer.net>
2020-04-28 10:33:41 +08:00
..
apm821xx Merge Mainline 2020-04-25 11:43:44 +08:00
ar7 kernel: bump to 4.9.207, 4.14.160, 4.19.91 2019-12-24 23:57:52 -08:00
ar71xx kernel: bump 4.14 to 4.14.177 2020-04-25 10:18:50 +08:00
arc770 update target 2019-08-19 22:26:19 +08:00
archs38 apm821xx/archs38/armvirt/gemini/imx6/kirkwood/lantiq/malta: add kernel 5.4 support 2020-04-16 18:09:15 +08:00
armvirt apm821xx/archs38/armvirt/gemini/imx6/kirkwood/lantiq/malta: add kernel 5.4 support 2020-04-16 18:09:15 +08:00
at91 at91: switch to 4.14 (#3040) 2020-02-11 17:26:30 +08:00
ath25 kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3375) 2020-02-29 16:28:07 +08:00
ath79 ath79: enable SGMII workaround for affected boards 2020-04-28 10:32:55 +08:00
bcm27xx kernel: bump 5.4 to 5.4.35 2020-04-25 21:05:03 +08:00
bcm47xx Merge Mainline 2020-04-22 23:18:30 +08:00
bcm53xx Merge Mainline 2020-04-25 11:43:44 +08:00
bcm63xx Merge Mainline 2020-04-25 11:43:44 +08:00
cns3xxx kernel: bump 4.19 to 4.19.118 2020-04-25 11:08:19 +08:00
gemini apm821xx/archs38/armvirt/gemini/imx6/kirkwood/lantiq/malta: add kernel 5.4 support 2020-04-16 18:09:15 +08:00
generic kernel: backport support for clause 37 1000Base-X auto-negotiation 2020-04-26 11:55:26 +08:00
imx6 imx6: add back perf monitor related config symbol 2020-04-26 11:54:43 +08:00
ipq40xx Merge Mainline 2020-04-25 11:43:44 +08:00
ipq806x Merge Mainline 2020-04-25 11:43:44 +08:00
ipq807x ipq807x: add very basic target support 2020-02-29 22:59:08 -08:00
ixp4xx kernel: bump 4.9 to 4.9.220 2020-04-25 08:06:59 +08:00
kirkwood apm821xx/archs38/armvirt/gemini/imx6/kirkwood/lantiq/malta: add kernel 5.4 support 2020-04-16 18:09:15 +08:00
lantiq lantiq/fritz 7312: set maximum speed to 100 mbit 2020-04-25 12:10:56 +08:00
layerscape kernel: bump 4.14 to 4.14.177 2020-04-25 10:18:50 +08:00
malta apm821xx/archs38/armvirt/gemini/imx6/kirkwood/lantiq/malta: add kernel 5.4 support 2020-04-16 18:09:15 +08:00
mediatek Merge Mainline 2020-04-25 11:43:44 +08:00
mpc85xx kernel: bump 5.4 to 5.4.34 2020-04-22 09:09:42 +08:00
mvebu mvebu: tidy up support for GL.iNet GL-MV1000 2020-04-27 08:47:41 +08:00
mxs Merge Mainline 2020-04-25 11:43:44 +08:00
octeon octeon: add support for kernel 5.4 2020-04-24 08:15:26 +08:00
octeontx kernel: bump 5.4 to 5.4.33 2020-04-17 22:44:22 +08:00
omap update target 2019-08-19 22:26:19 +08:00
orion update target 2019-08-19 22:26:19 +08:00
oxnas oxnas: move service file to correct place 2020-04-27 08:41:17 +08:00
pistachio kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3375) 2020-02-29 16:28:07 +08:00
ramips ramips: mt7621: use lzma-loader for D-Link DIR-860L B1 2020-04-28 10:33:41 +08:00
rb532 build: allow overriding default selection state for devices 2019-10-19 11:35:16 -07:00
samsung update target 2019-08-19 22:26:19 +08:00
sunxi apm821xx/archs38/armvirt/gemini/imx6/kirkwood/lantiq/malta: add kernel 5.4 support 2020-04-16 18:09:15 +08:00
tegra mpc85xx/mvebu/mxs/octeontx/oxnas/sunxi/tegra/zynq: add kernel 5.4 support 2020-04-16 19:38:37 +08:00
uml update target 2019-08-19 22:26:19 +08:00
x86 Merge Upstream 2020-04-15 21:15:07 +08:00
zynq mpc85xx/mvebu/mxs/octeontx/oxnas/sunxi/tegra/zynq: add kernel 5.4 support 2020-04-16 19:38:37 +08:00
Makefile update target 2019-08-19 22:26:19 +08:00