openwrt/target/linux
Hannu Nyman dba362772e ipq806x: remove "firmware" partition definition from netgear routers
Remove the "firmware" partition definition from the DTS of R7800
to fix sysupgrade.

Commit 4645a6d3 defined CONFIG_MTD_SPLIT_UIMAGE_FW=y for ipq806x
and that causes mtd to misbehave as additional kernel and ubi
partitions are detected from inside the "firmware" partition.
  [    1.111324] 0x000001480000-0x000001880000 : "kernel"
  [    1.121005] 0x000001880000-0x000007900000 : "ubi"
  [    1.283912] 0x000007900000-0x000008000000 : "reserve"
  [    1.296407] 0x000001480000-0x000007900000 : "firmware"
  [    1.468043] no rootfs found after FIT image in "firmware"
  [    2.426860] 2 uimage-fw partitions found on MTD device firmware
  [    2.426931] 0x000001480000-0x000001880000 : "kernel"
  [    2.440420] 0x000001880000-0x000007900000 : "ubi"

Both kernel and ubi are already defined in DTS, so this duplication
leads into errors in sysupgrade:
  Writing from <stdin> to kernel ...
  ubiattach: error!: strtoul: unable to parse the number '6 mtd10'
  ubiattach: error!: bad MTD device number: "6 mtd10"

The partition is defined to same area as kernel+ubi, and is not
needed for sysupgrade anymore. Remove it to fix things.

Only tested for the R7800 but all of them should behave equal.

Fixes: FS#1617

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
[squashed commits, add "tested on" note]
Signed-off-by: Mathias Kresin <dev@kresin.me>
2018-06-27 22:10:23 +02:00
..
apm821xx kernel: bump 4.14 to 4.14.48 for 18.06 2018-06-07 09:03:24 +02:00
ar7 kernel: bump 4.9 to 4.9.102 for 18.06 2018-05-24 16:03:58 +02:00
ar71xx ar71xx: Add support for TP-Link CPE210 v2 2018-06-23 16:08:22 +02:00
arc770 arc770: remove source-only 2018-05-24 17:24:30 +02:00
archs38 kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
armvirt arm64: enable harden branch predictor 2018-04-27 21:34:18 +02:00
at91 kernel: bump 4.9 to 4.9.102 for 18.06 2018-05-24 16:03:58 +02:00
ath25 ath25: drop 4.9 kernel support 2018-05-24 17:24:30 +02:00
bcm53xx bcm53xx: fix NAND partitions on D-Link DIR-885L 2018-06-23 14:27:29 +02:00
brcm47xx kernel: bump 4.9 to 4.9.106 for 18.06 2018-06-07 09:03:05 +02:00
brcm63xx kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
brcm2708 kernel: bump 4.9 to 4.9.109 for 18.06 2018-06-18 15:28:48 +02:00
cns3xxx kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
gemini kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
generic kernel: cleanup offload hooks on netdev unregister 2018-06-22 11:23:35 +02:00
imx6 kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
ipq40xx ipq40xx: add support for ZyXEL WRE6606 2018-06-21 07:02:37 +02:00
ipq806x ipq806x: remove "firmware" partition definition from netgear routers 2018-06-27 22:10:23 +02:00
ixp4xx kernel: bump 4.9 to 4.9.106 for 18.06 2018-06-07 09:03:05 +02:00
kirkwood kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
lantiq lantiq: fix arcadyan vg3503j switch port indexing 2018-06-21 22:01:33 +02:00
layerscape kernel: bump 4.9 to 4.9.106 for 18.06 2018-06-07 09:03:05 +02:00
malta malta: bump tp v4.14 2018-01-09 10:26:16 +01:00
mediatek mediatek: mt7622: Do not deactivate CONFIG_BLK_DEV 2018-06-18 21:21:55 +02:00
mpc85xx kernel: bump 4.9 to 4.9.106 for 18.06 2018-06-07 09:03:05 +02:00
mvebu mvebu: reduce speed to gen1 for espressobin pcie 2018-06-19 12:54:24 +02:00
mxs kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
octeon kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
octeontx kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
omap kernel: enable EXPORTFS by default 2018-05-24 17:24:31 +02:00
orion orion: remove linux 4.4 support 2018-04-19 14:38:57 +02:00
oxnas oxnas: reboot target 2018-06-18 18:44:14 +02:00
pistachio kernel: enable THIN_ARCHIVES by default 2018-05-24 17:24:31 +02:00
ramips ramips: add switch port index for I-O DATA WN-GX300GR 2018-06-27 08:41:13 +02:00
rb532 treewide: move nand_do_upgrade call to platform_do_upgrade 2018-02-16 14:44:02 +01:00
sunxi kernel: bump 4.9 to 4.9.108 for 18.06 2018-06-18 06:42:18 +02:00
uml kernel: bump 4.9 to 4.9.102 for 18.06 2018-05-24 16:03:58 +02:00
x86 kernel: bump 4.9 to 4.9.106 for 18.06 2018-06-07 09:03:05 +02:00
Makefile