今天尝试给小米路由器mini(MT7620a)上的自编译openwrt刷入原版镜像,后台升级出现上述错误。
遂尝试sysupgrade,依然无法刷入:
Device xiaomi,miwifi-mini not supported by this image
Supported devices: miwifi-mini
Image check ‘fwtool_check_image’ failed.
解决方案也很简单。编辑/lib/upgrade/fwtool.sh
将46行的device="$(cat /tmp/sysinfo/board_name)"
修改为device="miwifi-mini"
即可。