summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/etc/diag.sh
diff options
context:
space:
mode:
authorPiotr Dymacz <pepe2k@gmail.com>2018-01-26 16:21:34 +0100
committerPiotr Dymacz <pepe2k@gmail.com>2018-02-22 23:40:11 +0100
commitf1c193c27e714a051b49788fff3aecbd728190e1 (patch)
tree96de333820159b99516114bf11b68b361674c351 /target/linux/ramips/base-files/etc/diag.sh
parent8c64824576598117958691853de68bf4dcfc3c06 (diff)
downloadmtk-20170518-f1c193c27e714a051b49788fff3aecbd728190e1.zip
mtk-20170518-f1c193c27e714a051b49788fff3aecbd728190e1.tar.gz
mtk-20170518-f1c193c27e714a051b49788fff3aecbd728190e1.tar.bz2
ramips: add support for ALFA Network AWUSFREE1
ALFA Network AWUSFREE1 is an USB Wi-Fi N300 adapter based on MT7628. Specification: - MT7628AN (580 MHz) - 64 MB of RAM (DDR2) - 8 MB of FLASH (SPI NOR) - 2T2R 2.4 GHz (MT7628) with external FEM (RFFM4203) - 2x detachable antennas (RP-SMA) - ASIX AX88772 USB to Ethernet bridge (connected with MT7628 PHY0) - 4x LED (2 driven by GPIO) - 1x button (reset) - 1x mini USB for host and main power input - UART header on PCB Flash instruction: You can use sysupgrade image directly in vendor firmware which is based on LEDE/OpenWrt. Alternatively, you can use web recovery mode in U-Boot: 1. Power device with reset button pressed and release it after ~5 sec. 2. Setup static IP 192.168.1.2/4 on your PC. 3. Go to 192.168.1.1 in browser and upload "sysupgrade" image. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/ramips/base-files/etc/diag.sh')
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index c5f62ab..6038804 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -78,6 +78,9 @@ get_status_led() {
wrh-300cr)
status_led="$boardname:green:wps"
;;
+ alfa-network,awusfree1)
+ status_led="$boardname:orange:system"
+ ;;
all0239-3g|\
dcs-930|\
dir-300-b1|\