openwrt/target/linux/ath79/image
Michael Pratt 1f6ec4b29e ath79: lzma-loader: allow setting custom kernel magic
...and max flash offset

The mtdsplit parser was recently refactored
to allow the kernel to have custom image header magic.

Let's also do this for the lzma-loader

For example:
When implemented together,
this allows the kernel to "appear" to be a rootfs
by OEM software in order to write an image
that is actually kernel + rootfs.

At the same time,
it would boot to openwrt normally
by setting the same magic in DTS.

Both of the variables
have a default value that is unchanged
when not defined in the makefiles

This has no effect on the size of the loader
when lzma compressed.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
(cherry picked from commit 1b8bd17c2d)
2021-06-11 07:20:31 +02:00
..
bin ath79: add support for PISEN WMB001N 2019-08-08 21:00:59 +08:00
lzma-loader ath79: lzma-loader: allow setting custom kernel magic 2021-06-11 07:20:31 +02:00
common-buffalo.mk ath79: use common device definition for Buffalo devices 2020-09-16 17:31:03 +02:00
common-mikrotik.mk ath79/mikrotik: disable building NAND images 2020-12-27 20:33:57 +01:00
common-netgear.mk ath79: fix factory image generation for Netgear and Zyxel boards 2021-02-14 19:21:38 +01:00
common-senao.mk ath79: rename 'engenius' Makefile definitions to 'senao' 2021-06-11 07:20:31 +02:00
common-tp-link.mk ath79: replace custom uImageArcher generation 2020-06-29 01:08:09 +02:00
common-yuncore.mk ath79: add support for YunCore TFTP image generation 2019-11-25 17:32:46 +01:00
generic-tp-link.mk treewide: make AddDepends/usb-serial selective 2021-06-08 22:50:32 +02:00
generic-ubnt.mk ath79: add support for Ubiquiti UniFi AP Outdoor+ 2021-02-01 00:47:46 +01:00
generic.mk ath79: rename 'engenius' Makefile definitions to 'senao' 2021-06-11 07:20:31 +02:00
Makefile ath79: lzma-loader: allow setting custom kernel magic 2021-06-11 07:20:31 +02:00
mikrotik.mk ath79: mikrotik: enable SFP on RB922UAGS-5HPaCD 2021-04-30 10:26:34 +02:00
nand.mk ath79: fix factory image generation for Netgear and Zyxel boards 2021-02-14 19:21:38 +01:00
tiny-netgear.mk ath79: netgear: trim down uImage customisations 2020-11-25 16:33:49 +01:00
tiny-tp-link.mk ath79: add support for TP-Link TL-WA901ND v3 2020-08-08 20:40:48 +02:00
tiny.mk ath79: rename 'engenius' Makefile definitions to 'senao' 2021-06-11 07:20:31 +02:00