immortalwrt/target/linux
Thibaut VARÈNE f6f0843828 generic: routerbootpart MTD parser for RouterBoot
This driver provides an OF MTD parser to properly assign the RouterBoot
partitions on the flash. This parser builds from the "fixed-partitions"
one (see ofpart.c), but it can handle dynamic partitions as found on
routerboot devices.

The parent node must contain the following:
	compatible = "mikrotik,routerboot-partitions";
	#address-cells = <1>;
	#size-cells = <1>;

Children routerbootpart DTS nodes are defined as follows:
For fixed partitions
	node-name@unit-address {
		reg = <prop-encoded-array>;
		label = <string>;
		read-only;
		lock;
	};

All properties but reg are optional.

For dynamic partitions:
	node-name {
		size = <prop-encoded-array>;
		label = <string>;
		read-only;
		lock;
	};

size property is mandatory unless the next partition is a fixed one or
a "well-known" one (matched from the strings defined below) in which case
it can be omitted or set to 0; other properties are optional.

By default dynamic partitions are appended after the preceding one, except
for "well-known" ones which are automatically located on flash.

Well-known partitions (matched via label or node-name):
 - "hard_config"
 - "soft_config"
 - "dtb_config"

This parser requires the DTS to list partitions in ascending order as
expected on the MTD device.

This parser has been successfully tested on BE (ath79) and LE (ipq40xx
and ramips) hardware.

Tested-by: Baptiste Jonglez <git@bitsofnetworks.org>
Tested-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
Tested-by: Tobias Schramm <t.schramm@manjaro.org>
Tested-by: Christopher Hill <ch6574@gmail.com>
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
2020-05-09 11:32:34 +08:00
..
apm821xx Merge Mainline 2020-05-04 16:11:02 +08:00
ar7
ar71xx kernel: bump 4.14 to 4.14.178 2020-05-03 19:33:01 +08:00
arc770
archs38 apm821xx/archs38/armvirt/gemini/imx6/kirkwood/lantiq/malta: add kernel 5.4 support 2020-04-16 18:09:15 +08:00
armvirt apm821xx/archs38/armvirt/gemini/imx6/kirkwood/lantiq/malta: add kernel 5.4 support 2020-04-16 18:09:15 +08:00
at91 at91: switch to 4.14 (#3040) 2020-02-11 17:26:30 +08:00
ath25 kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3375) 2020-02-29 16:28:07 +08:00
ath79 kernel: bump 4.14 to 4.14.178 2020-05-03 19:33:01 +08:00
bcm27xx bcm27xx: backup /boot/cmdline.txt and restore early 2020-05-05 11:50:21 +08:00
bcm47xx Merge Mainline 2020-04-22 23:18:30 +08:00
bcm53xx Merge Mainline 2020-05-04 16:11:02 +08:00
bcm63xx Merge Mainline 2020-05-04 16:11:02 +08:00
cns3xxx kernel: bump 4.19 to 4.19.118 2020-04-25 11:08:19 +08:00
gemini apm821xx/archs38/armvirt/gemini/imx6/kirkwood/lantiq/malta: add kernel 5.4 support 2020-04-16 18:09:15 +08:00
generic generic: routerbootpart MTD parser for RouterBoot 2020-05-09 11:32:34 +08:00
imx6 imx6: add back perf monitor related config symbol 2020-04-26 11:54:43 +08:00
ipq40xx Merge Mainline 2020-05-04 16:11:02 +08:00
ipq806x Merge Mainline 2020-05-04 16:11:02 +08:00
ipq807x ipq807x: add very basic target support 2020-02-29 22:59:08 -08:00
ixp4xx kernel: bump 4.9 to 4.9.220 2020-04-25 08:06:59 +08:00
kirkwood treewide: adjust sysupgrade script 2020-05-01 16:29:04 +08:00
lantiq treewide: adjust sysupgrade script 2020-05-01 16:29:04 +08:00
layerscape layerscape: add kernel 5.4 support from official commit 2020-05-08 08:25:49 +08:00
malta apm821xx/archs38/armvirt/gemini/imx6/kirkwood/lantiq/malta: add kernel 5.4 support 2020-04-16 18:09:15 +08:00
mediatek kernel: bump 5.4 to 5.4.39 2020-05-08 08:18:53 +08:00
mpc85xx kernel: bump 5.4 to 5.4.34 2020-04-22 09:09:42 +08:00
mvebu Merge Mainline 2020-05-04 16:11:02 +08:00
mxs Merge Mainline 2020-05-04 16:11:02 +08:00
octeon octeon: add support for kernel 5.4 2020-04-24 08:15:26 +08:00
octeontx octeontx: refresh 5.4 patches 2020-05-05 11:50:15 +08:00
omap omap: add support for kernel 5.4 2020-04-28 11:00:38 +08:00
orion
oxnas Merge Mainline 2020-05-04 16:11:02 +08:00
pistachio kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3375) 2020-02-29 16:28:07 +08:00
ramips Merge Mainline 2020-05-04 16:11:02 +08:00
rb532
samsung
sunxi sunxi: remove unneeded shebang for preinit files 2020-05-06 12:08:40 +08:00
tegra mpc85xx/mvebu/mxs/octeontx/oxnas/sunxi/tegra/zynq: add kernel 5.4 support 2020-04-16 19:38:37 +08:00
uml
x86 Merge Upstream 2020-04-15 21:15:07 +08:00
zynq mpc85xx/mvebu/mxs/octeontx/oxnas/sunxi/tegra/zynq: add kernel 5.4 support 2020-04-16 19:38:37 +08:00
Makefile