aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2014-01-30 17:08:02 +0000
committerGabor Juhos <juhosg@openwrt.org>2014-01-30 17:08:02 +0000
commit758db555617e3b459dbc5bc5f69f0c4096af1ff3 (patch)
treeda70fc6c8d7844efa66e2db6af627e9703c32048 /target/linux/ar71xx
parenta89c59249a53a4a4183f8b90cfbe542a74134d26 (diff)
downloadupstream-758db555617e3b459dbc5bc5f69f0c4096af1ff3.tar.gz
upstream-758db555617e3b459dbc5bc5f69f0c4096af1ff3.tar.bz2
upstream-758db555617e3b459dbc5bc5f69f0c4096af1ff3.zip
ar71xx: dragino2: add missing sysupgrade support.
The original dragino2 board support was missing some changes from the upstream svn repository (http://svn.dragino.com/dragino2) that supported sysupgrade. [juhosg: change subject] Signed-off-by: Karl Palsson <karlp@remake.is> Patchwork: http://patchwork.openwrt.org/patch/4801/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39429 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index ce7836745e..3893747426 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -279,6 +279,9 @@ ar71xx_board_detect() {
*"DIR-835 rev. A1")
name="dir-835-a1"
;;
+ *"Dragino v2")
+ name="dragino2"
+ ;;
*EAP7660D)
name="eap7660d"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 9d44f343b9..b2181af5b5 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -149,6 +149,7 @@ platform_check_image() {
dir-615-e4 | \
dir-825-c1 | \
dir-835-a1 | \
+ dragino2 | \
ew-dorin | \
ew-dorin-router | \
hornet-ub-x2 | \