RB931-2nD (hAP mini) snapshot install


Hello everyone,

I am having a compatibility problem installing the firmware (forcing it results in an infinite reboot loop). I followed the instructions from here:

  1. https://openwrt.org/toh/hwdata/mikrotik/mikrotik_rb931-2nd_hap_mini
  2. https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=c2d2647c099679d64c8d5ef5260ba0f9d4c8f2ba

The two snapshot images were downloaded today.:

  1. openwrt-ar71xx-mikrotik-rb-nor-flash-16M-initramfs-kernel.bin
  2. openwrt-ar71xx-mikrotik-rb-nor-flash-16M-squashfs-sysupgrade.bin

Some steps:

root@OpenWrt:~# sysupgrade /tmp/fw.bin
Device unknown not supported by this image
Supported devices: rb-750-r2 rb-750up-r2 rb-750p-pbr2 rb-911-2hn rb-911-5hn rb-931-2nd rb-941-2nd rb-951ui-2nd rb-952ui-5ac2nd rb-962uigs-5hact2hnt rb-lhg-5nd rb-map-2nd rb-mapl-2nd rb-wap-2nd rb-wapr-2nd
Image check 'fwtool_check_image' failed.
root@OpenWrt:~# cat /var/sysinfo/board_name
root@OpenWrt:~# cat /var/sysinfo/model
MikroTik RouterBOARD 931-2nD r2

Thibaut, the developer who committed the code reports a different output for his device:

root@hAPmini:~# cat /var/sysinfo/model 
MikroTik RouterBOARD 931-2nD

i.e. no "r2" in the model name.

Any ideas what the next step would be?

Thank you!


In case it helps someone, although not a perfect fix, the install managed to complete properly by "faking" board_name:

root@OpenWrt:~# cat /tmp/sysinfo/board_name 
root@OpenWrt:~# echo "rb-931-2nd" > /tmp/sysinfo/board_name
root@OpenWrt:~# cat /tmp/sysinfo/board_name 
root@OpenWrt:~# cat /var/sysinfo/board_name 

After this, sysupgrade does not complain anymore and the board seems to flash correctly.


(Moved to the For Developers section.)

@mircea, you may wish to create a bug report.


I created the bug report.