aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-04-04 08:43:07 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-04-04 08:43:07 +0000
commitd5a7e2f5c1d63e81771617940ac6f92b31a05583 (patch)
tree07f7373ae8a5ae6b4ee515e7beb88e72a04f53bd /target/linux/ramips/base-files
parent490032400b7233fad90840ed83ae8df3566f0b93 (diff)
downloadupstream-d5a7e2f5c1d63e81771617940ac6f92b31a05583.tar.gz
upstream-d5a7e2f5c1d63e81771617940ac6f92b31a05583.tar.bz2
upstream-d5a7e2f5c1d63e81771617940ac6f92b31a05583.zip
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> SVN-Revision: 26466
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