From 449c5f7b30e3ec4d685c11ecf88f3412be6a22cf Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 1 Apr 2015 08:31:46 +0000 Subject: ramips: Add support for ZTE Q7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ZTE Q7 is a wireless router with SD Card,USB,1 ethernet port and a battery.It used MT7620a SoC. I can,t find any information about this router on ZTE's website. But I found this : http://en.cctairmobi.com/plus/list.php?tid=40 This router is the same as ZTE Q7 and later I found that both routers are made by the same company:-D This patch adds support for it. Because there is only one port,I disabled VLAN and use eth0 as lan port. I could only create a sysupgrade firmware because I don't know how the orignal webpage check the uploaded image:-( Signed-off-by: 郭传鈜 SVN-Revision: 45208 --- target/linux/ramips/base-files/etc/board.d/01_leds | 3 +++ target/linux/ramips/base-files/etc/board.d/02_network | 1 + target/linux/ramips/base-files/etc/diag.sh | 3 +++ 3 files changed, 7 insertions(+) (limited to 'target/linux/ramips/base-files/etc') 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 bfe1c0c7f2..56ba3b73ce 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -237,6 +237,9 @@ case $board in set_usb_led "lenovo:blue:usb" set_wifi_led "lenovo:blue:wifi" ;; + zte-q7) + set_wifi_led "zte:blue:status" + ;; esac board_config_flush 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 89d1681062..d4ec19d6cd 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -46,6 +46,7 @@ ramips_setup_interfaces() 3g150b | \ 3g300m | \ w150m | \ + zte-q7 | \ all0256n | \ all5002 | \ all5003 | \ diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 50b6ff24ca..5301593f65 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -224,6 +224,9 @@ get_status_led() { y1s) status_led="lenovo:blue:power" ;; + zte-q7) + status_led="zte:red:status" + ;; esac } -- cgit v1.2.3