出現這類錯誤:
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