ar71xx: dragino2: add missing sysupgrade support.
authorGabor Juhos <juhosg@openwrt.org>
Thu, 30 Jan 2014 17:08:02 +0000 (17:08 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 30 Jan 2014 17:08:02 +0000 (17:08 +0000)
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>
SVN-Revision: 39429

target/linux/ar71xx/base-files/lib/ar71xx.sh
target/linux/ar71xx/base-files/lib/upgrade/platform.sh

index ce7836745e90d0e77227fb1f6d3710a212fdd42f..3893747426569d0569399a0a864b114fa0354354 100755 (executable)
@@ -279,6 +279,9 @@ ar71xx_board_detect() {
        *"DIR-835 rev. A1")
                name="dir-835-a1"
                ;;
+       *"Dragino v2")
+               name="dragino2"
+               ;;
        *EAP7660D)
                name="eap7660d"
                ;;
index 9d44f343b9dead7706ffe4ffc03258e93358cc2a..b2181af5b571073ff66b0bbc00abb28ad015c6a9 100755 (executable)
@@ -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 | \