openwrt用WEB刷固件型号不对问题强行处理

参照这里:https://blog.csdn.net/caoshunxin01/article/details/79355602

原机是一块mt7620A的通板,之前刷了一个叫WE826型号的固件,发现有点问题,想刷回联想的y1型号固件,通过web刷固件时会报:
The uploaded image file does not contain a supported format. Make sure that you choose the generic image format for your platform.
意思是原固件型号与上传的固件型号不符
查看上面的参照帖子,修改了2个文件为y1对应的内容后,再上传y1固件就不再报错了

root@WE826:/tmp/sysinfo# ls
board_name model
root@WE826:/tmp/sysinfo# cat board_name
y1
root@WE826:/tmp/sysinfo# cat model
Lenovo Y1

你可能感兴趣的:(openwrt)