Support for Mikrotik Hap AC2

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?

Tried rebooting, does not seem to change unfortunately, is there anything else i can supply with?

Can you point me to the exact tree, commits you used for building?

I tried cloning https://github.com/robimarko/openwrt.git upstream/hAP-ac2-cleanup

Bit unsure if I am supplying what you need or not

this is the content of config.buildinfo if that is interesting?

CONFIG_TARGET_ipq40xx=y
CONFIG_TARGET_ipq40xx_generic=y
CONFIG_TARGET_ipq40xx_generic_DEVICE_mikrotik_hap-ac2=y
CONFIG_PACKAGE_464xlat=y
CONFIG_PACKAGE_cgi-io=y
CONFIG_PACKAGE_ip-tiny=y
CONFIG_PACKAGE_kmod-ledtrig-default-on=y
CONFIG_PACKAGE_kmod-ledtrig-heartbeat=y
CONFIG_PACKAGE_kmod-ledtrig-netdev=y
CONFIG_PACKAGE_kmod-ledtrig-timer=y
CONFIG_PACKAGE_kmod-nat46=y
CONFIG_PACKAGE_libiwinfo-lua=y
CONFIG_PACKAGE_liblua=y
CONFIG_PACKAGE_liblucihttp=y
CONFIG_PACKAGE_liblucihttp-lua=y
CONFIG_PACKAGE_libubus-lua=y
CONFIG_PACKAGE_lua=y
CONFIG_PACKAGE_luci=y
CONFIG_PACKAGE_luci-app-firewall=y
CONFIG_PACKAGE_luci-app-opkg=y
CONFIG_PACKAGE_luci-base=y
CONFIG_PACKAGE_luci-lib-base=y
CONFIG_PACKAGE_luci-lib-ip=y
CONFIG_PACKAGE_luci-lib-jsonc=y
CONFIG_PACKAGE_luci-lib-nixio=y
CONFIG_PACKAGE_luci-mod-admin-full=y
CONFIG_PACKAGE_luci-mod-network=y
CONFIG_PACKAGE_luci-mod-status=y
CONFIG_PACKAGE_luci-mod-system=y
CONFIG_PACKAGE_luci-proto-ipv6=y
CONFIG_PACKAGE_luci-proto-ppp=y
CONFIG_PACKAGE_luci-theme-bootstrap=y
CONFIG_PACKAGE_rpcd=y
CONFIG_PACKAGE_rpcd-mod-file=y
CONFIG_PACKAGE_rpcd-mod-iwinfo=y
CONFIG_PACKAGE_rpcd-mod-luci=y
CONFIG_PACKAGE_rpcd-mod-rrdns=y
CONFIG_PACKAGE_uhttpd=y
CONFIG_PACKAGE_uhttpd-mod-ubus=y

Yeah, https://github.com/robimarko/openwrt/tree/hAP-ac2-cleanup is correct.
When did you build from that, at what time?
There has been some changes yesterday and today

1 Like

Ok :slight_smile:

It was built about 10:00 (CET) today, about 5hours ago, i see that there has been some changes 2hours ago. Try to build with the updates then?

Yeah, It would be great if you can pull latest changes

1 Like

Here is my dmesg log

