aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-06-18 20:24:20 +0000
committerJohn Crispin <blogic@openwrt.org>2015-06-18 20:24:20 +0000
commit0aefa67f4322757fcb4710d7b0f296f15d02dcdb (patch)
treeb571776b8b08c38f8603dde3a74b1ee2e46bd3eb /target/linux/ar71xx/base-files/lib
parent3df0da9819e0e5bb9faa1afec6d5eb0be8e156e9 (diff)
downloadupstream-0aefa67f4322757fcb4710d7b0f296f15d02dcdb.tar.gz
upstream-0aefa67f4322757fcb4710d7b0f296f15d02dcdb.tar.bz2
upstream-0aefa67f4322757fcb4710d7b0f296f15d02dcdb.zip
ar71xx: add support for compex wpj531
tftpboot 0x80500000 openwrt-ar71xx-generic-wpj531-16M-squashfs-sysupgrade.bin erase 0x9f030000 +$filesize erase 0x9f680000 +1 cp.b $fileaddr 0x9f030000 $filesize Signed-off-by: Christian Mehlis <christian@m3hlis.de> Backport of r46045 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46055 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 4a4101de33..85258d2fef 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -820,6 +820,9 @@ ar71xx_board_detect() {
*WPJ344)
name="wpj344"
;;
+ *WPJ531)
+ name="wpj531"
+ ;;
*WPJ558)
name="wpj558"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 3dbd91cfc7..ade47fb852 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -229,6 +229,7 @@ platform_check_image() {
rocket-m-xw | \
nanostation-m-xw | \
rw2458n | \
+ wpj531 | \
wndap360 | \
wpj344 | \
wzr-hp-g300nh2 | \