aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorKeLei Liang <xzmu@wrtnode.com>2016-06-01 00:32:37 +0800
committerJohn Crispin <john@phrozen.org>2016-06-06 14:58:11 +0200
commit563e9d5e1b26be6d98f04f9cdb3f307f27757b38 (patch)
treeb378401dd809938db8df2465fb9383531832d696 /target/linux/ar71xx/base-files
parent754565a84bb0edc98187368040bd91830da7f122 (diff)
downloadupstream-563e9d5e1b26be6d98f04f9cdb3f307f27757b38.tar.gz
upstream-563e9d5e1b26be6d98f04f9cdb3f307f27757b38.tar.bz2
upstream-563e9d5e1b26be6d98f04f9cdb3f307f27757b38.zip
ar71xx: add WRTnode2Q support
Signed-off-by: KeLei Liang <xzmu@wrtnode.com>
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh3
3 files changed, 7 insertions, 2 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 8de29317e3..cca9704295 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -400,7 +400,8 @@ routerstation|\
tl-wr710n |\
tl-wr720n-v3|\
tl-wr810n |\
-wpe72)
+wpe72 |\
+wrtnode2q)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
;;
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index c2ad7690a3..2777238692 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -1052,6 +1052,9 @@ ar71xx_board_detect() {
*WRT400N)
name="wrt400n"
;;
+ *"WRTnode2Q board")
+ name="wrtnode2q"
+ ;;
*"WZR-450HP2")
name="wzr-450hp2"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index bfab73cc7c..a5ddf11d09 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -272,7 +272,8 @@ platform_check_image() {
unifiac-pro | \
unifi-outdoor | \
carambola2 | \
- weio )
+ weio | \
+ wrtnode2q)
[ "$magic" != "2705" ] && {
echo "Invalid image type."
return 1