diff options
author | Karl Palsson <karlp@etactica.com> | 2018-05-07 16:08:00 +0000 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-06-08 09:56:27 +0200 |
commit | 1588114cf2a3a32e96e818e65b99392723184400 (patch) | |
tree | 9d21d797f169ea6af1ae8b302fc89ba84391bd31 /target/linux/ath79/base-files | |
parent | a32c06f44d6340fd25d1eb276f62b8494de9f462 (diff) | |
download | upstream-1588114cf2a3a32e96e818e65b99392723184400.tar.gz upstream-1588114cf2a3a32e96e818e65b99392723184400.tar.bz2 upstream-1588114cf2a3a32e96e818e65b99392723184400.zip |
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>
Diffstat (limited to 'target/linux/ath79/base-files')
-rwxr-xr-x | target/linux/ath79/base-files/etc/board.d/01_leds | 6 | ||||
-rwxr-xr-x | target/linux/ath79/base-files/etc/board.d/02_network | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/01_leds b/target/linux/ath79/base-files/etc/board.d/01_leds index 76b0257919..80e32d9e00 100755 --- a/target/linux/ath79/base-files/etc/board.d/01_leds +++ b/target/linux/ath79/base-files/etc/board.d/01_leds @@ -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" ;; diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network index c02d9ff063..a2d6ab0049 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -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"|\ |