Support for Mikrotik Hap AC2

Heya!

Thanks for the build. Am I correct in assuming this build is also present in:

I see commits from yesterday, so guessing it is.

I feel a little more comfortable doing a build myself rather then flashing a pre-compiled blob :wink:

Making it as we speak, will flash in about 1 hour and post my results.

THANKS!

Same issue :frowning:

Here is a quick dump from iwinfo, I am sitting about 1 meter way from the access point @ 5.8ghz:

          Mode: Master  Channel: 36 (5.180 GHz)
          Tx-Power: 23 dBm  Link Quality: 12/70
          Signal: -98 dBm  Noise: -111 dBm
          Bit Rate: 780.0 MBit/s
          Encryption: WPA2 PSK (CCMP)
          Type: nl80211  HW Mode(s): 802.11nac
          Hardware: unknown [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy1

Its a shame because this device vs the RB952 (which as noted in prev post, I hope to replace with this ac2) is much more powerful, here is an iperf3 LAN to LAN:

[  5]   0.00-1.01   sec   112 MBytes   935 Mbits/sec   10    604 KBytes
[  5]   1.01-2.00   sec   112 MBytes   942 Mbits/sec    0    604 KBytes
[  5]   2.00-3.00   sec   112 MBytes   937 Mbits/sec    0    607 KBytes

Both directions TX / RX are pretty much able to saturate the 1GBIT link.

Dmesg does not show anything out of the ordinary.

Edit : Its almost as though the antenna config is incorrect? I tried remvoing my country code setting from the config, no help. iw list is showing that its usuing whaver antennas are available.

root@OpenWrt:~# iw list | grep Ant
        Available Antennas: TX 0x3 RX 0x3
        Configured Antennas: TX 0x3 RX 0x3
        Available Antennas: TX 0x3 RX 0x3
        Configured Antennas: TX 0x3 RX 0x3
root@OpenWrt:~#

Edit 2 : Noticed its using the ath10k-ct drivers + firmware... Will try using the non-ct set now. Will post once built + flashed.

Edit 3 : Every so slightly better... Still abystmal though... I can move about 2 meters away now... The link quality indicator in iwinfo did move up a tiny bit... Also without the ct firmware its caped at 20dBm both 2.4 and 5.8.

Edit 4 : Just tried forcing 2.4ghz, and the same... Signal is slightly better but still unusable.

Edit 5 : Also, noticed that proc/cpuinfo doesnt have the usual mikrotik related bits that the RB952 build does... Eg: Model #, etc.

Edit 6 : Tried flashing your precompiled binary, it won't boot now. No light dance at all so does not look like OpenWRT is starting up at all. Probably not an issue as I should be able to recover it via the tftp boot but thought I would mention it.

2 Likes

Just FYI, the wifi issues have nothing to do with the build per say...

Looks like the board file for the hap ac2 is missing so its using a generic one which causes the incredibly low signal.

2 Likes

Good thing you tested my prebuilt!
I'll dig it up and see what's going on.

As per BDF files you're right, CALDATA was missing.

There were initial efforts to try to identify how Mikrotik is accessing BDF -- that included getting a support file from ROS and using ghidra to check the wifi driver is being loaded.

3 Likes

Still unverified by me but looks like a few smarter-then-I folks @github have figured it out:

Should be as easy as compiling a build that boots on the hap ac2, then after its flashed run:

dd if=/sys/firmware/mikrotik/hard_config/wlan_data skip=12064 iflag=skip_bytes oflag=seek_bytes bs=3016 count=4 of=/lib/firmware/ath10k/QCA4019/hw1.0/board-2.bin seek=84 conv=notrunc
dd if=/sys/firmware/mikrotik/hard_config/wlan_data skip=44832 iflag=skip_bytes oflag=seek_bytes bs=3016 count=4 of=/lib/firmware/ath10k/QCA4019/hw1.0/board-2.bin seek=12212 conv=notrunc

And reboot.

You should at this point have proper wifi.

Like I said, still unverified.

EDIT : Compiling a build as we speak, should have it tested in about 45 minutes.

2 Likes

If everything goes well then this is the perfect ER-X substitute (quad-core ARM vs dual-core MIPS) for people wanting to have SQM and serious home network management in a budget, plus it has built-in WiFi which should be enough for small flats. Kudos to the devs!

2 Likes

I agree.

Everyones needs are different... I need something POE + that has a USB port... I tried this first, and ended up ordering an older RB962... It's fairly low powered though... Not that I NEED it... But it tends to top out at roughly 350-400mbits (over the wire), without any NAT / firewall.

When I tried this hap ac2 build (with the broken wifi), I was able to saturate my 1gbit link no problem.

Fingers crossed!

2 Likes

Tested and works for me.

2 Likes

Can you share the build you used?

here you go...

2 Likes

Tried your build with the above workaround, WiFi is working relatively good but there's no way to change the country code and TX power is too low. I tried using iw but it always returns 00 as country code.

Edit: 2.4ghz mac doesn't coincides with the one in stock FW but 5ghz do

WiFi feels faster than stock when close to the router but range is now lower

Edit 2: I've managed to persistently set the country code to US doing the following

uci set wireless.radio0.country=US
uci set wireless.radio1.country=US
uci commit wireless

Coverage is now better than stock :smiley:

Edit 3: @subixonfire can you build it with SQM package pls?

1 Like

SQM piece of cake is working flawlessly, I actually had crazy ping spikes caused by on demand governor setting it to performance fixes it.

1 Like

I was not aware these little qcom ARMs had governors...

Flipping it to performance dropped my load quite a bit... I run 2 infinite loop scripts on this device 24/7.

For those who don't mind a little bit of extra heat and power consumption I highly recommend it.

1 Like

We're almost there :smiley:

I compiled my own build based on latest changes made by @robimarko, it includes LuCI, SQM QoS, nano and nothing else aside from the default config which is now using ath10k-ct-smallbuffers driver.

Download

https://drive.google.com/drive/folders/149OwKuL8wvBCQvfByAiMhYJ60hATBRKp?usp=sharing

How to install

https://openwrt.org/toh/mikrotik/common

Recommended tweaks

Use performance governor for lower latencies, put the following in your startup scripts

echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor

Change your WiFi region (aka increase TX power), replace US with the country of your choice/residence

uci set wireless.radio0.country=US
uci set wireless.radio1.country=US
uci commit wireless

PD: I compiled it on Debian Buster (WSL 2), just install rsync to avoid compilation errors and do those steps https://openwrt.org/docs/guide-developer/build-system/wsl

I tried downloading and installing the one @geminis3 have supplied but i am unable to find any wireless interface. Have checked dmesg and the output is this:

[   14.580561] ath10k_ahb a000000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[   14.580613] ath10k_ahb a000000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   14.592293] ath10k_ahb a000000.wifi: firmware ver 10.4b-ct-4019-fW-013-d81f62d97 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 adcbecaa
[   14.621334] ath10k_ahb a000000.wifi: failed to fetch board data for bus=ahb,vendor=0000,device=0000,subsystem-vendor=0000,subsystem-device=0000,variant=Mikrotik-hAP-ac from ath10k/QCA4019/hw1.0/board-2.bin
[   14.683299] ath10k_ahb a000000.wifi: failed to fetch board-2.bin or board.bin from ath10k/QCA4019/hw1.0
[   14.683376] ath10k_ahb a000000.wifi: failed to fetch board file: -12
[   14.691844] ath10k_ahb a000000.wifi: could not probe fw (-12)
[   14.698742] ath10k_mac_create, priv_size: 924  hw: ee09c6d6  hw->priv: 0b53da81
[   15.591277] ath10k_ahb a800000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[   15.591349] ath10k_ahb a800000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   15.604044] ath10k_ahb a800000.wifi: firmware ver 10.4b-ct-4019-fW-013-d81f62d97 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 adcbecaa
[   15.632035] ath10k_ahb a800000.wifi: failed to fetch board data for bus=ahb,vendor=0000,device=0000,subsystem-vendor=0000,subsystem-device=0000,variant=Mikrotik-hAP-ac from ath10k/QCA4019/hw1.0/board-2.bin
[   15.699942] ath10k_ahb a800000.wifi: failed to fetch board-2.bin or board.bin from ath10k/QCA4019/hw1.0
[   15.699994] ath10k_ahb a800000.wifi: failed to fetch board file: -12
[   15.708448] ath10k_ahb a800000.wifi: could not probe fw (-12)

