aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
author张鹏 <sd20@qxwlan.com>2018-07-17 18:14:25 +0800
committerJohn Crispin <john@phrozen.org>2018-07-30 10:43:36 +0200
commit53a45020135b504cb4bee0fa8d98c8eaf6391066 (patch)
tree2cbde3c8b5b912e572871a9ca5b28a0e812e0640 /target/linux/ar71xx/base-files
parentac03d51a3f4daa2f6a2a83f041dcd71674a9f724 (diff)
downloadupstream-53a45020135b504cb4bee0fa8d98c8eaf6391066.tar.gz
upstream-53a45020135b504cb4bee0fa8d98c8eaf6391066.tar.bz2
upstream-53a45020135b504cb4bee0fa8d98c8eaf6391066.zip
ar71xx:add support for E750G v8
Qxwlan E750G v8 is based on Qualcomm QCA9344. Specification: - 560/450/225 MHz (CPU/DDR/AHB) - 128 MB of RAM (DDR2) - 8/16 MB of FLASH (SPI NOR) - 2T2R 2.4G GHz (AR9344) - 2x 10/100 Mbps Ethernet (PoE support) - 2x 10/100/1000 Mbps Ethernet - 7x LED (6 driven by GPIO) - 1x button (reset) - 1x DC jack for main power input (9-48 V) - UART (J23) and LEDs (J2) headers on PCB Flash instruction (using U-Boot CLI and tftp server): - Configure PC with static IP 192.168.1.10 and tftp server. - Rename "sysupgrade" filename to "firmware.bin" and place it in tftp server directory. - Connect PC with one of RJ45 ports, power up the board and press "enter" key to access U-Boot CLI. - Use the following command to update the device to OpenWrt: "run lfw". Flash instruction (using U-Boot web-based recovery): - Configure PC with static IP 192.168.1.xxx(2-254)/24. - Connect PC with one of RJ45 ports, press the reset button, power up the board and keep button pressed for around 6-7 seconds, until LEDs start flashing. - Open your browser and enter 192.168.1.1, select "sysupgrade" image and click the upgrade button. Signed-off-by: 张鹏 <sd20@qxwlan.com>
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds5
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
5 files changed, 9 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds
index 2b3e8b739c..d15cff5111 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -67,7 +67,7 @@ cpe870|\
dr531|\
e600g-v2|\
e600gac-v2|\
-e750a-v2)
+e750a-v4)
ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth0"
ucidef_set_led_netdev "wan" "WAN" "$board:green:wan" "eth1"
@@ -373,7 +373,8 @@ e1700ac-v2)
ucidef_set_led_usbdev "usb" "USB" "$board:green:usb" "1-1"
ucidef_set_led_wlan "wlan2g" "WLAN2G" "$board:green:wlan2g" "phy1tpt"
;;
-e558-v2)
+e558-v2|\
+e750g-v8)
ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt"
;;
esr900)
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index be5d9ad95d..3967dee94b 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -385,6 +385,7 @@ ar71xx_setup_interfaces()
ucidef_add_switch_attr "switch0" "enable" "false"
;;
e1700ac-v2|\
+ e750g-v8|\
unifiac-pro|\
xd3200)
ucidef_add_switch "switch0" \
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 00b839ef59..45b5d2adbb 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -27,6 +27,7 @@ get_status_led() {
e558-v2|\
e600gac-v2|\
e750a-v4|\
+ e750g-v8|\
eap120|\
minibox-v1|\
packet-squirrel|\
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index adeffe96a1..27c4bec280 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -687,6 +687,9 @@ ar71xx_board_detect() {
*"E750A v4")
name="e750a-v4"
;;
+ *"E750G v8")
+ name="e750g-v8"
+ ;;
*"EAP120")
name="eap120"
tplink_pharos_board_detect "$(tplink_pharos_get_model_string | tr -d '\r')"
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 7db4899dc7..5a1f71b431 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -254,6 +254,7 @@ platform_check_image() {
e600g-v2|\
e600gac-v2|\
e750a-v4|\
+ e750g-v8|\
ebr-2310-c1|\
ens202ext|\
epg5000|\