aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-04-25 20:08:52 +0000
committerJohn Crispin <blogic@openwrt.org>2016-04-25 20:08:52 +0000
commit9aeccfeb090f982ee146b637bed0f68c217998bf (patch)
tree55a5b011d9a8c15513aa0f42411c0796b73a5c97 /target/linux/ar71xx/base-files/lib
parent71c67e149c08cf388576dbf00dda10dfba216d07 (diff)
downloadupstream-9aeccfeb090f982ee146b637bed0f68c217998bf.tar.gz
upstream-9aeccfeb090f982ee146b637bed0f68c217998bf.tar.bz2
upstream-9aeccfeb090f982ee146b637bed0f68c217998bf.zip
ar71xx: backport support for Netgear WPN824N
Add support for Netgear WPN824N. Hardware specs: * AR7240, 4 LAN ports, 1 WAN port * AR9285 WLAN * 32 MB RAM * 4 MB Flash * 16 LEDs (LAN, WAN and Power/Status contain two LEDs for dual color effect) * 3 Buttons (not supported) Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49227 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 6dc975dd00..dab4d2c7c9 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -905,6 +905,9 @@ ar71xx_board_detect() {
*"WNR1000 V2")
name="wnr1000-v2"
;;
+ *WPN824N)
+ name="wpn824n"
+ ;;
*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 fd337e185b..f552453e43 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
@@ -40,6 +40,7 @@ set_preinit_iface() {
wnr2200 |\
wnr612-v2 |\
wnr1000-v2 |\
+ wpn824n |\
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 beb29b9d05..d0256328cd 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -403,7 +403,8 @@ platform_check_image() {
wndr3700 | \
wnr2000-v3 | \
wnr612-v2 | \
- wnr1000-v2)
+ wnr1000-v2 | \
+ wpn824n)
local hw_magic
hw_magic="$(ar71xx_get_mtd_part_magic firmware)"