aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2016-04-29 11:34:56 +0000
committerJo-Philipp Wich <jo@mein.io>2016-05-10 10:43:12 +0200
commit6b0425a18773552f109cadf918ee6b4bcc60eec0 (patch)
treec163cc8acc3eab65b48b4338ef69dd495734d6f1 /target/linux/ramips/base-files
parent23596ca527d2d7a0b197d3f9e8afdb9acd76273a (diff)
downloadupstream-6b0425a18773552f109cadf918ee6b4bcc60eec0.tar.gz
upstream-6b0425a18773552f109cadf918ee6b4bcc60eec0.tar.bz2
upstream-6b0425a18773552f109cadf918ee6b4bcc60eec0.zip
ramips: add support for Planex MZK-EX750NP.
add support for Planex MZK-EX750NP. MZK-EX750NP is MT7620A and MT7610E based 11ac wifi repeater. Built-in power supply. 64MiB RAM, 8MiB SPI Flash, non Wired Ethernet. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 49268
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_network1
-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, 11 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 aeaab3395a..47e1e6a6a3 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -206,6 +206,10 @@ mr-102n)
set_wifi_led "$board:green:wlan"
set_usb_led "$board:green:usb"
;;
+mzk-ex750np)
+ ucidef_set_led_default "power" "power" "$board:red:power" "1"
+ set_wifi_led "$board:red:wifi"
+ ;;
na930)
set_usb_led "$board:blue:status"
;;
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 c6c740f623..ee690f6375 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -165,6 +165,7 @@ ramips_setup_interfaces()
d105|\
hpm|\
mzk-ex300np|\
+ mzk-ex750np|\
na930|\
wli-tx4-ag300n|\
wrh-300cr)
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 20ff8fff38..c638d16a81 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -41,7 +41,8 @@ get_status_led() {
hlk-rm04|\
jhr-n825r|\
mpr-a1|\
- mpr-a2)
+ mpr-a2|\
+ mzk-ex750np)
status_led="$board:red:power"
;;
ai-br100|\
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 2c669c5a5b..0ac0f68bb5 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -298,6 +298,9 @@ ramips_board_detect() {
*"MZK-EX300NP")
name="mzk-ex300np"
;;
+ *"MZK-EX750NP")
+ name="mzk-ex750np"
+ ;;
*"MZK-W300NH2"*)
name="mzk-w300nh2"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 2b24030ecd..86ea4a33bd 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -90,6 +90,7 @@ platform_check_image() {
mzk-750dhp|\
mzk-dp150n|\
mzk-ex300np|\
+ mzk-ex750np|\
mzk-w300nh2|\
mzk-wdpr|\
nbg-419n|\