Commit Graph

7 Commits (1475263d5c53e6723fb757214e4cac10abd60913)

Author SHA1 Message Date
John Crispin 90c5ec6374 ar71xx: add sysupgrade support for OpenMesh OM2P-HSv2
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
10 years ago
John Crispin c788102ebc ar71xx: add user-space support for OpenMesh OM2Pv2
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
10 years ago
Gabor Juhos 80a15fe8ad ar71xx: Fix sysupgrades for Allnet and OpenMesh devices
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
11 years ago
Gabor Juhos 6805275fdc ar71xx: sysupgrade - fix OpenMesh MR600 total flash size
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35433
12 years ago
Gabor Juhos 979676ffcc ar71xx: add sysupgrade support for OpenMesh MR600v2
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35430
12 years ago
Gabor Juhos 9da2c85b67 ar71xx: enable sysupgrade for the OpenMesh MR600
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34235
12 years ago
Gabor Juhos 6380301d01 ar71xx: rename om2p.sh upgrade script to openmesh.sh
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
12 years ago