2
0
forked from Ivasoft/openwrt

ramips: add support for ZBT WG2626

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 47351
This commit is contained in:
John Crispin
2015-11-02 10:18:19 +00:00
parent 0f4b153e3d
commit 165244a222
7 changed files with 161 additions and 3 deletions

View File

@@ -83,7 +83,8 @@ ramips_setup_interfaces()
wsr-1166|\
wsr-600|\
wt1520|\
y1)
y1|\
zbt-wg2626)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 6t"

View File

@@ -62,7 +62,8 @@ get_status_led() {
rut5xx|\
v11st-fe|\
vocore|\
wmr-300)
wmr-300|\
zbt-wg2626)
status_led="$board:green:status"
;;
atp-52b|\

View File

@@ -454,6 +454,9 @@ ramips_board_detect() {
*"ZBT-WA05")
name="zbt-wa05"
;;
*"ZBT-WG2626")
name="zbt-wg2626"
;;
*"ZBT-WR8305RT")
name="zbt-wr8305rt"
;;

View File

@@ -132,6 +132,7 @@ platform_check_image() {
y1|\
y1s|\
zbt-wa05|\
zbt-wg2626|\
zbt-wr8305rt|\
zte-q7)
[ "$magic" != "27051956" ] && {