切换到宽版
  • 10554Read
  • 1Replay

PandoraBox ROM  (小米路由器 Mini) [复制链接]

上一主题 下一主题
离线admin
 

只看楼主 倒序阅读 使用道具 楼主  posttime: 2015-11-21
— 本帖被 admin 从 Linux--Ubuntu/Git 移动到本区(2017-11-07) —
1. 下载地址
http://downloads.openwrt.org.cn/PandoraBox/Xiaomi-Mini-R1CM/stable/PandoraBox-ralink-mt7620-xiaomi-mini-squashfs-sysupgrade-r512-20150309.bin

2.通过SSH 登录小米
mtd -r write /tmp/xxx.bin firmware
这个命令最后的firmware改成OS1
mtd -r write /tmp/xxx.bin OS1





离线admin

只看该作者 沙发  posttime: 2016-04-17
mtd: invalid option -- -
Usage: mtd [<options> ...] <command> [<arguments> ...] <device>[:<device>...]

The device is in the format of mtdX (eg: mtd4) or its label.
mtd recognizes these commands:
        unlock                  unlock the device
        refresh                 refresh mtd partition
        erase                   erase all data on device
        verify <imagefile>|-    verify <imagefile> (use - for stdin) to device
        write <imagefile>|-     write <imagefile> (use - for stdin) to device
        jffs2write <file>       append <file> to the jffs2 partition on the devi                                                      ce
Following options are available:
        -q                      quiet mode (once: no [w] on writing,
                                           twice: no status messages)
        -n                      write without first erasing the blocks
        -r                      reboot after successful command
        -f                      force write without trx checks
        -e <device>             erase <device> before executing the command
        -d <name>               directory for jffs2write, defaults to "tmp"
        -j <name>               integrate <file> into jffs2 data when writing an                                                       image
        -s <number>             skip the first n bytes when appending data to th                                                      e jffs2 partiton, defaults to "0"
        -p                      write beginning at partition offset

Example: To write linux.trx to mtd4 labeled as linux and reboot afterwards
         mtd -r write linux.trx linux
快速回复
限100 字节
批量上传需要先选择文件,再选择上传
 
上一个 下一个