Nerves v1.3.1 mix firmware.burn View Source
Writes the generated firmware image to an attached SDCard or file.
By default, this task detects attached SDCards and then invokes
to overwrite the contents of the selected SDCard with the new image.
Data on the SDCard will be lost, so be careful.
--device <filename>- skip SDCard detection and write the image to the specified filename. SDCard paths depend on the operating system, but have a form like
/dev/mmcblk0. You may also specify a filename to create an image that can be used with a bulk memory programmer or copied to an SDCard manually with a utility like
--task <name>- apply the specified
fwuptask. See the
fwup.conffile that was used to create the firmware image for options. By convention, the
completetask writes everything to the SDCard including bootloaders and application data partitions. The
upgradetask only modifies the parts of the SDCard required to run the new software.
# Upgrade the contents of the SDCard located at /dev/mmcblk0 mix firmware.burn --device /dev/mmcblk0 --task upgrade