I have also tried compiling my own based of both @flipy and @robimarko but without any difference.
Apart from this, Openwrt seems to work on my Hap AC2

Hm, makes no sense as its working fine for me.
Can you provide the full bootlog?

Sure, this is the entire output of dmesg

root@OpenWrt:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.52 (geminis3@DESKTOP-VIQJLM7) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r14041-f2c8d3747d)) #0 SMP Wed Aug 5 15:02:47 2020
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Mikrotik hAP ac2
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 32256
[    0.000000]   Normal zone: 284 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32256 pages, LIFO batch:7
[    0.000000] percpu: Embedded 15 pages/cpu s30028 r8192 d23220 u61440
[    0.000000] pcpu-alloc: s30028 r8192 d23220 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 31972
[    0.000000] Kernel command line:
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 118820K/129024K available (5458K kernel code, 181K rwdata, 1452K rodata, 1024K init, 230K bss, 10204K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x2f0/0x498 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 48.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb11fd3bfb, max_idle_ns: 440795203732 ns
[    0.000007] sched_clock: 56 bits at 48MHz, resolution 20ns, wraps every 4398046511096ns
[    0.000023] Switching to timer-based delay loop, resolution 20ns
[    0.000228] Calibrating delay loop (skipped), value calculated using timer frequency.. 96.00 BogoMIPS (lpj=480000)
[    0.000243] pid_max: default: 32768 minimum: 301
[    0.000448] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000464] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001565] CPU: Testing write buffer coherency: ok
[    0.002720] Setting up static identity map for 0x80300000 - 0x80300060
[    0.002867] rcu: Hierarchical SRCU implementation.
[    0.003349] smp: Bringing up secondary CPUs ...
[    0.006622] smp: Brought up 1 node, 4 CPUs
[    0.006642] SMP: Total of 4 processors activated (384.00 BogoMIPS).
[    0.006652] CPU: All CPU(s) started in SVC mode.
[    0.010997] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.011167] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.011196] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.011556] pinctrl core: initialized pinctrl subsystem
[    0.012730] NET: Registered protocol family 16
[    0.013148] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.014442] cpuidle: using governor ladder
[    0.014489] cpuidle: using governor menu
[    0.019497] GPIO line 414 (enable USB power) hogged as output/high
[    0.035091] cryptd: max_cpu_qlen set to 1000
[    0.038752] usbcore: registered new interface driver usbfs
[    0.038821] usbcore: registered new interface driver hub
[    0.038911] usbcore: registered new device driver usb
[    0.038966] pps_core: LinuxPPS API ver. 1 registered
[    0.038976] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.039001] PTP clock support registered
[    0.040774] clocksource: Switched to clocksource arch_sys_counter
[    0.041631] thermal_sys: Registered thermal governor 'step_wise'
[    0.041957] NET: Registered protocol family 2
[    0.042646] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.042689] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.042718] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.042748] TCP: Hash tables configured (established 1024 bind 1024)
[    0.042891] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.042932] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.043181] NET: Registered protocol family 1
[    0.043229] PCI: CLS 0 bytes, default 64
[    0.045344] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.051275] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.051293] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.104018] bam-dma-engine 8e04000.dma: num-channels unspecified in dt
[    0.104040] bam-dma-engine 8e04000.dma: num-ees unspecified in dt
[    0.104761] tcsr 1949000.tcsr: setting wifi_glb_cfg = 41000000
[    0.104847] tcsr 194b000.tcsr: setting usb hs phy mode select = e700e7
[    0.104927] tcsr 1953000.ess_tcsr: setting ess interface select = 0
[    0.105018] tcsr 1957000.tcsr: setting wifi_noc_memtype_m0_m2 = 2222222
[    0.105343] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.105950] msm_serial 78af000.serial: msm_serial: detected port #0
[    0.105998] msm_serial 78af000.serial: uartclk = 1843200
[    0.106054] 78af000.serial: ttyMSM0 at MMIO 0x78af000 (irq = 25, base_baud = 115200) is a MSM
[    0.106081] msm_serial: console setup on port #0
[    0.580491] printk: console [ttyMSM0] enabled
[    0.585451] msm_serial: driver initialized
[    0.594934] loop: module loaded
[    0.596052] spi_qup 78b5000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[    0.604055] random: fast init done
[    0.607347] spi-nor spi0.0: w25q128jv (16384 Kbytes)
[    0.624906] 1 routerbootpart partitions found on MTD device spi0.0
[    0.624933] Creating 1 MTD partitions on "spi0.0":
[    0.629985] 0x000000000000-0x000001000000 : "partitions"
[    0.635926] 5 routerbootpart partitions found on MTD device partitions
[    0.640221] Creating 5 MTD partitions on "partitions":
[    0.646620] 0x000000080000-0x00000008e000 : "RouterBoot"
[    0.652557] 0x00000008e000-0x00000008f000 : "hard_config"
[    0.657950] 0x000000090000-0x000000097bbc : "dtb_config"
[    0.663383] 0x0000000bd000-0x0000000be000 : "soft_config"
[    0.668669] 0x000000100000-0x000001000000 : "firmware"
[    0.754137] 2 minor-fw partitions found on MTD device firmware
[    0.754170] Creating 2 MTD partitions on "firmware":
[    0.758870] 0x000000000000-0x000000350000 : "kernel"
[    0.764874] 0x000000350000-0x000000f00000 : "rootfs"
[    0.769765] mtd: device 7 (rootfs) set to be root filesystem
[    0.774233] 1 squashfs-split partitions found on MTD device rootfs
[    0.779532] 0x0000006ba000-0x000000f00000 : "rootfs_data"
[    0.787220] libphy: ipq40xx_mdio: probed
[    0.822632] ESS reset ok!
[    0.855647] ESS reset ok!
[    1.185694] PHY 4 single test PSGMII issue happen!
[    1.267497] PHY4 test see issue!
[    1.291548] ESS reset ok!
[    1.704532] libphy: Fixed MDIO Bus: probed
[    1.705563] EDMA using MAC@ - using
[    1.705577] be:db:27:94:31:77
[    1.711875] EDMA using MAC@ - using
[    1.711886] ae:fd:e9:6f:cb:76
[    1.720127] i2c /dev entries driver
[    1.722590] sdhci: Secure Digital Host Controller Interface driver
[    1.723752] sdhci: Copyright(c) Pierre Ossman
[    1.729998] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.738990] MikroTik RouterBOARD hardware configuration sysfs driver v0.05
[    1.742058] MikroTik RouterBOARD software configuration sysfs driver v0.03
[    1.747966] NET: Registered protocol family 10
[    1.755198] Segment Routing with IPv6
[    1.758214] NET: Registered protocol family 17
[    1.761958] 8021q: 802.1Q VLAN Support v1.8
[    1.766226] Registering SWP/SWPB emulation handler
[    1.781424] hctosys: unable to open rtc device (rtc0)
[    1.786870] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
[    1.788549] Freeing unused kernel memory: 1024K
[    1.863960] Run /sbin/init as init process
[    3.116948] init: Console is alive
[    3.117263] init: - watchdog -
[    4.796758] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.846098] dwc3-qcom 8af8800.usb3: IRQ hs_phy_irq not found
[    4.846139] dwc3-qcom 8af8800.usb3: IRQ dp_hs_phy_irq not found
[    4.850880] dwc3-qcom 8af8800.usb3: IRQ dm_hs_phy_irq not found
[    4.856476] dwc3-qcom 8af8800.usb3: IRQ ss_phy_irq not found
[    4.864185] dwc3-qcom 60f8800.usb2: IRQ hs_phy_irq not found
[    4.868283] dwc3-qcom 60f8800.usb2: IRQ dp_hs_phy_irq not found
[    4.873964] dwc3-qcom 60f8800.usb2: IRQ dm_hs_phy_irq not found
[    4.879565] dwc3-qcom 60f8800.usb2: IRQ ss_phy_irq not found
[    4.887912] dwc3 8a00000.dwc3: Failed to get clk 'ref': -2
[    5.045837] dwc3 6000000.dwc3: Failed to get clk 'ref': -2
[    5.183871] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    5.183951] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    5.188570] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f665 hci version 0x100 quirks 0x0000000002010010
[    5.195975] xhci-hcd xhci-hcd.0.auto: irq 94, io mem 0x08a00000
[    5.207559] hub 1-0:1.0: USB hub found
[    5.211176] hub 1-0:1.0: 1 port detected
[    5.215258] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    5.219004] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    5.224359] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    5.231974] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.239022] hub 2-0:1.0: USB hub found
[    5.246766] hub 2-0:1.0: 1 port detected
[    5.250806] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    5.254344] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    5.259880] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f665 hci version 0x100 quirks 0x0000000002010010
[    5.267299] xhci-hcd xhci-hcd.1.auto: irq 95, io mem 0x06000000
[    5.279853] hub 3-0:1.0: USB hub found
[    5.283402] hub 3-0:1.0: 1 port detected
[    5.286592] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    5.290358] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    5.295689] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    5.303344] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.310386] hub 4-0:1.0: USB hub found
[    5.318116] hub 4-0:1.0: config failed, hub doesn't have any ports! (err -19)
[    5.323771] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.339203] init: - preinit -
[    6.184522] random: crng init done
[    7.343562] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   11.627894] mount_root: no usable overlay filesystem found, using tmpfs overlay
[   11.644027] urandom-seed: Seed file not found (/etc/urandom.seed)
[   11.716306] procd: - early -
[   11.716458] procd: - watchdog -
[   12.322472] procd: - watchdog -
[   12.325418] procd: - ubus -
[   12.453253] procd: - init -
[   12.815687] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.850936] urngd: v1.0.2 started.
[   12.873102] Mirror/redirect action on
[   12.882305] u32 classifier
[   12.882331]     input device check on
[   12.883902]     Actions configured
[   12.898069] Loading modules backported from Linux version v5.8-rc2-0-g48778464bb7d
[   12.898105] Backport generated by backports.git v5.8-rc2-1-0-g7a69429b
[   12.931039] xt_time: kernel timezone is -0000
[   12.993519] PPP generic driver version 2.4.2
[   12.994741] NET: Registered protocol family 24
[   13.023822] ath10k_mac_create, priv_size: 924  hw: 7045ec8c  hw->priv: b27c179c
[   14.580561] ath10k_ahb a000000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[   14.580613] ath10k_ahb a000000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   14.592293] ath10k_ahb a000000.wifi: firmware ver 10.4b-ct-4019-fW-013-d81f62d97 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 adcbecaa
[   14.621334] ath10k_ahb a000000.wifi: failed to fetch board data for bus=ahb,vendor=0000,device=0000,subsystem-vendor=0000,subsystem-device=0000,variant=Mikrotik-hAP-ac from ath10k/QCA4019/hw1.0/board-2.bin
[   14.683299] ath10k_ahb a000000.wifi: failed to fetch board-2.bin or board.bin from ath10k/QCA4019/hw1.0
[   14.683376] ath10k_ahb a000000.wifi: failed to fetch board file: -12
[   14.691844] ath10k_ahb a000000.wifi: could not probe fw (-12)
[   14.698742] ath10k_mac_create, priv_size: 924  hw: ee09c6d6  hw->priv: 0b53da81
[   15.591277] ath10k_ahb a800000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[   15.591349] ath10k_ahb a800000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   15.604044] ath10k_ahb a800000.wifi: firmware ver 10.4b-ct-4019-fW-013-d81f62d97 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 adcbecaa
[   15.632035] ath10k_ahb a800000.wifi: failed to fetch board data for bus=ahb,vendor=0000,device=0000,subsystem-vendor=0000,subsystem-device=0000,variant=Mikrotik-hAP-ac from ath10k/QCA4019/hw1.0/board-2.bin
[   15.699942] ath10k_ahb a800000.wifi: failed to fetch board-2.bin or board.bin from ath10k/QCA4019/hw1.0
[   15.699994] ath10k_ahb a800000.wifi: failed to fetch board file: -12
[   15.708448] ath10k_ahb a800000.wifi: could not probe fw (-12)
[   15.724326] kmodloader: done loading kernel modules from /etc/modules.d/*
[   36.962583] br-lan: port 1(eth0) entered blocking state
[   36.962628] br-lan: port 1(eth0) entered disabled state
[   36.967016] device eth0 entered promiscuous mode
[   36.991900] ess_edma c080000.edma: eth1: GMAC Link is down
[   37.990943] br-lan: port 1(eth0) entered blocking state
[   37.991002] br-lan: port 1(eth0) entered forwarding state
[   37.996530] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   38.706784] jffs2_scan_eraseblock(): End of filesystem marker found at 0x6000
[   38.707237] jffs2_build_filesystem(): unlocking the mtd device...
[   38.707455] done.
[   38.718989] jffs2_build_filesystem(): erasing all blocks after the end marker...
[   39.111813] ess_edma c080000.edma: eth1: GMAC Link is up with phy_speed=1000
[   39.118538] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   96.773969] done.
[   96.774037] jffs2: notice: (1441) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   96.990750] overlayfs: upper fs does not support tmpfile.

Hm, it makes no sense.
Can you try rebooting?