Support for Mikrotik Hap AC2

Yes, i compiled latest master and applied your patch and now builds made with imagebuilder are working fine. Maybe they fixed something in the lasts days.

Hi guys.
Any new builds are available for test?
Thanks.

@robimarko don't want to mess the pr from github. Did you tried your last commit? I compiled 2 times but the unit does not start, it gets in a bootloop. Clean config.

Of course I did, nothing fundamental changed.
I would suggest fully rebuilding as I force push changes so buildroot my not like that.

Initramfs booted fine as well as sysupgrade from it.

I'll try again this weekend. I always make full clean builds. Thank you for everything.

I was pushing changes all throughout the afternoon, so there is a high chance that you got a partial update only.

Thanks, will wait to the weekend then. Really appreciate your work.

is this ok ? sha 512 bug

This will make the CPU to always be at full frequency (716 Mhz). The problem with the latency is that ondemand governor has a really low cpu frequency (44 Mhz) wich makes the ping to spike. To fix this you can set the minium CPU frequency to the next step on scaling cobernor (200 Mhz). This way ping stays "fixed" and it will make the unit to run a bit fresh. You can do this with this command:

echo 200000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq

2 Likes

Hi Robimarko

Where can I download the source to compile ?

Thanks

1 Like

try to build like this, it work for me

git config --global user.email "yourEmail@email.com"
git config --global user.name "YourName"

git clone https://github.com/openwrt/openwrt.git
cd openwrt
git remote add z1022 https://github.com/robimarko/openwrt.git
git fetch z1022
git merge z1022/hAP-ac2-cleanup [it open another page, and i use Ctrl S [save], Ctrl X [exit]
git rebase
./scripts/feeds update -a && ./scripts/feeds install -a
make menuconfig [write your config] dont forget with luci
make -j$(nproc) clean download world

1 Like
# git merge z1022/hAP-ac2-cleanup
Removing target/linux/ipq40xx/patches-5.4/700-net-add-qualcomm-mdio.patch
Auto-merging target/linux/ipq40xx/image/Makefile
CONFLICT (content): Merge conflict in target/linux/ipq40xx/image/Makefile
Automatic merge failed; fix conflicts and then commit the result.

same here, i think we ask @robimarko
Screenshot_10

its my last build, before we got this problem

Screenshot_12

I need to rebase the branch to apply cleanly on master.
I will do it later today.

1 Like

Its rebased now, you can build straight from the branch.

1 Like

You mean do not need to merge hAP-ac2-cleanup again. Right ?

Thanks

No need for you to merge the branch into another one to buils

1 Like

Hi Robimarko,

I use below try to compile Openwrt but cannot find target "Mikrotik ac2". What wrong ?

git clone https://github.com/openwrt/openwrt.git
cd openwrt
./scripts/feeds update -a && ./scripts/feeds install -a
make menuconfig

Thanks

1 Like

The pull request that adds support for it hasn't been merged yet, you should use robimarko's fork that contains the necessary changes.
Use "git clone -b hAP-ac2-cleanup https://github.com/robimarko/openwrt.git" instead.