aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-03-01 09:17:06 +0000
committerJohn Crispin <john@openwrt.org>2016-03-01 09:17:06 +0000
commit96eb5c6fa8ead2bf749b78dff2f55a340cff020e (patch)
tree656a0d12212f28236f35d09887ac4cccc65032bf /target/linux/ramips/base-files
parent59121fdd69f04ae766069944d10eacb2a4286316 (diff)
downloadupstream-96eb5c6fa8ead2bf749b78dff2f55a340cff020e.tar.gz
upstream-96eb5c6fa8ead2bf749b78dff2f55a340cff020e.tar.bz2
upstream-96eb5c6fa8ead2bf749b78dff2f55a340cff020e.zip
ramips: Added support for ZBT-826 / ZBT-1026
Support for these MT7620-based routers: https://wiki.openwrt.org/toh/zbt/we-826 Based on Oskari’s patches found here: https://dev.openwrt.org/ticket/19996 Signed-off-by: Jamie Stuart <jamie@onebillion.org> SVN-Revision: 48865
Diffstat (limited to 'target/linux/ramips/base-files')
-rw-r--r--[-rwxr-xr-x]target/linux/ramips/base-files/etc/board.d/01_leds5
-rw-r--r--[-rwxr-xr-x]target/linux/ramips/base-files/etc/board.d/02_network1
-rw-r--r--[-rwxr-xr-x]target/linux/ramips/base-files/lib/ramips.sh3
-rw-r--r--[-rwxr-xr-x]target/linux/ramips/base-files/lib/upgrade/platform.sh1
4 files changed, 10 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 d1b4e159ae..8fd50fedc7 100755..100644
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -268,6 +268,11 @@ zbt-wa05)
set_wifi_led "$board:blue:air"
set_usb_led "$board:blue:usb"
;;
+zbt-we826)
+ ucidef_set_led_default "power" "power" "$board:green:power" "1"
+ set_wifi_led "$board:green:wifi"
+ set_usb_led "$board:green:usb"
+ ;;
zbt-wr8305rt)
ucidef_set_led_default "power" "power" "$board:green:sys" "1"
set_usb_led "$board:green:usb"
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 0121e51665..0a680d0975 100755..100644
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -209,6 +209,7 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "0:wan" "6@eth0"
;;
+ zbt-we826|\
zbt-wr8305rt)
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0"
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index c6c32fe7db..c4eb357818 100755..100644
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -475,6 +475,9 @@ ramips_board_detect() {
*"ZBT-WA05")
name="zbt-wa05"
;;
+ *"ZBT-WE826")
+ name="zbt-we826"
+ ;;
*"ZBT-WG2626")
name="zbt-wg2626"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 0cae707105..df1ededd00 100755..100644
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -139,6 +139,7 @@ platform_check_image() {
y1|\
y1s|\
zbt-wa05|\
+ zbt-we826|\
zbt-wg2626|\
zbt-wr8305rt|\
zte-q7|\