aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-08-22 20:41:49 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-08-22 20:41:49 +0000
commit72e117ec7978778fee20495b53887c227c3e1643 (patch)
treeb9b3fa46e04ba09580104b300e7ee9c497121b4b /target/linux/ramips/base-files
parent4b96d3af2a004312e1ff7e52dc3df4849bf7cf8e (diff)
downloadupstream-72e117ec7978778fee20495b53887c227c3e1643.tar.gz
upstream-72e117ec7978778fee20495b53887c227c3e1643.tar.bz2
upstream-72e117ec7978778fee20495b53887c227c3e1643.zip
ramips: rt305x: add support for the ZyXEL NBG-419N board
SVN-Revision: 28078
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 1a5747f2f6..ba4787bbb3 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"
;;
+ nbg-419n)
+ status_led="nbg-419n:green:power"
+ ;;
nw718)
status_led="nw718:amber:cpu"
;;
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 0f50c9bc1b..73dc25529b 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
@@ -50,6 +50,7 @@ case "$FIRMWARE" in
hw550-3g | \
mofi3500-3gn | \
pwh2004 | \
+ nbg-419n | \
nw718 | \
rt-n15 | \
v22rw-2x2 | \
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 65ebf84016..227ca821a3 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -34,6 +34,9 @@ ramips_board_name() {
*"MoFi Network MOFI3500-3GN")
name="mofi3500-3gn"
;;
+ *"NBG-419N")
+ name="nbg-419n"
+ ;;
*"NW718")
name="nw718"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index dda4a67577..58ba0f0fc6 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 | nw718 | rt-g32-b1 | v22rw-2x2 | whr-g300n | hw550-3g | mofi3500-3gn)
+ dir-300-b1 | dir-600-b1 | dir-600-b2 | fonera20n | nbg-419n | nw718 | rt-g32-b1 | v22rw-2x2 | whr-g300n | hw550-3g | mofi3500-3gn)
[ "$magic" != "2705" ] && {
echo "Invalid image type."
return 1