uboot_env v0.1.0 mix uboot_env.write

Write a key-value pair to U-Boot environment block.

Pass either a path to a configuration file like /etc/fw_env.config or the path to the file or device containing the U-Boot environment and its offset and size.

The U-Boot environment is first read and validated before adding the new key-value pair.

Usage: mix uboot_env.write PATH_TO_DEVICE DEV_OFFSET ENV_SIZE KEY VALUE mix uboot_env.write PATH_TO_CONFIG_FILE KEY VALUE

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.