mtd-utils --flash操作工具
ubuntu下安装
zw@zw-pc:apt-get install mtd-utils
zw@zw-pc:fl
flash_erase flash_otp_dump flash_otp_write flock
flash_eraseall flash_otp_info flash_unlock
flash_lock flash_otp_lock flashcp
zw@zw-pc:flashcp -h
Flash Copy - Written by Abraham van der Merwe <abraham@2d3d.co.za>
usage: flashcp [ -v | --verbose ] <filename> <device>
flashcp -h | --help
-h | --help Show this help message
-v | --verbose Show progress reports
<filename> File which you want to copy to flash
<device> Flash device to write to (e.g. /dev/mtd0, /dev/mtd1, etc.)