ar71xx: Allow OpenMesh CE images with more than 3 files
authorSven Eckelmann <sven.eckelmann@open-mesh.com>
Tue, 17 May 2016 15:51:36 +0000 (17:51 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 23 May 2016 10:19:23 +0000 (12:19 +0200)
commit823cea2d5d62450ae4a9c42de148f19064d3cca7
tree7d57efc5974cf85a774b35c8f843fb6add92f4fa
parentd1b4a8cfcfb8f3965b79d199993bc847004a7419
ar71xx: Allow OpenMesh CE images with more than 3 files

The CE image format used by OpenMesh can contain extra blocks which
are not used for flashing. Only the first three embedded images
(fwupgrade.cfg, kernel, rootfs) are required in this order to successfully
flash an image via sysupgrade. All extra embedded images should be ignored
for the available devices.

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh