Nerves v1.3.2 mix firmware.image View Source

Create a firmware image file that can be copied byte-for-byte to an SDCard or other memory device.

Usage

mix firmware.image [my_image.img]

If not supplied, the output image file will be based off the OTP application name.

Example

# Create the image file
mix firmware.image my_image.img

# Write it to a MicroSD card in Linux
dd if=my_image.img of=/dev/sdc bs=1M

Link to this section Summary

Functions

A task needs to implement run which receives a list of command line args

Link to this section Functions

A task needs to implement run which receives a list of command line args.

Callback implementation for Mix.Task.run/1.