From 11a5128b983fdc78ffeac063bf9060116cad281b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E9=B9=8F?= Date: Tue, 17 Jul 2018 18:11:21 +0800 Subject: ar71xx:add support for E750A v4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Qxwlan E750A v4 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 5G GHz (AR9344) - 2x 10/100 Mbps Ethernet (one port with PoE support) - 1x miniPCIe slot (USB 2.0 bus only) - 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: 张鹏 (cherry picked from commit ac03d51a3f4daa2f6a2a83f041dcd71674a9f724) --- target/linux/ar71xx/base-files/etc/board.d/01_leds | 3 ++- target/linux/ar71xx/base-files/etc/diag.sh | 1 + target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++ target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) (limited to 'target/linux/ar71xx/base-files') 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 635c57e87b..3b986c3403 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -66,7 +66,8 @@ cpe830|\ cpe870|\ dr531|\ e600g-v2|\ -e600gac-v2) +e600gac-v2|\ +e750a-v2) ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth0" ucidef_set_led_netdev "wan" "WAN" "$board:green:wan" "eth1" diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index c3656f54bc..98d58987ca 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -26,6 +26,7 @@ get_status_led() { e1700ac-v2|\ e558-v2|\ e600gac-v2|\ + e750a-v4|\ 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 7be9a67da5..fb7328875f 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -684,6 +684,9 @@ ar71xx_board_detect() { *"E600GAC v2") name="e600gac-v2" ;; + *"E750A v4") + name="e750a-v4" + ;; *"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 f22e85e9eb..f171aa667c 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -253,6 +253,7 @@ platform_check_image() { e558-v2|\ e600g-v2|\ e600gac-v2|\ + e750a-v4|\ ebr-2310-c1|\ ens202ext|\ epg5000|\ -- cgit v1.2.3