openwrt/target/linux/generic
Thibaut VARÈNE 74f891752b generic: make mtdsplit-tplink.c honor rootfs offset
The splitter ignored the rootfs offset from the header, probably
because until c1e6e61 it was invalid.

This patch fixes the splitter to use the now correct header data.

Regarding target/linux/ar71xx/files/drivers/mtd/tplinkpart.c,
this particular splitter "falls back" to the correct rootfs offset
reading and as such it doesn't need to be updated, although it will
report a kernel partition length that can be larger than the actual
length as it assumes that partition fills the entire segment up to
the rootfs partition.

Tested-by: Mathias Kresin <dev@kresin.me>
Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
Tested-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Tested-by: Henryk Heisig <hyniu@o2.pl>
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
2017-11-08 23:18:22 +01:00
..
backport-4.9 kernel: bump 4.9 to 4.9.58 2017-10-23 17:23:34 +03:00
files generic: make mtdsplit-tplink.c honor rootfs offset 2017-11-08 23:18:22 +01:00
hack-4.9 kernel: bump 4.9 to 4.9.58 2017-10-23 17:23:34 +03:00
image treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
other-files kernel: move initramfs's init script out of base-files 2017-04-04 14:06:40 +02:00
pending-3.18 pending-3.18: 610-netfilter_match_bypass_default_check: fix 32bit compat layer 2017-10-24 22:15:37 +02:00
pending-4.4 pending-4.4: 610-netfilter_match_bypass_default_check: fix 32bit compat layer 2017-10-24 22:15:47 +02:00
pending-4.9 kernel: add support for limiting 4K erase sector support based on flash chip size 2017-11-06 16:38:25 +01:00
PATCHES
config-3.18 kernel: add missing symbols 2017-07-07 07:44:51 +02:00
config-4.4 kernel: move Lantiq PEF7061/7071/7072 phy driver to generic 2017-06-24 22:36:38 +02:00
config-4.9 kernel: add support for limiting 4K erase sector support based on flash chip size 2017-11-06 16:38:25 +01:00