diff options
author | Luka Perkov <luka@openwrt.org> | 2015-03-06 14:41:57 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2015-03-06 14:41:57 +0000 |
commit | 7aeb6923b5e1c5e046905fcf7c429e57898bfa31 (patch) | |
tree | f4efca4af89d8058f99939300e7a658a422bc3cd /target/linux/ar71xx/base-files | |
parent | 9c221b18809fc9d2bfe9e2cb92c78c37136b6ce3 (diff) | |
download | upstream-7aeb6923b5e1c5e046905fcf7c429e57898bfa31.tar.gz upstream-7aeb6923b5e1c5e046905fcf7c429e57898bfa31.tar.bz2 upstream-7aeb6923b5e1c5e046905fcf7c429e57898bfa31.zip |
ar71xx: add support for compex wpj558
OpenWrt can be flashed with following uboot commands:
tftpboot 0x80500000 openwrt-ar71xx-generic-wpj558-16M-squashfs-sysupgrade.bin
erase 0x9f030000 +$filesize
cp.b $fileaddr 0x9f030000 $filesize
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44620 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files')
4 files changed, 15 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 3cbf7fbd5e..56f956072f 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -293,6 +293,9 @@ get_status_led() { wp543) status_led="wp543:green:diag" ;; + wpj558) + status_led="wpj558:green:sig3" + ;; wrt400n) status_led="wrt400n:blue:wps" ;; diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network index fdefb5abef..20f34d50da 100644 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -359,6 +359,13 @@ wpe72) ucidef_set_interfaces_lan_wan "eth1" "eth0" ;; +wpj558) + ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" + ucidef_add_switch "switch0" "1" "1" + ucidef_add_switch_vlan "switch0" "1" "5 6t" + ucidef_add_switch_vlan "switch0" "2" "1 6t" + ;; + ap121 |\ ap121-mini |\ ap96 |\ diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 52acc6b39e..d5be238ec9 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -771,6 +771,9 @@ ar71xx_board_detect() { *WPE72) name="wpe72" ;; + *WPJ558) + name="wpj558" + ;; *WNDAP360) name="wndap360" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 15fcf8915f..4353efd60c 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -180,10 +180,11 @@ platform_check_image() { ap136-020 | \ ap135-020 | \ ap96 | \ + bxu2000n-2-a1 | \ db120 | \ f9k1115v2 |\ hornet-ub | \ - bxu2000n-2-a1 | \ + wpj558 | \ zcn-1523h-2 | \ zcn-1523h-5) [ "$magic_long" != "68737173" -a "$magic_long" != "19852003" ] && { |