aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorFrancois Goudal <francois@goudal.net>2017-02-27 21:59:50 +0100
committerMathias Kresin <dev@kresin.me>2017-03-01 22:29:50 +0100
commit9b35815f0f0e10125d144c82595bbccbc83d6812 (patch)
treed020d431072ff7bc375e770f759e3aa37cbc0d5b /target/linux/ramips/base-files
parent23bf153eadc9a1f0fa761155742f2e7107159a0c (diff)
downloadupstream-9b35815f0f0e10125d144c82595bbccbc83d6812.tar.gz
upstream-9b35815f0f0e10125d144c82595bbccbc83d6812.tar.bz2
upstream-9b35815f0f0e10125d144c82595bbccbc83d6812.zip
ramips: add support for Afoundry EW-1200
This device features both a 2.4 and 5Ghz radio, and supports 802.11a/b/g/n/ac modes. It has 5 Gb-Ethernet ports and a USB 3.0 host port. It is powered by the Mediatek MT7621 SoC, and the MT7602E and MT7612E wifi chipsets, together with 128MB of RAM and 16 MB of SPI Flash. The stock firmware is in fact based on some openwrt barrier breaker, with a mediatek SDK kernel, and an afoundry custom made web interface (not LuCI based). Firmware update page on the stock web interface can not accept sysupgrade images, it bricks the device. At this point, the only working solution I found was to connect to the serial console port (available on J4 header) and to use opkg to install dropbear. Then scp the sysupgrade file in the device's /tmp and run sysupgrade from console without preserving configuration files. Signed-off-by: Francois Goudal <francois@goudal.net>
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds1
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
5 files changed, 7 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 be3306d308..e01ba5f602 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -19,6 +19,7 @@ board_config_update
case $board in
11acnas|\
all0239-3g|\
+ew1200|\
hw550-3g|\
mofi3500-3gn|\
sap-g3200u3|\
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 cfad1fffde..c67f3d58b3 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -78,6 +78,7 @@ ramips_setup_interfaces()
dir-320-b1|\
dir-610-a1|\
dir-615-h1|\
+ ew1200|\
firewrt|\
hc5661a|\
hc5962|\
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 3f2211778b..54961371f8 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -88,6 +88,7 @@ get_status_led() {
status_led="$board:blue:wlan"
;;
atp-52b|\
+ ew1200|\
ip2202)
status_led="$board:green:run"
;;
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 8e53848be8..91ce5fbd49 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -184,6 +184,9 @@ ramips_board_detect() {
*"ESR-9753")
name="esr-9753"
;;
+ *"EW1200")
+ name="ew1200"
+ ;;
*"EX2700")
name="ex2700";
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index e5e5eb0487..3245e2c1c8 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -53,6 +53,7 @@ platform_check_image() {
dwr-512-b|\
e1700|\
esr-9753|\
+ ew1200|\
ex2700|\
f7c027|\
firewrt|\