aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-10-30 06:50:58 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-10-30 06:50:58 +0000
commit003a801dd97923af8b80479e0f78f699a8d562bc (patch)
tree847fa347ad9d529ea09a066eec81f7dd341d82c9 /target/linux/ar71xx/base-files/lib
parentef8306cfd2235bf3d060ce5d67fbad69afed228b (diff)
downloadupstream-003a801dd97923af8b80479e0f78f699a8d562bc.tar.gz
upstream-003a801dd97923af8b80479e0f78f699a8d562bc.tar.bz2
upstream-003a801dd97923af8b80479e0f78f699a8d562bc.zip
ar71xx: add user-space support for the BXU2000n-2 A1 board
Patchwork: http://patchwork.openwrt.org/patch/4183/ Signed-off-by: Terry Yang <yangbo@bhunetworks.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38592
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 633fae12fa..cd03168857 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -576,6 +576,9 @@ ar71xx_board_detect() {
*"Sitecom WLR-8100")
name="wlr8100"
;;
+ *"BHU BXU2000n-2 rev. A1")
+ name="bxu2000n-2-a1"
+ ;;
esac
case "$machine" in
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 28e4a91ff1..ae04a8c319 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -98,6 +98,7 @@ platform_check_image() {
ap96 | \
db120 | \
hornet-ub | \
+ bxu2000n-2-a1 | \
zcn-1523h-2 | \
zcn-1523h-5)
[ "$magic_long" != "68737173" -a "$magic_long" != "19852003" ] && {