diff options
author | John Crispin <blogic@openwrt.org> | 2015-04-01 08:31:46 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-04-01 08:31:46 +0000 |
commit | 9f366431fcd421e91094d286b36a18707769e714 (patch) | |
tree | 07fc3c0c7e0896d8fd5c57c2940fcf4eba84ab3f /target/linux/ramips/base-files | |
parent | 12102917e04b400040589c819b2cfeee7eb4e454 (diff) | |
download | master-187ad058-9f366431fcd421e91094d286b36a18707769e714.tar.gz master-187ad058-9f366431fcd421e91094d286b36a18707769e714.tar.bz2 master-187ad058-9f366431fcd421e91094d286b36a18707769e714.zip |
ramips: Add support for ZTE Q7
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: 郭传鈜 <gch981213@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45208 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files')
5 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 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 } diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 4527414e6e..fc6eb37692 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -379,6 +379,9 @@ ramips_board_detect() { *"ZBT WR8305RT") name="wr8305rt" ;; + *"ZTE Q7") + name="zte-q7" + ;; *"Lenovo Y1") name="y1" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index fffbe72cb8..a5773b5e4d 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -114,6 +114,7 @@ platform_check_image() { xiaomi-miwifi-mini |\ y1 |\ y1s |\ + zte-q7 |\ zbt-wa05) [ "$magic" != "27051956" ] && { echo "Invalid image type." |