openwrt/target/linux/ath79
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
..
base-files/etc/hotplug.d/ieee80211 ath79: add WiFi migration for AR913x 2020-09-28 16:23:03 +02:00
dts ath79: create common DTSI for Senao qca955x APs 2021-06-11 07:20:31 +02:00
files ath79: force SGMII SerDes mode to MAC operation 2021-05-03 01:39:10 +02:00
generic ath79: fix label_mac for NEC Aterm WG1200CR 2021-04-02 16:04:47 +02:00
image ath79: lzma-loader: allow setting custom kernel magic 2021-06-11 07:20:31 +02:00
mikrotik ath79: mikrotik: swap RB922UAGS-5HPaCD eth0/1 MACs 2021-04-30 10:26:34 +02:00
nand ath79: remove generic profiles 2021-01-27 21:31:20 +01:00
patches-5.4 kernel: bump 5.4 to 5.4.124 2021-06-06 17:54:51 +02:00
tiny ath79: make all eth ports LAN for Engenius APs 2021-02-08 16:34:18 +01:00
config-5.4 ath79: enable elf mtd splitter 2020-09-09 20:41:50 +03:00
Makefile ath79: move the squashfs feature to the parent target 2020-11-23 13:20:53 +01:00
modules.mk