openwrt/target/linux
Thibaut VARÈNE ee5ee99dcf 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-08 15:17:17 +02:00
..
apm821xx kernel: bump 5.4 to 5.4.36 2020-04-30 00:52:04 +02:00
ar71xx kernel: bump 4.14 to 4.14.176 2020-04-16 13:23:11 +02:00
arc770 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
archs38 archs38: switch to kernel 5.4 by default 2020-03-29 16:23:57 +02:00
armvirt kernel: remove non-existant symbols 2020-04-13 22:40:19 +02:00
at91 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
ath25 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
ath79 ath79: fix dts of Teltonika RUT9xx devices 2020-04-29 22:59:23 +01:00
bcm27xx kernel: bump 5.4 to 5.4.38 2020-05-04 21:09:12 +02:00
bcm47xx kernel: bump 5.4 to 5.4.33 2020-04-17 15:18:12 +02:00
bcm53xx kernel: bump 5.4 to 5.4.36 2020-04-30 00:52:04 +02:00
bcm63xx bcm63xx: switch to 5.4 kernel 2020-04-18 20:58:38 +02:00
cns3xxx cns3xx: remove support for kernel 4.14 2020-04-12 13:43:52 +02:00
gemini samba36: Remove 2020-05-08 03:32:52 +03:00
generic generic: routerbootpart MTD parser for RouterBoot 2020-05-08 15:17:17 +02:00
imx6 imx6: add back perf monitor related config symbol 2020-04-25 13:22:28 +02:00
ipq40xx ipq40xx: fix alphabetical order in 02_network 2020-04-24 20:03:41 +02:00
ipq806x ipq806x: switch to 5.4 kernel 2020-04-09 00:12:46 +02:00
ipq807x treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
kirkwood kirkwood: disable image for Linksys EA3500 (Audi) 2020-04-29 18:04:16 +02:00
lantiq lantiq/fritz 7312: set maximum speed to 100 mbit 2020-04-21 00:01:49 +02:00
layerscape layerscape: define only one package for ls-dpl 2020-05-07 12:53:06 +02:00
malta malta: Remove kernel 4.14 support 2020-03-12 09:28:23 +01:00
mediatek kernel: bump 5.4 to 5.4.39 2020-05-07 12:53:06 +02:00
mpc85xx treewide: Don't diverge from upstream default HZ settings on 4.19 2020-03-29 17:27:54 +01:00
mvebu mvebu: tidy up support for GL.iNet GL-MV1000 2020-04-27 00:25:12 +02:00
mxs kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
octeon octeon: use kernel version 5.4 for testing 2020-04-23 18:38:54 +02:00
octeontx kernel: bump 5.4 to 5.4.38 2020-05-04 21:09:12 +02:00
omap omap: remove support for kernel 4.14 2020-04-28 01:10:48 +02:00
oxnas oxnas: move service file to correct place 2020-04-26 21:05:15 +02:00
pistachio treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
ramips kernel: bump 5.4 to 5.4.36 2020-04-30 00:52:04 +02:00
rb532 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
rockchip rockchip: add support for Pine64 RockPro64 2020-04-20 16:37:56 +02:00
samsung treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
sunxi sunxi: remove unneeded shebang for preinit files 2020-05-05 13:09:19 +02:00
tegra tegra: correct cpu subtype 2020-03-28 22:58:36 +01:00
uml treewide: Remove self from MAINTAINER entries 2019-12-23 13:18:04 -08:00
x86 x86: fix unusable squashfs images by adding missing padding 2020-04-26 12:53:27 +02:00
zynq zynq: switch to kernel 5.4 2020-03-17 00:51:48 +01:00
Makefile