[    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.000442] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000461] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001558] CPU: Testing write buffer coherency: ok
[    0.002711] Setting up static identity map for 0x80300000 - 0x80300060
[    0.002857] rcu: Hierarchical SRCU implementation.
[    0.003335] smp: Bringing up secondary CPUs ...
[    0.006617] smp: Brought up 1 node, 4 CPUs
[    0.006639] SMP: Total of 4 processors activated (384.00 BogoMIPS).
[    0.006647] CPU: All CPU(s) started in SVC mode.
[    0.010995] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.011164] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.011191] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.011538] pinctrl core: initialized pinctrl subsystem
[    0.012718] NET: Registered protocol family 16
[    0.013138] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.014430] cpuidle: using governor ladder
[    0.014478] cpuidle: using governor menu
[    0.019492] GPIO line 414 (enable USB power) hogged as output/high
[    0.035108] cryptd: max_cpu_qlen set to 1000
[    0.038791] usbcore: registered new interface driver usbfs
[    0.038863] usbcore: registered new interface driver hub
[    0.038955] usbcore: registered new device driver usb
[    0.039007] pps_core: LinuxPPS API ver. 1 registered
[    0.039016] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.039042] PTP clock support registered
[    0.040823] clocksource: Switched to clocksource arch_sys_counter
[    0.041681] thermal_sys: Registered thermal governor 'step_wise'
[    0.042006] NET: Registered protocol family 2
[    0.042677] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.042720] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.042748] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.042777] TCP: Hash tables configured (established 1024 bind 1024)
[    0.042919] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.042964] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.043217] NET: Registered protocol family 1
[    0.043262] PCI: CLS 0 bytes, default 64
[    0.045352] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.051234] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.051252] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.103553] bam-dma-engine 8e04000.dma: num-channels unspecified in dt
[    0.103576] bam-dma-engine 8e04000.dma: num-ees unspecified in dt
[    0.104299] tcsr 1949000.tcsr: setting wifi_glb_cfg = 41000000
[    0.104387] tcsr 194b000.tcsr: setting usb hs phy mode select = e700e7
[    0.104468] tcsr 1953000.ess_tcsr: setting ess interface select = 0
[    0.104561] tcsr 1957000.tcsr: setting wifi_noc_memtype_m0_m2 = 2222222
[    0.104882] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.105495] msm_serial 78af000.serial: msm_serial: detected port #0
[    0.105541] msm_serial 78af000.serial: uartclk = 1843200
[    0.105594] 78af000.serial: ttyMSM0 at MMIO 0x78af000 (irq = 25, base_baud = 115200) is a MSM
[    0.105625] msm_serial: console setup on port #0
[    0.580038] printk: console [ttyMSM0] enabled
[    0.585005] msm_serial: driver initialized
[    0.594501] loop: module loaded
[    0.595617] spi_qup 78b5000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[    0.603646] random: fast init done
[    0.606830] spi-nor spi0.0: w25q128jv (16384 Kbytes)
[    0.624488] 1 routerbootpart partitions found on MTD device spi0.0
[    0.624517] Creating 1 MTD partitions on "spi0.0":
[    0.629567] 0x000000000000-0x000001000000 : "partitions"
[    0.635473] 5 routerbootpart partitions found on MTD device partitions
[    0.639804] Creating 5 MTD partitions on "partitions":
[    0.646210] 0x000000080000-0x00000008e000 : "RouterBoot"
[    0.652142] 0x00000008e000-0x00000008f000 : "hard_config"
[    0.657525] 0x000000090000-0x000000097bbc : "dtb_config"
[    0.662957] 0x0000000bd000-0x0000000be000 : "soft_config"
[    0.668240] 0x000000100000-0x000001000000 : "firmware"
[    0.753872] 2 minor-fw partitions found on MTD device firmware
[    0.753902] Creating 2 MTD partitions on "firmware":
[    0.758605] 0x000000000000-0x000000350000 : "kernel"
[    0.764614] 0x000000350000-0x000000f00000 : "rootfs"
[    0.769502] mtd: device 7 (rootfs) set to be root filesystem
[    0.773962] 1 squashfs-split partitions found on MTD device rootfs
[    0.779270] 0x0000006ba000-0x000000f00000 : "rootfs_data"
[    0.786951] libphy: ipq40xx_mdio: probed
[    0.822319] ESS reset ok!
[    0.855380] ESS reset ok!
[    1.273586] libphy: Fixed MDIO Bus: probed
[    1.274623] EDMA using MAC@ - using
[    1.274635] 3a:72:28:61:53:af
[    1.280937] EDMA using MAC@ - using
[    1.280951] 56:2a:94:26:44:85
[    1.289220] i2c /dev entries driver
[    1.291646] sdhci: Secure Digital Host Controller Interface driver
[    1.292808] sdhci: Copyright(c) Pierre Ossman
[    1.299054] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.308050] MikroTik RouterBOARD hardware configuration sysfs driver v0.05
[    1.311112] MikroTik RouterBOARD software configuration sysfs driver v0.03
[    1.316999] NET: Registered protocol family 10
[    1.324274] Segment Routing with IPv6
[    1.327271] NET: Registered protocol family 17
[    1.331016] 8021q: 802.1Q VLAN Support v1.8
[    1.335282] Registering SWP/SWPB emulation handler
[    1.350383] hctosys: unable to open rtc device (rtc0)
[    1.355881] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
[    1.357560] Freeing unused kernel memory: 1024K
[    1.403524] Run /sbin/init as init process
[    2.597092] init: Console is alive
[    2.597410] init: - watchdog -
[    4.294319] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.344997] dwc3-qcom 8af8800.usb3: IRQ hs_phy_irq not found
[    4.345038] dwc3-qcom 8af8800.usb3: IRQ dp_hs_phy_irq not found
[    4.349730] dwc3-qcom 8af8800.usb3: IRQ dm_hs_phy_irq not found
[    4.355433] dwc3-qcom 8af8800.usb3: IRQ ss_phy_irq not found
[    4.363176] dwc3-qcom 60f8800.usb2: IRQ hs_phy_irq not found
[    4.367182] dwc3-qcom 60f8800.usb2: IRQ dp_hs_phy_irq not found
[    4.372853] dwc3-qcom 60f8800.usb2: IRQ dm_hs_phy_irq not found
[    4.378463] dwc3-qcom 60f8800.usb2: IRQ ss_phy_irq not found
[    4.388196] dwc3 8a00000.dwc3: Failed to get clk 'ref': -2
[    4.535897] dwc3 6000000.dwc3: Failed to get clk 'ref': -2
[    4.670538] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    4.670695] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    4.675616] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f665 hci version 0x100 quirks 0x0000000002010010
[    4.682615] xhci-hcd xhci-hcd.0.auto: irq 94, io mem 0x08a00000
[    4.693758] hub 1-0:1.0: USB hub found
[    4.697827] hub 1-0:1.0: 1 port detected
[    4.701984] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    4.705694] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    4.711045] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    4.720000] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.725725] hub 2-0:1.0: USB hub found
[    4.733449] hub 2-0:1.0: 1 port detected
[    4.737451] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    4.741065] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    4.746570] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f665 hci version 0x100 quirks 0x0000000002010010
[    4.753981] xhci-hcd xhci-hcd.1.auto: irq 95, io mem 0x06000000
[    4.766359] hub 3-0:1.0: USB hub found
[    4.769175] hub 3-0:1.0: 1 port detected
[    4.773354] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    4.777042] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    4.782380] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    4.790017] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.797063] hub 4-0:1.0: USB hub found
[    4.805675] hub 4-0:1.0: config failed, hub doesn't have any ports! (err -19)
[    4.810339] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.818196] init: - preinit -
[    5.514978] random: crng init done
[    6.723143] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   11.953293] jffs2: notice: (198) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (9 unchecked, 1 orphan) and 11 of xref (1 dead, 0 orphan) found.
[   11.959426] mount_root: switching to jffs2 overlay
[   12.017868] overlayfs: upper fs does not support tmpfile.
[   12.034837] urandom-seed: Seeding with /etc/urandom.seed
[   12.127965] procd: - early -
[   12.128260] procd: - watchdog -
[   12.726957] procd: - watchdog -
[   12.729938] procd: - ubus -
[   12.814312] procd: - init -
[   13.278020] kmodloader: loading kernel modules from /etc/modules.d/*
[   13.320175] urngd: v1.0.2 started.
[   13.332429] Mirror/redirect action on
[   13.339471] u32 classifier
[   13.339500]     input device check on
[   13.341219]     Actions configured
[   13.352035] Loading modules backported from Linux version v5.8-rc2-0-g48778464bb7d
[   13.352073] Backport generated by backports.git v5.8-rc2-1-0-g7a69429b
[   13.387375] xt_time: kernel timezone is -0000
[   13.429960] PPP generic driver version 2.4.2
[   13.431240] NET: Registered protocol family 24
[   13.459557] ath10k_mac_create, priv_size: 924  hw: 65048274  hw->priv: f0747983
[   15.156605] ath10k_ahb a000000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[   15.156655] ath10k_ahb a000000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   15.168251] 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
[   15.214573] ath10k_ahb a000000.wifi: board_file api 2 bmi_id 0:16 crc32 24cecd7f
[   16.515460] ath10k_ahb a000000.wifi: unsupported HTC service id: 1536
[   16.517097] ath10k_ahb a000000.wifi: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   16.520976] ath10k_ahb a000000.wifi: msdu-desc: 2500  skid: 32
[   16.557390] ath10k_ahb a000000.wifi: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   16.558347] ath10k_ahb a000000.wifi: wmi print 'free: 53204 iram: 13416 sram: 35752'
[   16.685668] ath10k_ahb a000000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[   16.791298] ath: EEPROM regdomain sanitized
[   16.791326] ath: EEPROM regdomain: 0x64
[   16.791339] ath: EEPROM indicates we should expect a direct regpair map
[   16.791374] ath: Country alpha2 being used: 00
[   16.791387] ath: Regpair used: 0x64
[   16.801823] ath10k_mac_create, priv_size: 924  hw: b8bff500  hw->priv: 967c3cf0
[   18.087364] ath10k_ahb a800000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[   18.087432] ath10k_ahb a800000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   18.100390] 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
[   18.151950] ath10k_ahb a800000.wifi: board_file api 2 bmi_id 0:17 crc32 24cecd7f
[   19.459748] ath10k_ahb a800000.wifi: unsupported HTC service id: 1536
[   19.461154] ath10k_ahb a800000.wifi: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   19.465185] ath10k_ahb a800000.wifi: msdu-desc: 2500  skid: 32
[   19.502019] ath10k_ahb a800000.wifi: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   19.502963] ath10k_ahb a800000.wifi: wmi print 'free: 53204 iram: 13416 sram: 35752'
[   19.628422] ath10k_ahb a800000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[   19.738664] ath: EEPROM regdomain sanitized
[   19.738766] ath: EEPROM regdomain: 0x64
[   19.738818] ath: EEPROM indicates we should expect a direct regpair map
[   19.738958] ath: Country alpha2 being used: 00
[   19.739011] ath: Regpair used: 0x64
[   19.758004] kmodloader: done loading kernel modules from /etc/modules.d/*
[   25.124643] br-lan: port 1(eth0) entered blocking state
[   25.124686] br-lan: port 1(eth0) entered disabled state
[   25.129140] device eth0 entered promiscuous mode
[   25.153594] ess_edma c080000.edma: eth1: GMAC Link is down
[   25.951546] ath: EEPROM regdomain: 0x8348
[   25.951582] ath: EEPROM indicates we should expect a country code
[   25.954566] ath: doing EEPROM country->regdmn map search
[   25.960647] ath: country maps to regdmn code: 0x3a
[   25.966268] ath: Country alpha2 being used: US
[   25.970631] ath: Regpair used: 0x3a
[   25.975180] ath: regdomain 0x8348 dynamically updated by user
[   25.978502] ath: EEPROM regdomain: 0x8348
[   25.984433] ath: EEPROM indicates we should expect a country code
[   25.988333] ath: doing EEPROM country->regdmn map search
[   25.994492] ath: country maps to regdmn code: 0x3a
[   25.999779] ath: Country alpha2 being used: US
[   26.004450] ath: Regpair used: 0x3a
[   26.008809] ath: regdomain 0x8348 dynamically updated by user
[   26.151220] br-lan: port 1(eth0) entered blocking state
[   26.151272] br-lan: port 1(eth0) entered forwarding state
[   26.156122] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   27.934660] ath10k_ahb a800000.wifi: unsupported HTC service id: 1536
[   27.934815] ath10k_ahb a800000.wifi: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   27.940095] ath10k_ahb a800000.wifi: msdu-desc: 2500  skid: 32
[   27.976984] ath10k_ahb a800000.wifi: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   27.977933] ath10k_ahb a800000.wifi: wmi print 'free: 53204 iram: 13416 sram: 35752'
[   28.258580] ath10k_ahb a800000.wifi: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
[   28.267099] br-lan: port 2(wlan1) entered blocking state
[   28.268548] br-lan: port 2(wlan1) entered disabled state
[   28.274705] device wlan1 entered promiscuous mode
[   28.311730] ess_edma c080000.edma: eth1: GMAC Link is up with phy_speed=1000
[   28.311863] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   28.447900] ath10k_ahb a800000.wifi: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   28.992015] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   28.992322] br-lan: port 2(wlan1) entered blocking state
[   28.997451] br-lan: port 2(wlan1) entered forwarding state
[   30.462350] ath10k_ahb a000000.wifi: unsupported HTC service id: 1536
[   30.462492] ath10k_ahb a000000.wifi: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   30.467783] ath10k_ahb a000000.wifi: msdu-desc: 2500  skid: 32
[   30.505230] ath10k_ahb a000000.wifi: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   30.506186] ath10k_ahb a000000.wifi: wmi print 'free: 53204 iram: 13416 sram: 35752'
[   30.805594] ath10k_ahb a000000.wifi: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
[   30.813574] br-lan: port 3(wlan0) entered blocking state
[   30.815539] br-lan: port 3(wlan0) entered disabled state
[   30.821517] device wlan0 entered promiscuous mode
[   31.214242] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   31.214557] br-lan: port 3(wlan0) entered blocking state
[   31.219681] br-lan: port 3(wlan0) entered forwarding state
[   79.688063] ath10k_ahb a800000.wifi: Invalid VHT mcs 15 peer stats
[ 2630.559140] ath10k_ahb a800000.wifi: htt tx: fixing invalid VHT TX rate code 0xff
[ 2630.581212] ath10k_ahb a800000.wifi: wmi: fixing invalid VHT TX rate code 0xff

I'm going to fetch @robimarko changes and make another build

New build r14057 based on @robimarko changes
https://drive.google.com/drive/folders/1oUFci7w9uhGOTZHzl7ravL_2t7N-Tocq?usp=sharing

image

2.4GHz is now showing me the same MAC address as in ROS, where 74:4D:28 owes to Routerboard.com (Mikrotik)

1 Like

This is a bit strange, I found an older HapAC2 i tested with, and wifi is working fine. I have 2 brand new HapAC2 and both of them is having issues getting the wifi interfaces loaded.

I have tried several builds on both the older one and the new one, and the old one always works, and the new one does not.

Can there be anything related to firmware/software that the device is shipped with?

Try to make a high resolution image of the board of the new one, some hw could be changed like flash chip or ...

Like this?

https://drive.google.com/drive/folders/1emWExauj9QBiKno6O0vpWalQNgdmIv_0?usp=sharing

1 Like

Yes, thanks. Now i looked at the log you posted, flash seems to be detected correctly.

1 Like

@espelunden I think OpenWRT is detecting your hAP ac2 as an hAP ac which uses another chipset

[   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

I'm not an expert but there should be some different board values/bits on those newer units