openwrt/target/linux
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
..
apm821xx kernel: bump 5.10 to 5.10.24 2021-03-24 11:36:31 +00:00
arc770 treewide: remove execute bit and shebang from board.d files 2021-03-06 11:30:06 +01:00
archs38 archs38: Add CONFIG_HZ=100 2021-03-19 18:00:22 +01:00
armvirt armvirt: add 5.10 testing kernel 2021-04-03 18:56:02 +02:00
at91 treewide: make AddDepends/usb-serial selective 2021-03-06 12:38:38 +01:00
ath25 treewide: remove execute bit and shebang from board.d files 2021-03-06 11:30:06 +01:00
ath79 ath79: lzma-loader: allow setting custom kernel magic 2021-04-08 09:20:59 +02:00
bcm27xx kernel: bump 5.4 to 5.4.108 2021-03-27 16:39:31 +01:00
bcm47xx bcm47xx: make WGT634U NVRAM patch apply again 2021-03-12 21:09:11 +01:00
bcm53xx bcm53xx: enhance support for Linksys EA9500 2021-04-01 08:58:14 +02:00
bcm63xx kernel: bump 5.10 to 5.10.26 2021-03-26 08:19:11 +00:00
bcm4908 bcm4908: fix Netgear R8000P image 2021-04-07 14:46:46 +02:00
bmips kernel: bump 5.10 to 5.10.27 2021-04-03 21:07:22 +01:00
gemini kernel: Move CONFIG_USERIO to generic config 2021-03-27 14:34:22 +01:00
generic kernel: bump 5.10 to 5.10.27 2021-04-03 21:07:22 +01:00
imx6 kernel: move some disabled symbols to generic 2021-03-19 00:59:22 +01:00
ipq40xx ipq40xx: add MikroTik hAP ac2 support 2021-04-05 04:13:28 +02:00
ipq806x kernel: bump 5.4 to 5.4.109 2021-04-02 16:45:28 +02:00
ipq807x kernel: move some disabled symbols to generic 2021-03-19 00:59:22 +01:00
kirkwood kernel: backport 5.13 mtd partitioning changes 2021-03-29 08:46:17 +02:00
lantiq lantiq: add basic support for AVM FRITZ!Box 3390 2021-04-03 18:56:51 +02:00
layerscape kernel: bump 5.4 to 5.4.109 2021-04-02 16:45:28 +02:00
malta kernel: Move CONFIG_USERIO to generic config 2021-03-27 14:34:22 +01:00
mediatek kernel: bump 5.4 to 5.4.109 2021-04-02 16:45:28 +02:00
mpc85xx treewide: remove execute bit and shebang from board.d files 2021-03-06 11:30:06 +01:00
mvebu kernel: backport 5.13 mtd partitioning changes 2021-03-29 08:46:17 +02:00
mxs treewide: remove execute bit and shebang from board.d files 2021-03-06 11:30:06 +01:00
octeon kernel: move some disabled symbols to generic 2021-03-19 00:59:22 +01:00
octeontx kernel: move some disabled symbols to generic 2021-03-19 00:59:22 +01:00
omap kernel: Move CONFIG_USERIO to generic config 2021-03-27 14:34:22 +01:00
oxnas kernel: Move CONFIG_USERIO to generic config 2021-03-27 14:34:22 +01:00
pistachio kernel: add pending mtd patches adding NVMEM support 2021-03-12 18:49:46 +01:00
ramips kernel: bump 5.10 to 5.10.27 2021-04-03 21:07:22 +01:00
realtek realtek: allow writing to "u-boot-env2" 2021-04-08 09:20:59 +02:00
rockchip kernel: bump 5.10 to 5.10.27 2021-04-03 21:07:22 +01:00
sunxi sunxi: enable wifi module on Pine64 boards 2021-03-29 21:44:34 +02:00
tegra kernel: Move CONFIG_USERIO to generic config 2021-03-27 14:34:22 +01:00
uml target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
x86 kernel: Move CONFIG_USERIO to generic config 2021-03-27 14:34:22 +01:00
zynq kernel: Move CONFIG_USERIO to generic config 2021-03-27 14:34:22 +01:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00