summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-04-04 08:43:07 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-04-04 08:43:07 +0000
commitbb8dd176cc75ea9c61bef23c1fc512da4b63b37f (patch)
treede4f22e411097517c6652d47c88e00e792d4b82a /target/linux/ramips/base-files
parent3063a1d9147f6ecf136fa7146197b5d8891923c5 (diff)
ramips: initial board support for MOFI3500-3GN
This patch adds initial board support for the MoFi Network MOFI3500-3GN (Ralink RT3052F SoC, 8MB flash, 32MB ram, wireless N, USB-OTG). This router is basically the NA version of the HW550-3G. Signed-off-by: Layne Edwards <ledwards76@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26466 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh2
3 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 051c884de1..99f497e3f5 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -45,6 +45,9 @@ get_status_led() {
hw550-3g)
status_led="hw550-3g:green:status"
;;
+ mofi3500-3gn)
+ status_led="mofi3500-3gn:green:status"
+ ;;
esac
}
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 49e5bc7741..8c64d6a8e7 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -25,6 +25,9 @@ ramips_board_name() {
*"Aztech HW550-3G")
name="hw550-3g"
;;
+ *"MoFi Network MOFI3500-3GN")
+ name="mofi3500-3gn"
+ ;;
*)
name="generic"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index bf8a9865be..c541ea0a13 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 | fonera20n | v22rw-2x2 | whr-g300n | hw550-3g)
+ dir-300-b1 | fonera20n | v22rw-2x2 | whr-g300n | hw550-3g | mofi3500-3gn)
[ "$magic" != "2705" ] && {
echo "Invalid image type."
return 1