找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2205|回复: 3

K2 刷机求助

[复制链接]
发表于 2016-6-28 21:26 | 显示全部楼层 |阅读模式
breed上传到路由了,但是telnet中mtd命令失败了

# mtd_write breed.bin Bootloader
getFileSize: No such file or directory
Usage: mtd [<options> ...] <command> [<arguments> ...] <device>

The device is in the format of mtdX (eg: mtd4) or its label.
mtd recognizes these commands:
        unlock                  unlock the device
        erase                   erase all data on device
        write <imagefile>|-     write <imagefile> (use - for stdin) to device
Following options are available:
        -q                      quiet mode (once: no [w] on writing,
                                           twice: no status messages)
        -r                      reboot after successful command
        -e <device>             erase <device> before executing the command
        -v                      output writing info. (1 more -v would output HTML format.)
        -o <num>                file offset
        -l <num>                length in file
        -w                      read after write action to check
Example: To write linux.trx to mtd4 labeled as linux and reboot afterwards
         mtd -r write linux.trx linux

# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00800000 00010000 "ALL"
mtd1: 00030000 00010000 "Bootloader"
mtd2: 00010000 00010000 "Config"
mtd3: 00010000 00010000 "Factory"
mtd4: 00790000 00010000 "Kernel"
mtd5: 00010000 00010000 "nvbackup"
mtd6: 00010000 00010000 "nvram"
发表于 2016-6-28 22:00 | 显示全部楼层
现在不是有个什么 刷机通用助手很方便的
回复 支持 反对

使用道具 举报

 楼主| 发表于 2016-6-29 06:02 | 显示全部楼层
https://www.right.com.cn/forum/f ... 21&highlight=k2
这个帖子可以,但是手动刷机不行,不知道为什么
回复 支持 反对

使用道具 举报

发表于 2019-2-9 17:42 | 显示全部楼层
mtd_write write -r xxxxxx.bin Bootloader
试试这个命令.  
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-6-3 21:33

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表