aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2014-03-27 06:36:47 +0000
committerGabor Juhos <juhosg@openwrt.org>2014-03-27 06:36:47 +0000
commit02f2e90d5f9071ff3641a8dccfd54ab1354a0c13 (patch)
tree410deaccfe4b157c4f6391300e17330a6317c130 /target/linux/ar71xx
parent5256bbdc56f4829106e9c11271a273ef7f704870 (diff)
downloadupstream-02f2e90d5f9071ff3641a8dccfd54ab1354a0c13.tar.gz
upstream-02f2e90d5f9071ff3641a8dccfd54ab1354a0c13.tar.bz2
upstream-02f2e90d5f9071ff3641a8dccfd54ab1354a0c13.zip
ar71xx: add user space support for the Oolite v1 board
Patch-by: Lars Bøgild Thomsen <lth@cow.dk> Patchwork: http://patchwork.openwrt.org/patch/4922/ [juhosg: use correct board name in uci-defaults/02_network] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 40033
Diffstat (limited to 'target/linux/ar71xx')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh6
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
4 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index b328766a61..0e1fe5cb74 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -125,6 +125,9 @@ get_status_led() {
rw2458n)
status_led="rw2458n:green:d3"
;;
+ oolite)
+ status_led="oolite:red:system"
+ ;;
tew-632brp)
status_led="tew-632brp:green:status"
;;
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index 9a1a285a39..c8ee86bfca 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -283,6 +283,7 @@ dir-615-c1 |\
dir-615-e4 |\
ja76pf |\
mynet-n600 |\
+oolite |\
rb-750 |\
rb-751 |\
tew-632brp |\
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 06f128bb0f..a20e1d52bb 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -91,6 +91,9 @@ tplink_board_detect() {
hwver="v${hwver#0}"
case "$hwid" in
+ "3C0001"*)
+ model="OOLITE"
+ ;;
"070300"*)
model="TP-Link TL-WR703N"
;;
@@ -204,6 +207,9 @@ ar71xx_board_detect() {
machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo)
case "$machine" in
+ *"Oolite V1.0")
+ name="oolite"
+ ;;
*"AirRouter")
name="airrouter"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 0028e8a584..d08799e44b 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -220,6 +220,7 @@ platform_check_image() {
;;
archer-c7 | \
+ oolite | \
tl-mr10u | \
tl-mr11u | \
tl-mr13u | \