summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-12-11 15:04:47 +0000
committerJohn Crispin <john@openwrt.org>2015-12-11 15:04:47 +0000
commiteb8ff566848fce7c9d2c16c3eb7c22559a9fae0e (patch)
tree5326fd91e7af74cbf70f41e0c0d365ff6d1ceec5 /target/linux/ar71xx/base-files
parentfcf74b1138cdfbe36b12d469b0f5a8ddf24867c9 (diff)
downloadmtk-20170518-eb8ff566848fce7c9d2c16c3eb7c22559a9fae0e.zip
mtk-20170518-eb8ff566848fce7c9d2c16c3eb7c22559a9fae0e.tar.gz
mtk-20170518-eb8ff566848fce7c9d2c16c3eb7c22559a9fae0e.tar.bz2
ar71xx: Add support for Wallys DR344
This patch is for Wallys DR344 support under OpenWRT Signed-off-by: Philippe Duchein <wireless-dev@duchein.net> SVN-Revision: 47847
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
4 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index ed47dcf..3dc1ec4 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -15,6 +15,7 @@ board=$(ar71xx_board_name)
case "$board" in
all0315n |\
all0258n |\
+dr344 |\
ja76pf2|\
rocket-m-ti |\
ubnt-unifi-outdoor)
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index a8e1721..5b997e0 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -95,6 +95,9 @@ get_status_led() {
dlan-pro-1200-ac)
status_led="devolo:status:wlan"
;;
+ dr344)
+ status_led="dr344:green:status"
+ ;;
dragino2)
status_led="dragino2:red:system"
;;
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index df77040..a112523 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -463,6 +463,9 @@ ar71xx_board_detect() {
*"dLAN pro 1200+ WiFi ac")
name="dlan-pro-1200-ac"
;;
+ *DR344)
+ name="dr344"
+ ;;
*"Dragino v2")
name="dragino2"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 41886e3..5ec4499 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -184,6 +184,7 @@ platform_check_image() {
ap96 | \
bxu2000n-2-a1 | \
db120 | \
+ dr344 | \
f9k1115v2 |\
hornet-ub | \
mr12 | \