参考资料:https://blog.csdn.net/caoshunxin01/article/details/79355602
当openwrt使用web升级提示固件版本不对:
The uploaded image file does not contain a supported format. Make sure that you choose the generic image format for your platform.
或使用命令行升级固件时提示以下错误:
#sysupgrade -v /tmp/openwrt-ar71xx-generic-XXX-sysupgrade.bin
Sysupgrade is not yet supported on XXX.
Image check ‘platform_check_image’ failed.
有可能是以下原因:
1,/lib/upgrade/platform.sh文件中没有你要升级的固件版本的型号
2,/tmp/sysinfo/board_name文件中的机器型号与你所要升级的固件版本型号不一致或该文件中没有版本型号
作者:caoshunxin01
来源:CSDN
原文:https://blog.csdn.net/caoshunxin01/article/details/79355602
版权声明:本文为博主原创文章,转载请附上博文链接!
我的处理方法是修改/tmp/sysinfo/board_name和model文件:
root@7620a-22:~# cd /tmp/sysinfo/
root@7620a-22:/tmp/sysinfo# ls
board_name model
root@7620a-22:/tmp/sysinfo# cat board_name
y1
root@7620a-22:/tmp/sysinfo# cat model
Lenovo Y1