2
0
forked from Ivasoft/openwrt

ath79: add etactica-eg200 support

Based on original ar71xx eg200 board files

Tested working:
* usb hub, storage and serial port
* ethernet
* wifi
* leds
* button

sysupgrade from self->self passes validity checks.
sysupgrade from old ar71xx->ath79 passes. (however this doesn't migrate
wireless driver configs)

Only unknown issue is the existance of a /sys/class/leds/ath9k-phy0,
which doesn't "exist"

Signed-off-by: Karl Palsson <karlp@etactica.com>
This commit is contained in:
Karl Palsson
2018-05-07 16:08:00 +00:00
committed by John Crispin
parent a32c06f44d
commit 1588114cf2
4 changed files with 160 additions and 0 deletions

View File

@@ -18,6 +18,12 @@ case "$board" in
ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "$boardname:green:rssi3" "wlan0" "60" "100"
ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "$boardname:green:rssi4" "wlan0" "80" "100"
;;
"etactica,eg200")
ucidef_set_led_netdev "lan" "LAN" "$boardname:red:eth0" "eth0"
ucidef_set_led_wlan "wlan" "WLAN" "$boardname:red:wlan" "phy0tpt"
ucidef_set_led_oneshot "modbus" "Modbus" "$boardname:red:modbus" "100" "33"
ucidef_set_led_default "etactica" "etactica" "$boardname:red:etactica" "ignore"
;;
"glinet,ar150")
ucidef_set_led_wlan "wlan" "WLAN" "gl-ar150:orange:wlan" "phy0tpt"
;;

View File

@@ -8,6 +8,9 @@ ath79_setup_interfaces()
local board="$1"
case "$board" in
"etactica,eg200")
ucidef_set_interface_lan "eth0" "dhcp"
;;
"avm,fritz300e"|\
"tplink,tl-mr10u"|\
"tplink,tl-wr703n"|\