diff options
Diffstat (limited to 'target/linux/ar71xx/base-files')
5 files changed, 17 insertions, 0 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 b2469bf4d8..39b21ca519 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -399,6 +399,12 @@ om5p-ac) ucidef_set_led_netdev "port2" "port2" "om5pac:blue:wan" "eth1" ;; +omy-g1) + ucidef_set_led_wlan "wlan" "WLAN" "omy:green:wlan" "phy0tpt" + ucidef_set_led_netdev "wan" "WAN" "omy:green:wan" "eth0" + ucidef_set_led_netdev "lan" "LAN" "omy:green:lan" "eth1" + ;; + omy-x1) ucidef_set_led_default "power" "POWER" "omy:green:power" "1" ucidef_set_led_default "wan" "WAN" "omy:green:wan" "eth0" 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 8fdfa0700e..7724a08a0e 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -220,6 +220,7 @@ tl-wr941nd) ;; dir-615-i1 |\ +omy-g1 |\ r6100 |\ smart-300 |\ tl-mr3420-v2 |\ diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 1f9bd3f706..77fa398a66 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -218,6 +218,9 @@ get_status_led() { om5p-acv2) status_led="om5pac:blue:power" ;; + omy-g1) + status_led="omy:green:wlan" + ;; omy-x1) status_led="omy:green:power" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 3d4541ea00..588affd9cd 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -123,6 +123,9 @@ tplink_board_detect() { "007260"*) model="TellStick ZNet Lite" ;; + "066601"*) + model="OMYlink OMY-G1" + ;; "066602"*) model="OMYlink OMY-X1" ;; @@ -655,6 +658,9 @@ ar71xx_board_detect() { *"OMY-X1") name="omy-x1" ;; + *"OMY-G1") + name="omy-g1" + ;; *"Onion Omega") name="onion-omega" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index d44ece560c..5334600070 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -340,6 +340,7 @@ platform_check_image() { gl-inet | \ mc-mac1200r | \ minibox-v1 |\ + omy-g1 |\ omy-x1 |\ onion-omega | \ oolite | \ |