openwrt/target/linux
Szabolcs Hubai ce19571004 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-27 12:22:02 +02:00
..
apm821xx kernel: bump 4.19 to 4.19.115 2020-04-16 13:23:11 +02:00
ar71xx kernel: bump 4.14 to 4.14.176 2020-04-16 13:23:11 +02:00
arc770 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
archs38 archs38: switch to kernel 5.4 by default 2020-03-29 16:23:57 +02:00
armvirt kernel: remove non-existant symbols 2020-04-13 22:40:19 +02:00
at91 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
ath25 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
ath79 ath79: enable SGMII workaround for affected boards 2020-04-27 12:22:02 +02:00
bcm27xx kernel: bump 5.4 to 5.4.35 2020-04-25 13:22:28 +02:00
bcm47xx kernel: bump 5.4 to 5.4.33 2020-04-17 15:18:12 +02:00
bcm53xx bcm53xx: 5.4: enable NAND 2020-04-26 21:45:41 +02:00
bcm63xx bcm63xx: switch to 5.4 kernel 2020-04-18 20:58:38 +02:00
cns3xxx cns3xx: remove support for kernel 4.14 2020-04-12 13:43:52 +02:00
gemini gemini: Refine package list 2020-04-09 00:12:46 +02:00
generic kernel: backport fix for non-regular inodes on f2fs 2020-04-26 21:45:41 +02:00
imx6 imx6: add back perf monitor related config symbol 2020-04-25 13:22:28 +02:00
ipq40xx ipq40xx: fix alphabetical order in 02_network 2020-04-24 20:03:41 +02:00
ipq806x ipq806x: switch to 5.4 kernel 2020-04-09 00:12:46 +02:00
ipq807x treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
kirkwood kirkwood: fix DTS partitions for Pogoplug E02 2020-03-27 17:12:46 +01:00
lantiq lantiq/fritz 7312: set maximum speed to 100 mbit 2020-04-21 00:01:49 +02:00
layerscape kernel: bump 4.14 to 4.14.176 2020-04-16 13:23:11 +02:00
malta malta: Remove kernel 4.14 support 2020-03-12 09:28:23 +01:00
mediatek mediatek: disable the unused pcie port for elecom wrc-2533gent 2020-04-22 10:50:15 +02:00
mpc85xx treewide: Don't diverge from upstream default HZ settings on 4.19 2020-03-29 17:27:54 +01:00
mvebu mvebu: tidy up support for GL.iNet GL-MV1000 2020-04-27 00:25:12 +02:00
mxs kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
octeon octeon: use kernel version 5.4 for testing 2020-04-23 18:38:54 +02:00
octeontx kernel: bump 5.4 to 5.4.33 2020-04-17 15:18:12 +02:00
omap kernel: remove non-existant symbols 2020-04-13 22:40:19 +02:00
oxnas oxnas: move service file to correct place 2020-04-26 21:05:15 +02:00
pistachio treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
ramips ramips: mt7621: use lzma-loader for D-Link DIR-860L B1 2020-04-27 12:22:02 +02:00
rb532 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
rockchip rockchip: add support for Pine64 RockPro64 2020-04-20 16:37:56 +02:00
samsung treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
sunxi kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
tegra tegra: correct cpu subtype 2020-03-28 22:58:36 +01:00
uml treewide: Remove self from MAINTAINER entries 2019-12-23 13:18:04 -08:00
x86 x86: fix unusable squashfs images by adding missing padding 2020-04-26 12:53:27 +02:00
zynq zynq: switch to kernel 5.4 2020-03-17 00:51:48 +01:00
Makefile