-
Notifications
You must be signed in to change notification settings - Fork 0
mtd command
KerwinKoo edited this page Dec 28, 2015
·
1 revision
root@OpenWrt:~# sysupgrade -h
Usage: /sbin/sysupgrade [options] <image file or URL>
Options:
-d <delay> add a delay before rebooting
-f <config> restore configuration from .tar.gz (file or url)
-i interactive mode
-b / --create-backup <file>
create .tar.gz of files specified in sysupgrade.conf
then exit. Does not flash an image. If file is '-',
i.e. stdout, verbosity is set to 0 (i.e. quiet).
-n do not save configuration over reflash
-q less verbose
-v more verbose
-h / --help display this help
相当于刷固件第一步,就目前,这个方法是最有效的:
mtd -r write *.bin firmware
mtd -r write /tmp/
固件名 rootfs_data相当于做ghost