aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
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 | \