aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-12-10 17:57:51 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-12-10 17:57:51 +0000
commit5d0e74a39399f148e9e5135e904898893ef1c0ee (patch)
tree158d1a66fcbc41ac24e54d42f83560f2f6a83f62 /target/linux/ar71xx/base-files
parent11f383a3dc86e146547fe605eabd4cc707a20ec3 (diff)
downloadupstream-5d0e74a39399f148e9e5135e904898893ef1c0ee.tar.gz
upstream-5d0e74a39399f148e9e5135e904898893ef1c0ee.tar.bz2
upstream-5d0e74a39399f148e9e5135e904898893ef1c0ee.zip
ar71xx: add support for the jjPlus JA79PF
Patch-by: Cezary Jackiewicz git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24440 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/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh4
3 files changed, 8 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 7abedc0a2f..add552ea31 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -57,6 +57,9 @@ get_status_led() {
eap7660d)
status_led="eap7660d:green:ds4"
;;
+ ja76pf)
+ status_led="ja76pf:green:led1"
+ ;;
ls-sr71)
status_led="ubnt:green:d22"
;;
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index ae50a23c52..ad173e815a 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -31,6 +31,9 @@ ar71xx_board_name() {
*EAP7660D)
name="eap7660d"
;;
+ *JA76PF)
+ name="ja76pf"
+ ;;
*"Bullet M")
name="bullet-m"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 1cbde8bc66..1f6c62d439 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -103,7 +103,7 @@ platform_check_image() {
}
return 0
;;
- routerstation | routerstation-pro | ls-sr71 | pb42 | pb44 | eap7660d )
+ routerstation | routerstation-pro | ls-sr71 | pb42 | pb44 | eap7660d | ja76pf )
[ "$magic" != "4349" ] && {
echo "Invalid image. Use *-sysupgrade.bin files on this board"
return 1
@@ -130,7 +130,7 @@ platform_do_upgrade() {
local board=$(ar71xx_board_name)
case "$board" in
- routerstation | routerstation-pro | ls-sr71 | eap7660d )
+ routerstation | routerstation-pro | ls-sr71 | eap7660d | ja76pf )
platform_do_upgrade_combined "$ARGV"
;;
*)