diff options
author | Robert Marko <robimarko@gmail.com> | 2020-11-12 19:45:22 +0100 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2021-04-05 04:13:28 +0200 |
commit | faea7becafc634dc882f0ad8f9388862ccd5bd0d (patch) | |
tree | e80f87fb71b05f31889dd6852dba7e82356314d5 /target/linux/ipq40xx/base-files/etc/board.d | |
parent | 1db4681617b9aef724c9ccf15e62ba2a91d52564 (diff) | |
download | upstream-faea7becafc634dc882f0ad8f9388862ccd5bd0d.tar.gz upstream-faea7becafc634dc882f0ad8f9388862ccd5bd0d.tar.bz2 upstream-faea7becafc634dc882f0ad8f9388862ccd5bd0d.zip |
ipq40xx: add MikroTik hAP ac2 support
This adds support for the MikroTik RouterBOARD RBD52G-5HacD2HnD-TC
(hAP ac²), a indoor dual band, dual-radio 802.11ac
wireless AP with integrated omnidirectional antennae, USB port and five
10/100/1000 Mbps Ethernet ports.
See https://mikrotik.com/product/hap_ac2 for more info.
Specifications:
- SoC: Qualcomm Atheros IPQ4018
- RAM: 128 MB
- Storage: 16 MB NOR
- Wireless:
· Built-in IPQ4018 (SoC) 802.11b/g/n 2x2:2, 2.5 dBi antennae
· Built-in IPQ4018 (SoC) 802.11a/n/ac 2x2:2, 2.5 dBi antennae
- Ethernet: Built-in IPQ4018 (SoC, QCA8075) , 5x 1000/100/10 port,
passive PoE in
- 1x USB Type A port
Installation:
Boot the initramfs image via TFTP and then flash the sysupgrade
image using "sysupgrade -n"
Signed-off-by: Robert Marko <robimarko@gmail.com>
Diffstat (limited to 'target/linux/ipq40xx/base-files/etc/board.d')
-rw-r--r-- | target/linux/ipq40xx/base-files/etc/board.d/02_network | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ipq40xx/base-files/etc/board.d/02_network b/target/linux/ipq40xx/base-files/etc/board.d/02_network index 31f99faca2..3f0209d82d 100644 --- a/target/linux/ipq40xx/base-files/etc/board.d/02_network +++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network @@ -47,6 +47,7 @@ ipq40xx_setup_interfaces() ucidef_set_interfaces_lan_wan "eth1" "eth0" ;; asus,rt-ac58u|\ + mikrotik,hap-ac2|\ zyxel,nbg6617) ucidef_set_interfaces_lan_wan "eth0" "eth1" ucidef_add_switch "switch0" \ @@ -169,6 +170,11 @@ ipq40xx_setup_macs() wan_mac=$(mtd_get_mac_ascii devinfo hw_mac_addr) lan_mac=$(macaddr_add "$wan_mac" 1) ;; + mikrotik,hap-ac2) + wan_mac=$(cat /sys/firmware/mikrotik/hard_config/mac_base) + lan_mac=$(macaddr_add $wan_mac 1) + label_mac="$wan_mac" + ;; esac [ -n "$lan_mac" ] && ucidef_set_interface_macaddr "lan" $lan_mac |