aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-01-30 08:06:40 +0000
committerJohn Crispin <john@openwrt.org>2015-01-30 08:06:40 +0000
commit31fd66f808e7ea16cacef362877139b7e0e8ac7d (patch)
tree1af798dc75a1e7c20a97cc3b165a4bcf95330eab /target/linux/ar71xx/base-files/lib
parentb86545c86dbb407b3d27f20d56fbaad3154c0d75 (diff)
downloadupstream-31fd66f808e7ea16cacef362877139b7e0e8ac7d.tar.gz
upstream-31fd66f808e7ea16cacef362877139b7e0e8ac7d.tar.bz2
upstream-31fd66f808e7ea16cacef362877139b7e0e8ac7d.zip
ar71xx: add Netgear WNR1000v2/WNR1000v2-VC support (#18633)
The board is already supported by OpenWrt. WNR1000v2/WNR1000v2-VC are pretty much the same as WNR2000v3/WNR612v2, therefore the same initialization code and flash layout is used. Signed-off-by: Ștefan Rusu <saltwaterc@gmail.com> Tested-by: Douglas Fraser <1dsfraser@gmail.com> SVN-Revision: 44221
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rw-r--r--target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh3
3 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 14ee68b854..02872de145 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -780,6 +780,9 @@ ar71xx_board_detect() {
*"WNR612 V2")
name="wnr612-v2"
;;
+ *"WNR1000 V2")
+ name="wnr1000-v2"
+ ;;
*WRT160NL)
name="wrt160nl"
;;
diff --git a/target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx b/target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx
index a9a8794c77..f11ea8cb32 100644
--- a/target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx
+++ b/target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx
@@ -38,6 +38,7 @@ set_preinit_iface() {
wnr2000-v3 |\
wnr2200 |\
wnr612-v2 |\
+ wnr1000-v2 |\
wpe72)
ifname=eth1
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 391299f38a..bc6866da19 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -379,7 +379,8 @@ platform_check_image() {
;;
wndr3700 | \
wnr2000-v3 | \
- wnr612-v2)
+ wnr612-v2 | \
+ wnr1000-v2)
local hw_magic
hw_magic="$(ar71xx_get_mtd_part_magic firmware)"