|
- usyBox v1.24.1 () built-in shell (ash)
- _______ ________ __
- | |.-----.-----.-----.| | | |.----.| |_
- | - || _ | -__| || | | || _|| _|
- |_______|| __|_____|__|__||________||__| |____|
- |__| W I R E L E S S F R E E D O M
- -----------------------------------------------------
- DESIGNATED DRIVER (Bleeding Edge, r48742) by wongsyrone
- -----------------------------------------------------
- * 2 oz. Orange Juice Combine all juices in a
- * 2 oz. Pineapple Juice tall glass filled with
- * 2 oz. Grapefruit Juice ice, stir well.
- * 2 oz. Cranberry Juice
- -----------------------------------------------------
- root@OpenWrt:~# cd /tmp
- root@OpenWrt:/tmp# mtd write breed-ar9344.bin to u-boot
- 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
- fixtrx fix the checksum in a trx header on first boot
- fixseama fix the checksum in a seama header on first boot
- 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
- -l <length> the length of data that we want to dump
- -o offset offset of the image header in the partition(for fixtrx)
- -F <part>[:<size>[:<entrypoint>]][,<part>...]
- alter the fis partition table to create new part itions replacing
- the partitions provided as argument to the write command
- (only valid together with the write command)
- Example: To write linux.trx to mtd4 labeled as linux and reboot afterwards
- mtd -r write linux.trx linux
复制代码
手上有2个WR2041N
之前那个刷上了 这个就卡在这
|
|