From d9799dea89ea1da5bbc0c9146a2e1ae5e54bd742 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sat, 9 Apr 2016 10:26:41 +0000 Subject: ar71xx: add support for Compex WPJ342 OpenWrt can be flashed with following uboot commands: tftpboot 0x80500000 openwrt-ar71xx-generic-wpj342-16M-squashfs-sysupgrade.bin erase 0x9f030000 +$filesize cp.b $fileaddr 0x9f030000 $filesize Signed-off-by: Christian Mehlis SVN-Revision: 49157 --- target/linux/ar71xx/base-files/etc/board.d/02_network | 5 +++++ target/linux/ar71xx/base-files/etc/diag.sh | 3 +++ 2 files changed, 8 insertions(+) (limited to 'target/linux/ar71xx/base-files/etc') diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index bd488a2..c6a2014 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -405,6 +405,11 @@ gl-ar300) "0@eth1" "1:lan" "2:lan" "3:lan" "4:lan" ;; +wpj342) + ucidef_add_switch "switch0" \ + "0@eth0" "1:lan" "2:wan" + ;; + wpj344) ucidef_add_switch "switch0" \ "0@eth0" "3:lan" "2:wan" diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 783a4e6..1cf6e4c 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -389,6 +389,9 @@ get_status_led() { wp543) status_led="wp543:green:diag" ;; + wpj342) + status_led="wpj342:green:sig3" + ;; wpj344) status_led="wpj344:green:status" ;; -- cgit v1.1