diff options
author | perillamint <perillamint@gentoo.moe> | 2016-11-18 20:46:27 +0900 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-11-21 10:13:17 +0100 |
commit | 68634426fee42803b4be956ef3ac262dee6f8384 (patch) | |
tree | 45c0a77479457db44e27dffddcf2751d10ca49dd /target/linux/ramips/base-files | |
parent | a74394be00f5b3f9d71f4d04c9e2ce6ea47a46b4 (diff) | |
download | mtk-20170518-68634426fee42803b4be956ef3ac262dee6f8384.zip mtk-20170518-68634426fee42803b4be956ef3ac262dee6f8384.tar.gz mtk-20170518-68634426fee42803b4be956ef3ac262dee6f8384.tar.bz2 |
ramips: add support for WeVO W2914NS v2
Signed-off-by: Yong-hyu Ban <perillamint@gentoo.moe>
Diffstat (limited to 'target/linux/ramips/base-files')
4 files changed, 11 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 ed51555..f6dbf30 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -303,6 +303,9 @@ vocore) ucidef_set_led_netdev "eth" "ETH" "$board:orange:eth" "eth0" set_wifi_led "$board:green:status" ;; +w2914nsv2) + set_usb_led "$board:green:usb" + ;; w502u) set_usb_led "$board:blue:usb" set_wifi_led "rt2800pci-phy0::radio" 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 5ae6413..e3e6550 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -87,6 +87,7 @@ ramips_setup_interfaces() sap-g3200u3|\ sk-wb8|\ vr500|\ + w2914nsv2|\ wf-2881|\ witi|\ wl-wn575a3|\ diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 4a4204b..5c82188 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -13,6 +13,9 @@ ramips_board_detect() { machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo) case "$machine" in + *"11AC NAS Router") + name="w2914nsv2" + ;; *"3G150B") name="3g150b" ;; @@ -454,6 +457,9 @@ ramips_board_detect() { *"W150M") name="w150m" ;; + *"W2914NS v2") + name="w2914nsv2" + ;; *"W306R V2.0") name="w306r-v20" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index a7e9e19..7c63c1c 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -133,6 +133,7 @@ platform_check_image() { vocore|\ vr500|\ w150m|\ + w2914nsv2|\ w306r-v20|\ w502u|\ wf-2881|\ |