openwrt/target/linux/ath79
Michael Pratt 1b8bd17c2d 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>
2021-04-08 09:20:59 +02:00
..
base-files/etc/hotplug.d/ieee80211 ath79: add WiFi migration for AR913x 2020-09-28 16:23:03 +02:00
dts ath79: Add support for Buffalo WZR-HP-G300NH 2021-03-22 09:23:10 +01:00
files ath79: ar934x-nand: fix broken nand on kernel 5.10 2021-04-06 17:00:07 +02:00
generic ath79: fix label_mac for NEC Aterm WG1200CR 2021-03-27 16:28:01 +01:00
image ath79: lzma-loader: allow setting custom kernel magic 2021-04-08 09:20:59 +02:00
mikrotik treewide: remove execute bit and shebang from board.d files 2021-03-06 11:30:06 +01:00
nand treewide: remove execute bit and shebang from board.d files 2021-03-06 11:30:06 +01:00
patches-5.4 kernel: backport 5.13 mtd partitioning changes 2021-03-29 08:46:17 +02:00
patches-5.10 kernel: backport 5.13 mtd partitioning changes 2021-03-29 08:46:17 +02:00
tiny treewide: remove execute bit and shebang from board.d files 2021-03-06 11:30:06 +01:00
config-5.4 ath79: enable Regulator support for target 2021-02-22 00:57:25 +01:00
config-5.10 ath79: enable AT803X PHY for kernel 5.10 2021-03-05 00:03:57 +01:00
Makefile ath79: add kernel 5.10 support 2021-02-20 01:26:33 +01:00
modules.mk ath79: add new OF only target for QCA MIPS silicon 2018-05-07 08:06:51 +02:00