openwrt Could not open mtd device: u-boot

出现这类错误:

Could not open mtd device: u-boot

Can't open device for writing!

 

原因:官网openwrt firmware对uboot分区进行了保护。

解决:刷入一个解锁了uboot分区的openwrt固件后,再进行下面uboot写入命令。

    mtd -r write /tmp/uboot.bin u-boot 

 

修改dts文件,支持可写

 

 

参考文章:

http://www.openwrt.pro/post-300.html

posted @ 2020-01-07 18:39  cogitoergosum  阅读(9111)  评论(0编辑  收藏  举报