summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-06-18 18:21:15 +0000
committerJohn Crispin <john@openwrt.org>2015-06-18 18:21:15 +0000
commit8399be545a01b05549902a96778b9b3983a6b4ec (patch)
treec66c3b2766c839d8d0655fbb696d07623a2ecc90 /target/linux/ar71xx/base-files/etc
parent694dd581ebb2898854385e40655c5cd2a44424c3 (diff)
downloadmaster-31e0f0ae-8399be545a01b05549902a96778b9b3983a6b4ec.tar.gz
master-31e0f0ae-8399be545a01b05549902a96778b9b3983a6b4ec.tar.bz2
master-31e0f0ae-8399be545a01b05549902a96778b9b3983a6b4ec.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> SVN-Revision: 46045
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh3
-rw-r--r--target/linux/ar71xx/base-files/etc/uci-defaults/02_network4
2 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index f6e4a875fc..4bdb53db93 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -311,6 +311,9 @@ get_status_led() {
wpj344)
status_led="wpj344:green:status"
;;
+ wpj531)
+ status_led="wpj531:green:sig3"
+ ;;
wpj558)
status_led="wpj558:green:sig3"
;;
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 9fdaca0721..4fe951e3ca 100644
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -369,6 +369,10 @@ wpj344)
ucidef_add_switch_vlan "switch0" "2" "0t 2"
;;
+wpj531)
+ ucidef_set_interfaces_lan_wan "eth0" "eth1"
+ ;;
+
wpj558)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"