projects
/
openwrt
/
staging
/
pepe2k.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7719dc
)
ar71xx: add user-space support for the OpenMesh MR1750v2
author
Sven Eckelmann
<
[email protected]
>
Fri, 20 May 2016 15:53:14 +0000
(17:53 +0200)
committer
Felix Fietkau
<
[email protected]
>
Mon, 23 May 2016 10:19:25 +0000
(12:19 +0200)
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
target/linux/ar71xx/base-files/lib/upgrade/openmesh.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 9ac2057fb485d11bdf74f8e0b859d88bcb788b98..8ba08ddf25a9a5b637105efe3979d61554a3e491 100755
(executable)
--- a/
target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/
target/linux/ar71xx/base-files/etc/board.d/01_leds
@@
-322,7
+322,8
@@
mr600)
ucidef_set_led_wlan "wlan58" "WLAN58" "mr600:green:wlan58" "phy0tpt"
;;
-mr1750)
+mr1750 | \
+mr1750v2)
ucidef_set_led_netdev "lan" "LAN" "mr1750:blue:wan" "eth0"
ucidef_set_led_wlan "wlan58" "WLAN58" "mr1750:blue:wlan58" "phy0tpt"
ucidef_set_led_wlan "wlan24" "WLAN24" "mr1750:blue:wlan24" "phy1tpt"
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 e7da0653e20c97395c93aaf3e124e3aaa9cb83db..27c8980b08eb7f4920614320eca28cc9a27bdf39 100755
(executable)
--- a/
target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/
target/linux/ar71xx/base-files/etc/board.d/02_network
@@
-335,6
+335,7
@@
eap7660d |\
el-mini |\
loco-m-xw |\
mr1750 |\
+mr1750v2 |\
mr18 |\
mr600 |\
mr600v2 |\
diff --git
a/target/linux/ar71xx/base-files/etc/diag.sh
b/target/linux/ar71xx/base-files/etc/diag.sh
index 10e6eae72617f167c9de9bebe27201f2568148a7..4c37ab0d0fd40183a21704050f1d2996fb6d736b 100644
(file)
--- a/
target/linux/ar71xx/base-files/etc/diag.sh
+++ b/
target/linux/ar71xx/base-files/etc/diag.sh
@@
-176,7
+176,8
@@
get_status_led() {
mr600v2)
status_led="mr600:blue:power"
;;
- mr1750)
+ mr1750 | \
+ mr1750v2)
status_led="mr1750:blue:power"
;;
mr900 | \
diff --git
a/target/linux/ar71xx/base-files/lib/ar71xx.sh
b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 5b5c805540b016bd424e2af65cd514f4953c0ea2..4318818cd285e4ffeed183ff2cbabbb8401ea381 100755
(executable)
--- a/
target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/
target/linux/ar71xx/base-files/lib/ar71xx.sh
@@
-595,6
+595,9
@@
ar71xx_board_detect() {
*MR1750)
name="mr1750"
;;
+ *MR1750v2)
+ name="mr1750v2"
+ ;;
*MR600)
name="mr600"
;;
diff --git
a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
index 270ef400b9d5a69a94447bc9f07196bfc432f254..87b65165b4ce251073812553c6a7d6ed09174738 100644
(file)
--- a/
target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
+++ b/
target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
@@
-65,6
+65,7
@@
platform_check_image_target_openmesh()
;;
MR1750)
[ "$board" = "mr1750" ] && return 0
+ [ "$board" = "mr1750v2" ] && return 0
echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform"
return 1
;;