openwrt/target/linux
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
..
adm5120
adm8668
apm821xx kernel: bump 4.9 to 4.9.57 2017-10-18 19:44:09 +03:00
ar7 ar7: add kernel 4.9 support 2017-10-29 23:41:00 +01:00
ar71xx ag71xx: Switch from driver to kernel macro for NAPI_WEIGHT. 2017-11-06 16:39:41 +01:00
arc770 arc770: mark as source-only 2017-10-28 13:59:03 +02:00
archs38
armvirt armvirt: Enable CONFIG_ARM_PMU 2017-09-16 16:38:10 -07:00
at91 at91: remove unused at91part driver 2017-10-22 15:17:42 +02:00
ath25
au1000
bcm53xx bcm53xx: Fix Generic profile description 2017-10-24 18:39:17 -07:00
brcm47xx brcm47xx: use kernel 4.9 by default 2017-10-18 23:27:17 +02:00
brcm63xx kernel: update 4.4 to 4.4.86 2017-09-05 08:43:39 +02:00
brcm2708 kernel: bump 4.9 to 4.9.58 2017-10-23 17:23:34 +03:00
cns3xxx kernel: bump 4.9 to 4.9.57 2017-10-18 19:44:09 +03:00
gemini treewide: do not use IMG_PREFIX in Image/Prepare 2017-10-26 12:26:25 +02:00
generic generic: make mtdsplit-tplink.c honor rootfs offset 2017-11-08 23:18:22 +01:00
imx6 imx6: add driver for temp/voltage monitoring 2017-08-18 18:47:11 +02:00
ipq806x ip806x: nbg6817: sysupgrade support both targets for kernel/ rootfs partitions 2017-10-29 03:11:51 +01:00
ixp4xx ixp4xx: drop the jumbo frame support 2017-11-06 16:39:41 +01:00
kirkwood
lantiq lantiq: xway: rename nas0/ptm0 to dsl0 2017-10-25 08:45:05 +02:00
layerscape kernel: add support for limiting 4K erase sector support based on flash chip size 2017-11-06 16:38:25 +01:00
malta treewide: do not use IMG_PREFIX in Image/Prepare 2017-10-26 12:26:25 +02:00
mcs814x
mediatek kernel: bump 4.9 to 4.9.57 2017-10-18 19:44:09 +03:00
mpc85xx mpc85xx: use image metadata 2017-10-25 09:22:13 +02:00
mvebu mvebu: clean up ClearFog Base package selection 2017-10-15 00:24:22 +02:00
mxs
octeon
omap omap: clean up configuration 2017-10-18 21:46:05 +02:00
omap24xx
orion orion: Switch to 4.9 kernel 2017-10-24 18:39:17 -07:00
oxnas kernel: bump 4.4 to 4.4.91 2017-10-08 20:51:03 +03:00
pistachio kernel: add support for limiting 4K erase sector support based on flash chip size 2017-11-06 16:38:25 +01:00
ppc40x
ppc44x
ramips kernel: add support for limiting 4K erase sector support based on flash chip size 2017-11-06 16:38:25 +01:00
rb532 treewide: drop obsolete kernel config options 2017-10-04 20:08:15 +02:00
sunxi sunxi: add Orange Pi 2 support 2017-11-06 16:39:41 +01:00
uml uml: Switch to 4.9 kernel 2017-10-24 15:10:23 -07:00
x86 x86: fix reboot on apu2 boards 2017-10-05 21:14:43 +02:00
xburst
zynq
Makefile