From 88df2bd2ff5aa7b31ce9aaeda25c60e8a9b980b2 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sat, 17 Jan 2015 14:06:13 +0000 Subject: 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 SVN-Revision: 44001 --- target/linux/ramips/base-files/etc/board.d/01_leds | 4 ++++ target/linux/ramips/base-files/etc/board.d/02_network | 5 +++++ target/linux/ramips/base-files/etc/diag.sh | 3 +++ target/linux/ramips/base-files/lib/ramips.sh | 3 +++ target/linux/ramips/base-files/lib/upgrade/platform.sh | 1 + 5 files changed, 16 insertions(+) (limited to 'target/linux/ramips/base-files') 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 | \ -- cgit v1.2.3