Nerves System Releases

Nerves systems provide the operating system, libraries and other tools for building firmware for specific hardware. The Nerves Core Team maintains a set of ports to widely available hardware. Nerves runs on many other boards as well and those ports are frequently derived from the official systems.

Nerves systems releases had previously been announced as part of the core Nerves tooling releases, but they change more frequently, so my plan is to announce to this topic instead.

FAQ on Nerves Releases

  1. How often are Nerves system releases made?

We follow the release cadence of the Buildroot project. Buildroot makes a release every 3 months. This allows us to keep up with security and bug fixes for the non-Elixir infrastructure in Nerves without being overly burdensome. Sometimes Buildroot makes a patch release to fix a particularly bad security issue or bug. We follow suit even if that issue is unlikely to affect Nerves users.

  1. Why don’t Nerves systems follow semantic versioning?

Given that Buildroot contains 1000s of packages, its near impossible to know whether a version bump in one is breaking or not and probably not helpful. We’ve settled on the following approach and admit that it is imperfect:

  • Major version updates result in firmware incompatibilities that make over-the-air updates difficult or impossible. Examples include big changes to filesystem layout or changing bootloaders.
  • Minor version updates are made for each Buildroot release. Buildroot version numbers have the form and don’t convey any information about release compatibility. It is good practice to review the Buildroot release notes especially for changes to C libraries and packages that you use. We also schedule Erlang major version bumps and Linux kernel minor version bumps to coincide with these releases.
  • Patch version updates include all of the other changes we make between Buildroot releases. We try to keep these minor so that it’s not risky to upgrade patch versions, but they may exceed the normal scope of semantic version patches.

Because of this, many people lock their Nerves System dependency down very tightly in their mix.exs deps. We recommend this practice. Please do follow updates to your system to capture security fixes.

  1. How does the core team decide which boards to support?

It’s our policy to make official releases for widely available hardware that has large open-source communities providing support. People have ported Nerves to many other platforms and some have made their ports public. It is a non-trivial task to maintain a port over the long term. If you are in need of a port for a board that the core team does not support, it’s worth posting to the forum to see if someone has made one and is willing to share.


New versions of the official Nerves systems are out. The main update is to use Buildroot 2019.08. Specific versions are:

  • nerves_system_bbb v2.4.0
  • nerves_system_rpi* v1.9.0
  • nerves_system_x86_64 v1.9.0

Per popular request, the Raspberry Pi and Beaglebone systems now have common USB->UART drivers built-in. The hope is that most or all Arduinos and other USB-based microcontroller devices work out of the box with Circuits.UART now.

If you’re a Raspberry Pi 4 user who has customized the fwup.conf, please note that the bootcode.bin file is no longer included in releases. It is not used by the Raspberry Pi 4 and has been removed. See the nerves_system_rpi4 for details.


A post was split to a new topic: Nerves Kiosk System Release

It’s that time again for more security and bug fix updates to the official Nerves systems. We are now shipping with Buildroot 2019.08.2 and Erlang/OTP 22.1.7. None of these updates should break existing projects and we recommend moving to this release.

PocketBeagle users (nerves_system_bbb) can now use the pinmux helper for changing pin modes at runtime. We inadvertantly had this disabled. Hopefully this will reduce the number of people needing to delve into the depths of device trees and overlays to get their projects working.

Raspberry Pi 4 users: we still do not have a solution for video output. If you are making kiosks, please continue to use the Raspberry Pi 3 B/B+. The 3D accelerator software and hardware is different on the RPi 4. Partial work has been done, but it is on the backburner due to me being busy with other work.

Specific versions for the releases:

  • nerves_system_bbb v2.4.2
  • nerves_system_rpi* v1.9.2
  • nerves_system_x86_64 v1.9.2

A new version of the Nerves systems is now available that uses nerves_system_br v1.10.1. We recommend upgrading or reviewing the changes for your projects to pull in the latest security and bug fixes from Buildroot.

This update has one potentially breaking change for Raspberry Pi Zero, 3 A+ and Beaglebone users. We’ve had a growing number of issues being reported by people using the USB “gadget” port for communicating with those boards. It seems that users with Linux laptops have had the most trouble. The fix was to switch the current gadget Ethernet driver with the g_ether driver. This changes low level details on the virtual Ethernet connection to one that is more compatible across OSX, Linux, and Windows. Unfortunately, the straightforward way of enabling this new driver means that we lose the virtual console port over USB. The debug console is now on the UART pins of those boards.

Here’s a list of the most visible updates:

  • Buildroot 2019.11.1
  • Erlang/OTP 22.2.3
  • boardid 1.6.0 - Support serial numbers stored in DMI/BIOS on x86
  • mesa3d - Experimental update to support the Raspberry Pi 4’s V3D driver

Specific versions for the releases:

  • nerves_system_bbb v2.5.1
  • nerves_system_rpi* v1.10.1
  • nerves_system_x86_64 v1.10.1

Also, since many people might be updating to Elixir 1.10, please continue to use Elixir 1.8 or 1.9 with your Nerves projects. We’ll be making a nerves release soon that supports it.


New official Nerves systems are available that use nerves_system_br v1.12.0 . We recommend upgrading and reviewing the change logs for the upgraded constituent projects.

Here’s a list of the most visible updates:

  • Buildroot 2020.05
  • Erlang/OTP 23.0.2
  • Qt 5.14.2 - This is an update from 5.14.1 that may affect webengine kiosk
  • Raspberry Pi Linux and firmware tagged as 1.20200601
  • device tree overlays updated to support new Beagleboard devices

As you can see above, we’re using OTP 23. We’ve had a really good experience with it so far. Please make sure that you’re using OTP 23.0.1 or later on CI and your host when building Nerves projects. Also, we still run into libraries that put build products in their source directories instead of under _build. It’s much better now than in the past, but it’s safest if you build clean after making this update just in case.

If you have made a custom system for a Raspberry Pi, please update the Linux kernel version that it uses it to match tag 1.20200601. This is still a Linux 4.19 kernel. Here’s an example of how to change your system.

Specific versions for the releases:

  • nerves_system_bbb v2.7.1
  • nerves_system_rpi* v1.12.1
  • nerves_system_x86_64 v1.12.1
  • nerves_system_osd32mp1 v0.3.1

As always, let us know either here or the Elixir Slack if you have questions and GitHub issues for bugs.