diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-04-04 08:43:07 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-04-04 08:43:07 +0000 |
commit | d5a7e2f5c1d63e81771617940ac6f92b31a05583 (patch) | |
tree | 07f7373ae8a5ae6b4ee515e7beb88e72a04f53bd /target/linux/ramips/base-files | |
parent | 490032400b7233fad90840ed83ae8df3566f0b93 (diff) | |
download | mtk-20170518-d5a7e2f5c1d63e81771617940ac6f92b31a05583.zip mtk-20170518-d5a7e2f5c1d63e81771617940ac6f92b31a05583.tar.gz mtk-20170518-d5a7e2f5c1d63e81771617940ac6f92b31a05583.tar.bz2 |
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-x | target/linux/ramips/base-files/etc/diag.sh | 3 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/ramips.sh | 3 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 2 |
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 051c884..99f497e 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 49e5bc7..8c64d6a 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 bf8a986..c541ea0 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 |