summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-22 12:33:22 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-22 12:33:22 +0000
commitd27564d0948d32b204c3ff90f87043557376a0b0 (patch)
treee4e07f93eeaf6eeec83fb066be549d8199b11671 /target/linux/ar71xx/base-files
parent1244bd5f5672873a976b50d95e7b3a30e26b2ef1 (diff)
ar71xx: add ALL0305 board alias
For the pure convenience of having a correctly named image and system name in /proc/cpuinfo , until we can do that by having system names in DTS... Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33224 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh2
4 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 02cfa35516..406d0b1d1c 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -33,6 +33,9 @@ get_status_led() {
alfa-nx)
status_led="alfa:green:led_8"
;;
+ all0305)
+ status_led="eap7660d:green:ds4"
+ ;;
ap136)
status_led="ap136:green:status"
;;
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index ae4b88b7c7..31d7572338 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -130,6 +130,7 @@ wzr-hp-g300nh)
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5t"
;;
+all0305 |\
aw-nr580 |\
bullet-m |\
eap7660d |\
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 23d34a3370..bb92b96144 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -159,6 +159,9 @@ ar71xx_board_detect() {
*ALL0258N)
name="all0258n"
;;
+ *ALL0305)
+ name="all0305"
+ ;;
*AP113)
name="ap113"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index fb5fe7318a..f1c0164ee3 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -189,6 +189,7 @@ platform_check_image() {
ls-sr71 | \
pb42 | \
pb44 | \
+ all0305 | \
eap7660d | \
ja76pf | \
ja76pf2)
@@ -221,6 +222,7 @@ platform_do_upgrade() {
routerstation | \
routerstation-pro | \
ls-sr71 | \
+ all0305 | \
eap7660d | \
pb42 | \
pb44 | \