aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-07-28 10:56:32 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-07-28 10:56:32 +0000
commitea211c4d907574d0a8b3b4667fd7ac9a013fe4d9 (patch)
treec55e8441e9ce43e1ac236f74ee7f3011d6a0d3aa /target/linux/ramips/base-files
parent437e1844849ab385f5ab4cbaa0dc819bc3fba201 (diff)
downloadupstream-ea211c4d907574d0a8b3b4667fd7ac9a013fe4d9.tar.gz
upstream-ea211c4d907574d0a8b3b4667fd7ac9a013fe4d9.tar.bz2
upstream-ea211c4d907574d0a8b3b4667fd7ac9a013fe4d9.zip
ramips: rt305x: add support for the Netcore NW718 board
SVN-Revision: 27813
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh3
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh2
4 files changed, 8 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index c41105397a..1a5747f2f6 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -42,6 +42,9 @@ get_status_led() {
mofi3500-3gn)
status_led="mofi3500-3gn:green:status"
;;
+ nw718)
+ status_led="nw718:amber:cpu"
+ ;;
pwh2004)
status_led="pwh2004:green:power"
;;
diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index ee20b54ef2..405e7c42ef 100644
--- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -46,6 +46,7 @@ case "$FIRMWARE" in
hw550-3g | \
mofi3500-3gn | \
pwh2004 | \
+ nw718 | \
rt-n15 | \
v22rw-2x2 | \
wcr150gn | \
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index d081b8be67..33ce13cb55 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -31,6 +31,9 @@ ramips_board_name() {
*"MoFi Network MOFI3500-3GN")
name="mofi3500-3gn"
;;
+ *"NW718")
+ name="nw718"
+ ;;
*"PWH2004")
name="pwh2004"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index e7511e849b..dda4a67577 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -14,7 +14,7 @@ platform_check_image() {
[ "$ARGC" -gt 1 ] && return 1
case "$board" in
- dir-300-b1 | dir-600-b1 | dir-600-b2 | fonera20n | rt-g32-b1 | v22rw-2x2 | whr-g300n | hw550-3g | mofi3500-3gn)
+ dir-300-b1 | dir-600-b1 | dir-600-b2 | fonera20n | nw718 | rt-g32-b1 | v22rw-2x2 | whr-g300n | hw550-3g | mofi3500-3gn)
[ "$magic" != "2705" ] && {
echo "Invalid image type."
return 1