summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: enable sysupgrade for the OpenMesh OM2P-HSv3Sven Eckelmann2016-05-231-0/+1
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: Allow OpenMesh CE images with more than 3 filesSven Eckelmann2016-05-231-1/+1
| | | | | | | | | | 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>
* ar71xx: Move OpenMesh image target validation into subfunctionSven Eckelmann2016-05-231-32/+39
| | | | | | | | | | | | | The platform_check_image_openmesh function used break statements to signal that the board name matched the image target. This worked because the sysupgrade binary checked the image inside a loop. The break statement stopped the loop and skipped any additional check. Instead the check should be done without such sideeffects by simply combining the board names and image targets. Only a mismatch should cause a negative result for the caller and skipping of the additional checks. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: enable sysupgrade for the OpenMesh OM5P-ACv2John Crispin2016-04-091-0/+1
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49151
* ar71xx: enable sysupgrade for the OpenMesh OM5P-ACJohn Crispin2016-04-091-1/+6
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49144
* ar71xx: enable sysupgrade for the OpenMesh MR1750John Crispin2015-09-141-1/+6
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46929
* ar71xx: enable sysupgrade for the OpenMesh OM5P-ANJohn Crispin2015-03-171-0/+1
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 44863
* ar71xx: add sysupgrade support for OpenMesh MR900v2John Crispin2014-11-141-0/+1
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 43267
* ar71xx: enable sysupgrade for the OpenMesh MR900John Crispin2014-11-141-1/+6
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 43261
* ar71xx: enable sysupgrade for the OpenMesh OM5PJohn Crispin2014-07-201-1/+6
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 41772
* ar71xx: add sysupgrade support for OpenMesh OM2P-HSv2John Crispin2014-06-021-0/+1
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 40963
* ar71xx: add user-space support for OpenMesh OM2Pv2John Crispin2014-06-021-0/+1
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 40956
* ar71xx: Fix sysupgrades for Allnet and OpenMesh devicesGabor Juhos2013-10-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | Both Allnet and OpenMesh sysupgrade uses fw_setenv from uboot-envtools to change different settings in the uboot environment. uboot-envtools version 2013.01 introduced a filesystem lock "/var/lock/fw_printenv.lock" to guarantee mutually exclusive access to the uboot environment. But the path /var doesn't exist on the sysupgrade ramfs. An upgrade on these devices fails since r36033 ("[package] uboot-envtools: upgrade to version 2013.01.01") with following messages: Error opening lock file /var/lock/fw_printenv.lock failed to update U-Boot environment Creating the "/var/lock" path before running fw_setenv is therefore a requirement unless the locking functionality in fw_setenv is removed or replaced with optional locking. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38483
* ar71xx: sysupgrade - fix OpenMesh MR600 total flash sizeGabor Juhos2013-02-011-1/+3
| | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35433
* ar71xx: add sysupgrade support for OpenMesh MR600v2Gabor Juhos2013-02-011-0/+1
| | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35430
* ar71xx: enable sysupgrade for the OpenMesh MR600Gabor Juhos2012-11-181-13/+38
| | | | | | | Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34235
* ar71xx: rename om2p.sh upgrade script to openmesh.shGabor Juhos2012-11-181-0/+169
It will be used on other boards as well. Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34234