1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux/ramips
Szabolcs Hubai 292d3f00c7 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>
(cherry picked from commit e7ad68d682)
2022-11-12 21:55:11 +01:00
..
base-files/etc ramips: remove model name from LED labels 2020-10-02 14:51:57 +02:00
dts ramips: backport TP-Link RE200 v3/v4 LED fix 2022-11-08 14:15:51 +01:00
files/drivers ramips: skip bbt scan on mt7621 2022-10-10 18:14:30 +02:00
image ramips: define lzma-loader recipe for SEAMA devices 2022-11-12 21:55:11 +01:00
mt76x8 kernel: mtd: backport SafeLoader parser 2022-10-27 12:34:19 +02:00
mt7620 kernel: mtd: backport SafeLoader parser 2022-10-27 12:34:19 +02:00
mt7621 kernel: mtd: backport SafeLoader parser 2022-10-27 12:34:19 +02:00
patches-5.10 ramips: move mt7621_nand driver to files 2022-10-10 18:14:14 +02:00
rt288x generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
rt305x generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
rt3883 generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
Makefile ramips: switch to kernel 5.10 2021-12-13 19:36:52 +01:00
modules.mk ramips: rename mtk-hsdma to hsdma-mt7621 2021-03-04 23:43:02 -10:00