aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/generic/base-files/etc/board.d/02_network
diff options
context:
space:
mode:
authorLeon M. George <leon@georgemail.eu>2019-07-26 20:34:01 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-07-26 02:14:45 +0200
commit15f585afc5b66f5addb6667001c303b5fd502ce5 (patch)
tree266ba2744345036537ac88f09667ab06963db46c /target/linux/ath79/generic/base-files/etc/board.d/02_network
parentf8ea7c53fd227a9c21f0ca45a2c3345312ea54b5 (diff)
downloadupstream-15f585afc5b66f5addb6667001c303b5fd502ce5.tar.gz
upstream-15f585afc5b66f5addb6667001c303b5fd502ce5.tar.bz2
upstream-15f585afc5b66f5addb6667001c303b5fd502ce5.zip
ath79: add support for Compex WPJ563
Specifications: SoC: QCA9563 DRAM: 128MB DDR2 Flash: 16MB SPI-NOR 2 Gigabit ethernet ports 3×3 2.4GHz on-board radio miniPCIe slot that supports 5GHz radio PoE 24V passive or 36V-56V passive with optional IEEE 802.3af/at USB 3.0 header Installation: To install, either start tftp in bin/targets/ath79/generic/ and use the u-boot prompt over UART: tftpboot 0x80500000 openwrt-ath79-generic-compex_wpj563-squashfs-sysupgrade.bin erase 0x9f680000 +1 erase 0x9f030000 +$filesize cp.b $fileaddr 0x9f030000 $filesize boot The cpximg file can be used with sysupgrade in the stock firmware (add SSH key in luci for root access) or with the built-in cpximg loader. The cpximg loader can be started either by holding the reset button during power up or by entering the u-boot prompt and entering 'cpximg'. Once it's running, a TFTP-server under 192.168.1.1 will accept the image appropriate for the board revision that is etched on the board. For example, if the board is labelled '7A02': tftp -v -m binary 192.168.1.1 -c put openwrt-ath79-generic-compex_wpj563-squashfs-cpximg-7a02.bin MAC addresses: <&uboot 0x2e010> *:71 (label) <&uboot 0x2e018> *:72 <&uboot 0x2e020> *:73 <&uboot 0x2e028> *:74 Only the first two are used (for ethernet), the WiFi modules have separate (valid) addresses. The latter two addresses are not used. Signed-off-by: Leon M. George <leon@georgemail.eu>
Diffstat (limited to 'target/linux/ath79/generic/base-files/etc/board.d/02_network')
-rwxr-xr-xtarget/linux/ath79/generic/base-files/etc/board.d/02_network6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network
index e301b6f616..d99e2ed0eb 100755
--- a/target/linux/ath79/generic/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network
@@ -135,7 +135,8 @@ ath79_setup_interfaces()
ucidef_add_switch "switch0" \
"0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan" "6@eth1"
;;
- compex,wpj344-16m)
+ compex,wpj344-16m|\
+ compex,wpj563)
ucidef_add_switch "switch0" \
"0@eth0" "3:lan" "2:wan"
;;
@@ -383,7 +384,8 @@ ath79_setup_macs()
lan_mac=$(fritz_tffs -n maca -i $(find_mtd_part "tffs (1)"))
wan_mac=$(fritz_tffs -n macb -i $(find_mtd_part "tffs (1)"))
;;
- compex,wpj344-16m)
+ compex,wpj344-16m|\
+ compex,wpj563)
wan_mac=$(mtd_get_mac_binary u-boot 0x2e018)
;;
devolo,magic-2-wifi)