ar71xx: add user space support for the Oolite v1 board
authorGabor Juhos <juhosg@openwrt.org>
Thu, 27 Mar 2014 06:36:47 +0000 (06:36 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 27 Mar 2014 06:36:47 +0000 (06:36 +0000)
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

target/linux/ar71xx/base-files/etc/diag.sh
target/linux/ar71xx/base-files/etc/uci-defaults/02_network
target/linux/ar71xx/base-files/lib/ar71xx.sh
target/linux/ar71xx/base-files/lib/upgrade/platform.sh

index b328766a61a9a644a97acfb07328b0aff23203f4..0e1fe5cb746ec98d71262c4b67944cd1c00077b5 100755 (executable)
@@ -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"
                ;;
index 9a1a285a398e576aeb451670d4b5b567d0b5cec8..c8ee86bfcac6b36fb404b36a98bc97a9cbcad42d 100755 (executable)
@@ -283,6 +283,7 @@ dir-615-c1 |\
 dir-615-e4 |\
 ja76pf |\
 mynet-n600 |\
+oolite |\
 rb-750 |\
 rb-751 |\
 tew-632brp |\
index 06f128bb0f77bdfaa267de36954c289939412d83..a20e1d52bbd7f0ec148e7d7cd4e4560fd2da7dac 100755 (executable)
@@ -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"
                ;;
index 0028e8a584598581639ca9246dc5e8a598ba602e..d08799e44ba2a68d2bef4456100ef711e1801bf5 100755 (executable)
@@ -220,6 +220,7 @@ platform_check_image() {
                ;;
 
        archer-c7 | \
+       oolite | \
        tl-mr10u | \
        tl-mr11u | \
        tl-mr13u | \