diff options
author | Karl Palsson <karlp@etactica.com> | 2016-05-26 11:20:53 +0000 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-02-13 10:01:53 +0100 |
commit | b2a5f7683b0d36b2a346c67a0dcf9140498b7f92 (patch) | |
tree | cadaf7fc9a377bba01846c35ee740330e016991e /target/linux/ar71xx/base-files | |
parent | da8990e717e1e8704e08c1f75484352397c22231 (diff) | |
download | upstream-b2a5f7683b0d36b2a346c67a0dcf9140498b7f92.tar.gz upstream-b2a5f7683b0d36b2a346c67a0dcf9140498b7f92.tar.bz2 upstream-b2a5f7683b0d36b2a346c67a0dcf9140498b7f92.zip |
ar71xx: Add eTactica EG-200 support
EG-200 is a DIN rail mountable device with one ethernet port, wifi,
an RS-485 port, and an internal USB attached uSD card reader.
Two leds, "modbus" and "etactica" are managed by userspace applications
in factory firmware.
Flash instruction:
Original firmware is based on OpenWrt.
Use sysupgrade image directly in vendor GUI.
Signed-off-by: Karl Palsson <karlp@etactica.com>
Diffstat (limited to 'target/linux/ar71xx/base-files')
4 files changed, 12 insertions, 1 deletions
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 c45376f9e4..6711fb4ce9 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -623,6 +623,12 @@ re450) ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "$board:blue:wlan2g" "phy1tpt" ucidef_set_led_wlan "wlan5g" "WLAN 5 GHz" "$board:blue:wlan5g" "phy0tpt" ;; +rme-eg200) + ucidef_set_led_netdev "wan" "WAN" "eg200:red:eth0" "eth0" + ucidef_set_led_wlan "wlan" "WLAN" "eg200:red:wlan" "phy0tpt" + ucidef_set_led_oneshot "modbus" "Modbus" "eg200:red:modbus" "100" "33" + ucidef_set_led_default "etactica" "etactica" "eg200:red:etactica" "ignore" + ;; rocket-m-ti) ucidef_set_led_rssi "rssiverylow" "RSSIVERYLOW" "ubnt:green:link1" "wlan0" "1" "100" "0" "13" ucidef_set_led_rssi "rssilow" "RSSILOW" "ubnt:green:link2" "wlan0" "26" "100" "-25" "13" diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index b208f38b5e..f131b3b633 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -262,7 +262,8 @@ ar71xx_setup_interfaces() ucidef_add_switch "switch0" \ "0@eth0" "3:wan" "4:lan" ;; - cap324) + cap324|\ + rme-eg200) ucidef_set_interface_lan "eth0" "dhcp" ;; cpe210|\ diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 7c7a0e2674..a255b83802 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -670,6 +670,9 @@ ar71xx_board_detect() { *"ESR900") name="esr900" ;; + *"eTactica EG-200") + name="rme-eg200" + ;; *"FRITZ!WLAN Repeater 300E") name="fritz300e" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 946a886071..8f56d1a8f6 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -262,6 +262,7 @@ platform_check_image() { pqi-air-pen|\ r36a|\ r602n|\ + rme-eg200|\ rocket-m|\ rocket-m-ti|\ rocket-m-xw|\ |