projects
/
openwrt
/
staging
/
yousong.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
417f9e7
)
ar71xx: add user-space support for the OpenMesh A60
author
Sven Eckelmann
<
[email protected]
>
Tue, 9 Aug 2016 14:06:45 +0000
(16:06 +0200)
committer
John Crispin
<
[email protected]
>
Tue, 14 Feb 2017 11:18:05 +0000
(12:18 +0100)
Signed-off-by: Sven Eckelmann <
[email protected]
>
target/linux/ar71xx/base-files/etc/board.d/01_leds
patch
|
blob
|
history
target/linux/ar71xx/base-files/etc/board.d/02_network
patch
|
blob
|
history
target/linux/ar71xx/base-files/etc/diag.sh
patch
|
blob
|
history
target/linux/ar71xx/base-files/lib/ar71xx.sh
patch
|
blob
|
history
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 b0aa7c2b24eac0b6c0c1f53e98143fb730dae9fa..c2737bd460342a275a4078b2f4d757b9db50e5a5 100755
(executable)
--- a/
target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/
target/linux/ar71xx/base-files/etc/board.d/01_leds
@@
-11,6
+11,10
@@
board_config_update
board=$(ar71xx_board_name)
case "$board" in
+a60)
+ ucidef_set_led_default "status-red" "Status (red)" "a60:red:status" "0"
+ ucidef_set_led_default "status-blue" "Status (blue)" "a60:blue:status" "0"
+ ;;
airgateway|\
airgatewaypro)
ucidef_set_led_wlan "wlan" "WLAN" "ubnt:blue:wlan" "phy0tpt"
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 0687b292089069a90023301fe00a9865693ebc55..92c2af7978ca7fb8f3656a1932b44e66625163fe 100755
(executable)
--- a/
target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/
target/linux/ar71xx/base-files/etc/board.d/02_network
@@
-120,6
+120,7
@@
ar71xx_setup_interfaces()
wp543)
ucidef_set_interface_lan "eth0"
;;
+ a60|\
alfa-ap96|\
alfa-nx|\
gl-ar150|\
diff --git
a/target/linux/ar71xx/base-files/etc/diag.sh
b/target/linux/ar71xx/base-files/etc/diag.sh
index 17b324d65ee6c2d851df4bf3dfb4da644070e35f..871a12b9bdea82a2cf7f4d402c318c0c243e43a4 100644
(file)
--- a/
target/linux/ar71xx/base-files/etc/diag.sh
+++ b/
target/linux/ar71xx/base-files/etc/diag.sh
@@
-8,6
+8,9
@@
get_status_led() {
local board=$(ar71xx_board_name)
case $board in
+ a60)
+ status_led="a60:green:status"
+ ;;
alfa-nx)
status_led="alfa:green:led_8"
;;
diff --git
a/target/linux/ar71xx/base-files/lib/ar71xx.sh
b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index f090b041d06e8ab8e634556ef6c12ab2b6eac623..4781278948e45fb6758ac68f721a4ae8c12b9d84 100755
(executable)
--- a/
target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/
target/linux/ar71xx/base-files/lib/ar71xx.sh
@@
-382,6
+382,9
@@
ar71xx_board_detect() {
*"Oolite V1.0")
name="oolite"
;;
+ *"A60")
+ name="a60"
+ ;;
*"AC1750DB")
name="f9k1115v2"
;;