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
master
Gabor Juhos 11 years ago
parent 5256bbdc56
commit 02f2e90d5f
  1. 3
      target/linux/ar71xx/base-files/etc/diag.sh
  2. 1
      target/linux/ar71xx/base-files/etc/uci-defaults/02_network
  3. 6
      target/linux/ar71xx/base-files/lib/ar71xx.sh
  4. 1
      target/linux/ar71xx/base-files/lib/upgrade/platform.sh

@ -125,6 +125,9 @@ get_status_led() {
rw2458n) rw2458n)
status_led="rw2458n:green:d3" status_led="rw2458n:green:d3"
;; ;;
oolite)
status_led="oolite:red:system"
;;
tew-632brp) tew-632brp)
status_led="tew-632brp:green:status" status_led="tew-632brp:green:status"
;; ;;

@ -283,6 +283,7 @@ dir-615-c1 |\
dir-615-e4 |\ dir-615-e4 |\
ja76pf |\ ja76pf |\
mynet-n600 |\ mynet-n600 |\
oolite |\
rb-750 |\ rb-750 |\
rb-751 |\ rb-751 |\
tew-632brp |\ tew-632brp |\

@ -91,6 +91,9 @@ tplink_board_detect() {
hwver="v${hwver#0}" hwver="v${hwver#0}"
case "$hwid" in case "$hwid" in
"3C0001"*)
model="OOLITE"
;;
"070300"*) "070300"*)
model="TP-Link TL-WR703N" model="TP-Link TL-WR703N"
;; ;;
@ -204,6 +207,9 @@ ar71xx_board_detect() {
machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo) machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo)
case "$machine" in case "$machine" in
*"Oolite V1.0")
name="oolite"
;;
*"AirRouter") *"AirRouter")
name="airrouter" name="airrouter"
;; ;;

@ -220,6 +220,7 @@ platform_check_image() {
;; ;;
archer-c7 | \ archer-c7 | \
oolite | \
tl-mr10u | \ tl-mr10u | \
tl-mr11u | \ tl-mr11u | \
tl-mr13u | \ tl-mr13u | \

Loading…
Cancel
Save