Nerves Runtime Versions Save

Small, general initialization and utilities for Nerves devices

v0.11.9

2 years ago
  • Changes
    • Save shell history on first boot. Previously, Erlang would open up the shell history file before the data partition was formatted and wouldn't retry. Nerves.Runtime now resets shell history so that it retries.
    • Call modprobe to load kernel modules to C to reduce boot time.

v0.11.8

2 years ago
  • Changes
    • Update the mix dependencies to allow uboot_env v1.0.0 to be used.

v0.11.7

2 years ago
  • Bug fixes
    • Nerves.Runtime.firmware_valid?/0 would return that the firmware wasn't validated when the validation feature wasn't in use. This was confusing since firmware is assumed valid when the feature is off.

v0.11.6

2 years ago
  • New features

    • Added support for implementing auto-revert logic using U-Boot's bootcount/upgrade_available feature. This can simplify U-Boot scripts. See the README.md for details.
  • Bug fixes

    • Specify "-f" to force f2fs filesystem formats like those of other filesystems. Thank to Eric Rauer for catching this oversight.

v0.11.5

2 years ago
  • Updates
    • If /etc/sysctl.conf is present, run sysctl to load and set the kernel configuration parameters in it.
    • Improve C compilation messages and error help

v0.11.4

3 years ago
  • Updates
    • Added Nerves.Runtime.firmware_valid?/0 to easily check whether the firmware has been marked valid for systems that auto-rollback.

v0.11.3

3 years ago
  • Updates
    • Support uboot_env v0.3.0. This version of uboot_env has backwards incompatible changes, but they don't affect nerves_runtime, so the mix.exs deps spec allows it now.
    • Tightened up the specs on Nerves.Runtime.KV functions.

Support for OTP 20 was removed. uboot_env v0.3.0 requires OTP 21 and later. If you still are using OTP 20, lock the version of uboot_env to ~> 0.2.0 in your mix.exs.

v0.11.2

4 years ago
  • New features
    • Added Nerves.Runtime.validate_firmware/0 for validating firmware on systems that auto-rollback. This only abstracts the setting of the nerves_fw_validated key. It doesn't add any new functionality. However, it will enable auto-rollback to be added to Nerves systems in a consistent manner in the future and allow for platform-specific variations without impacting application code.

v0.11.1

4 years ago
  • Bug fixes
    • Reap zombie process that was created by the uevent port helper.
    • Support uboot_env v0.2.0 to reduce memory garbage that's created when reading and writing U-Boot environment blocks

v0.11.0

4 years ago
  • New features
    • Add Nerves.Runtime.serial_number/0. It will call out to the underlying system to return the device's serial number however it's stored.
    • Add a fallback to haveged for systems that don't have hardware random number generators or otherwise can't use rngd.