Fwup (fwup v1.1.0)
Configurable embedded Linux firmware update creator and runner
Link to this section Summary
Functions
Apply a fwupdate
Returns the path to the fwup executable.
Returns a list of ["/path/to/device", byte_size]
Stream a firmware image to the device
Link to this section Functions
Link to this function
apply(device, task, path, extra_args \\ [])
Apply a fwupdate
device- block device to write too. Seeget_device/0.task- Can be any task in the fwup.conf.Traditionally it will be `upgrade` or `complete`path- path to the firmware fileextra_args- extra optional args to pass to fwup.
Link to this function
exe()
Returns the path to the fwup executable.
Link to this function
get_devices()
Returns a list of ["/path/to/device", byte_size]
Link to this function
send_chunk(pid, chunk)
Link to this function
stream(pid, args, opts \\ [])
Stream a firmware image to the device
Options
:name- register the started GenServer under this name (defaults to Fwup.Stream):fwup_env- the OS environment to pass to fwup