aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-01-17 14:06:13 +0000
committerJohn Crispin <blogic@openwrt.org>2015-01-17 14:06:13 +0000
commit75b65571c9d1442c9ca80a82c1d848c0e9886e16 (patch)
treedb0f8a7d3cde78b8c35dbb8d3f22400a0e7d111a /target/linux/ramips/base-files
parent1f0e7b120580e15d348975c0359480306675c2fe (diff)
downloadupstream-75b65571c9d1442c9ca80a82c1d848c0e9886e16.tar.gz
upstream-75b65571c9d1442c9ca80a82c1d848c0e9886e16.tar.bz2
upstream-75b65571c9d1442c9ca80a82c1d848c0e9886e16.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44001 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 | \