openwrt/target/linux
Szabolcs Hubai e7ad68d682 ramips: define lzma-loader recipe for SEAMA devices
Define "Device/seama-lzma-loader" recipe for SEAMA devices to help
contributors avoid doing recipe mistakes.

In a forum topic [0] I was under the impression that the good old
uimage-lzma-loader didn't fix the LZMA ERROR 1 for a device.

It was found out, that the uimage-lzma-loader never worked because the
KERNEL variable was overriden earlier (also an LZMA ERROR 1 related
commit, 6fba88de19), and the "use lzma-loader" fix (commit
09faa73c53) didn't catch that to include the "loader-kernel" part.

I contributed an LZMA ERROR 1 fix (commit ce19571004) for the SEAMA
device D-Link DIR-860L B1, where I had to duplicate the whole
uimage-lzma-loader recipe because of the special needs of the vendor
bootloader.

This new recipe reuse most of uimage-lzma-loader's KERNEL definiton to
avoid duplication.

It uses "relocate-kernel" as it needed for D-Link DIR-860L B1 to
boot from flash, and it's compatible with D-Link DIR-645 too.

It repacks lzma-loader with lzma for kernel (without uImage), because
these weird hacked vendor bootloaders accepts only LZMA compressed
kernels from flash:

    We have SEAMA, Image Size = 4759794
    Verifying Checksum ...
    Uncompressing SEAMA linux.lzma ... OK

It uses uImage header for initramfs kernel to be little bit verbose.

0: https://forum.openwrt.org/t/136435/10

Signed-off-by: Szabolcs Hubai <szab.hu@gmail.com>
2022-11-12 18:15:55 +01:00
..
airoha
apm821xx kernel: bump 5.10 to 5.10.154 2022-11-12 17:05:13 +01:00
archs38
armvirt
at91
ath25
ath79 ath79: fix MAC address assignment for TP-Link ar7241 devices 2022-11-12 17:10:12 +01:00
bcm27xx kernel: bump 5.15 to 5.15.78 2022-11-12 17:05:13 +01:00
bcm47xx mac80211: remove old legacy legacy drivers 2022-11-09 20:44:28 +01:00
bcm53xx bcm53xx: update DTS files with the latest changes 2022-11-10 09:51:25 +01:00
bcm63xx
bcm4908 bcm4908: refresh kernel 5.15 config 2022-11-11 17:21:55 +01:00
bmips
gemini
generic kernel: bump 5.10 to 5.10.154 2022-11-12 17:05:13 +01:00
imx
ipq40xx ipq40xx: add support for GL.iNet GL-A1300 2022-11-09 23:34:37 +01:00
ipq806x ipq806x: kernel ramoops storage for C2600/AD7200 2022-11-09 17:07:15 +01:00
kirkwood
lantiq kernel: bump 5.15 to 5.15.77 2022-11-05 16:26:38 +01:00
layerscape
malta
mediatek mediatek: filogic: enable maxlinear PHY support, refresh config 2022-11-09 20:43:55 +01:00
mpc85xx
mvebu
mxs
octeon
octeontx
omap
oxnas
pistachio kernel: backport support for "linux,rootfs" in DT 2022-11-08 09:12:16 +01:00
qoriq
ramips ramips: define lzma-loader recipe for SEAMA devices 2022-11-12 18:15:55 +01:00
realtek realtek: fix typo in debug message 2022-11-05 16:27:21 +01:00
rockchip
sunxi
tegra
uml
x86
zynq
Makefile