aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-05-23 15:27:05 +0000
committerJohn Crispin <john@openwrt.org>2015-05-23 15:27:05 +0000
commit9c86abae0e22107ed10fad76b568190ac3f2a6ca (patch)
tree1737255ed5e064d0696e621eb74dbcdc04d104f4 /target/linux/ramips/base-files
parent4810f3f8037389d2efe0c4ea750ec7d6218d5902 (diff)
downloadupstream-9c86abae0e22107ed10fad76b568190ac3f2a6ca.tar.gz
upstream-9c86abae0e22107ed10fad76b568190ac3f2a6ca.tar.bz2
upstream-9c86abae0e22107ed10fad76b568190ac3f2a6ca.zip
ramips: Adding support for AXIMCom MR-102N 3G/4G Travel Mobile Router
MR-102N is a RT3050F based wireless router(32M RAM + 8M NOR flash) with 1 USB and 1 ethernet port. The original product information can be found at: http://www.aximcom.com/en/MR-102N Signed-off-by: Tai-hwa Liang <atliang@gmail.com> SVN-Revision: 45724
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds4
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network3
-rw-r--r--target/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.sh1
5 files changed, 13 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index 80623f4a8d..ad0062a56b 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -145,6 +145,10 @@ case $board in
mpr-a2)
set_wifi_led "hame:blue:system"
;;
+ mr-102n)
+ set_wifi_led "mr-102n:green:wlan"
+ set_usb_led "mr-102n:green:usb"
+ ;;
mzk-w300nh2)
set_wifi_led "mzkw300nh2:amber:wlan"
;;
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index c8ef69f2c0..43a0e54f73 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -61,7 +61,8 @@ ramips_setup_interfaces()
;;
3g-6200nl | \
- mlw221)
+ mlw221 | \
+ mr-102n)
ucidef_set_interface_lan "eth0.2"
;;
mlwg2)
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index caede7bcc8..6bba7e4394 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -104,6 +104,9 @@ get_status_led() {
mpr-a2)
status_led="hame:red:power"
;;
+ mr-102n)
+ status_led="mr-102n:amber:status"
+ ;;
nbg-419n)
status_led="nbg-419n:green:power"
;;
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 5769d26c2c..cd4e39c5f7 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -85,6 +85,9 @@ ramips_board_detect() {
*"Aztech HW550-3G")
name="hw550-3g"
;;
+ *"AXIMCom MR-102N")
+ name="mr-102n"
+ ;;
*"Buffalo WSR-600DHP")
name="wsr-600"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 4ecf3314dc..0a54d3747c 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -67,6 +67,7 @@ platform_check_image() {
mofi3500-3gn | \
mpr-a1 | \
mpr-a2 | \
+ mr-102n | \
mzk-w300nh2 | \
nbg-419n | \
nw718 | \