aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-01-17 14:06:13 +0000
committerJohn Crispin <john@openwrt.org>2015-01-17 14:06:13 +0000
commit88df2bd2ff5aa7b31ce9aaeda25c60e8a9b980b2 (patch)
treea12ec319f40eaf27b5bbf6000bc60429e781f051 /target/linux/ramips/base-files
parent744298b8a0dc363a802634b5ac5d08e861e65d12 (diff)
downloadupstream-88df2bd2ff5aa7b31ce9aaeda25c60e8a9b980b2.tar.gz
upstream-88df2bd2ff5aa7b31ce9aaeda25c60e8a9b980b2.tar.bz2
upstream-88df2bd2ff5aa7b31ce9aaeda25c60e8a9b980b2.zip
ramips: add support for Intenso Memory 2 Move USB 3.0
This adds support for a rt5350-based "portable nas" solution from Intenso. The board comes with 32M RAM and 8M Flash, the built-in HDD is connected/accessible via a usb3.0<->sata bridge VLI VL701. The device has 1 Ethernet port (100M/10M), 1 micro b usb 3.0 socket (for charging the battery, or accessing the hdd directly). Wireless connectivity is provided by the rt5350 SoC [i.e.: 802.11n 1x1 2.4 GHz with a pcb antenna.] Serial, leds, wifi, ethernet and usb are tested and as far as I can tell: they are working fine (tm). Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> SVN-Revision: 44001
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_network5
-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.sh1
5 files changed, 16 insertions, 0 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 dfd0ca7049..8695cdeb65 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -152,6 +152,10 @@ case $board in
nw718)
set_usb_led "nw718:amber:usb"
;;
+ m2m)
+ set_wifi_led "m2m:blue:wifi"
+ ucidef_set_led_netdev "eth" "Ethernet" "m2m:green:wan" "eth0"
+ ;;
omni-emb-hpm)
ucidef_set_led_default "power" "POWER" "emb:orange:power" "1"
ucidef_set_led_netdev "eth" "ETH" "emb:green:eth" "eth0"
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 aad119738b..70b369de6a 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -65,6 +65,11 @@ ramips_setup_interfaces()
ucidef_set_interface_lan "eth0.1"
;;
+ m2m)
+ ucidef_add_switch "switch0" "4"
+ ucidef_set_interface_lan "eth0"
+ ;;
+
wizard8800 | \
wl-330n | \
wmr300)
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 65ef0db96a..1693e9d4fe 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -79,6 +79,9 @@ get_status_led() {
hw550-3g)
status_led="hw550-3g:green:status"
;;
+ m2m)
+ status_led="m2m:blue:wifi"
+ ;;
m3)
status_led="m3:blue:status"
;;
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 379713bf21..5918640985 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -214,6 +214,9 @@ ramips_board_detect() {
*"NW718")
name="nw718"
;;
+ *"Intenso Memory 2 Move")
+ name="m2m"
+ ;;
*"Omnima EMB HPM")
name="omni-emb-hpm"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index b5eecfc299..2c423443c7 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -55,6 +55,7 @@ platform_check_image() {
ht-tm02 | \
hw550-3g | \
ip2202 | \
+ m2m | \
m3 | \
m4 | \
mlw221 | \