This project does NOT follow semantic versioning. The version increases as follows:
- Major version updates are breaking updates to the build infrastructure. These should be very rare.
- Minor version updates are made for every major Buildroot release. This may also include Erlang/OTP and Linux kernel updates. These are made four times a year shortly after the Buildroot releases.
- Patch version updates are made for Buildroot minor releases, Erlang/OTP releases, and Linux kernel updates. They're also made to fix bugs and add features to the build infrastructure.
This is a major Erlang and Buildroot update.
Please see the nerves_system_br v1.29.0 release notes for upgrade instructions if you've forked this system.
-
Changes
- Applied and enabled the Real-Time Linux patch set, PREEMPT_RT. Please see write-ups on the web for benefits and how to use. The impact of this patch shouldn't be noticeable to most Nerves users.
- Switch CPU frequency governor from conservative to the more modern schedutil. See LWN article for details.
- Enable ARM NEON compilation for packages that can use it.
-
Updated dependencies
- nerves_system_br v1.29.1
- Buildroot 2024.08.2
- Linux 6.6.51 (Raspberry Pi stable_20241008 release)
This is a security/bug fix update.
-
Fixes
- Device tree overlays are now included for all official Raspberry Pi cameras and should load automatically
-
Updated dependencies
This is a major Erlang, Buildroot, Linux and Raspberry Pi display and camera update. Please read below and expect to spend some time on the update.
Please see the nerves_system_br v1.28.0 release notes for upgrade instructions if you've forked this system.
-
Changes
- Elixir 1.17 and Erlang/OTP 27 support
- Switch from the Raspberry Pi's deprecated MMAL media support to DRM and libcamera. This is a big change if you use the display or camera that has been a long time coming. Please plan some time to make the upgrade.
- Upgrade from Linux 6.1 to Linux 6.6
- Reduce copy/pasted definitions in the
fwup.conf
by extracting them tofwup_include/fwup-common.conf
. (No functional changes)
-
Fixes
- The serial numbers returned by
Nerves.Runtime.serial_number/0
now contain the whole serial number. If you forked this system, check theboardid.config
anderlinit.config
for the changes and to keep the hostname the same.
- The serial numbers returned by
-
Updated dependencies
- Linux 6.6.31 (Raspberry Pi stable_20240529 release)
- nerves_system_br v1.28.1
- Buildroot 2024.05
- Erlang/OTP 27.0
This is a security/bug fix update.
- Package updates
This is a major Buildroot update.
Please see the nerves_system_br v1.27.0 release notes for upgrade instructions if you've forked this system.
-
Changes
- The
libcamera
andrpicam_apps
packages have been replaced with the Raspberry Pi-forked versions for better compatibility. Please seenerves_system_br
release notes.
- The
-
Updated dependencies
- Linux 6.1.73 (Raspberry Pi 20240124 release)
- nerves_system_br v1.27.0
- Buildroot 2024.02
- Erlang/OTP 26.2.3
This is a major Buildroot update.
Please see the nerves_system_br v1.26.0 release notes for upgrade instructions if you've forked this system.
- Updated dependencies
This is a security/bug fix update.
-
Changes
- Synchronize configuration closer to the rpi3 options
-
Package updates
This is a major Buildroot, toolchain, and Linux kernel update that also adds support for using Scenic without customizing the system.
Please see nerves_system_br v1.25.0 release notes for upgrade instructions if you've forked this system.
-
New features
- Add libcairo for Scenic support
-
Updated dependencies
- Linux 6.1.63 (Raspberry Pi stable_20231123 release)
- nerves_system_br v1.25.2
- Buildroot 2023.08.4
- Erlang/OTP 26.1.2
This is a security/bug fix update.
- Package updates
This is a Buildroot version update that appears to mostly contain bug and security fixes. It should be a low risk upgrade from v1.23.2.
-
New features
- Support factory reset, preventing firmware reverts. See Nerves.Runtime.FwupOps
-
Updated dependencies
- Updated dependencies
This is a bug and security fix update. It should be a low risk upgrade.
-
Fixes
- Fix CTRL+R over ssh
-
Updated dependencies
This is a major update that brings in Erlang/OTP 26, Buildroot 2023.02.2, Linux 5.15.84, and Raspberry Pi firmware updates.
-
New features
- CA certificates are included for OTP 26.
-
Updated dependencies
- nerves_system_br v1.23.1
- Buildroot 2023.02.2
- Erlang/OTP 26.0.2
- Linux 5.15.84 (Raspberry Pi Linux tag 1.20230106)
This is a bug and security fix update. It should be a low risk upgrade from v1.22.1.
-
Changes
- Change FPU mode to fp-armv8. This mode enables additional instructions that are needed for Tensorflow Lite.
-
Updated dependencies
This is a bug fix and Erlang version bump from 25.2 to 25.2.3. It should be a low risk upgrade from v1.22.0.
- Updated dependencies
This is a Buildroot version update that appears to mostly contain bug and security fixes. It should be a low risk upgrade to v1.21.2.
- Updated dependencies
-
Changes
- Two Buildroot patch updates and an Erlang minor version update
- Nerves Heart v2.0 is now included. Nerves Heart connects the Erlang runtime to a hardware watchdog. v2.0 has numerous updates to improve information that you can get and also has more safeguards to avoid conditions that could cause a device to hang forever.
-
Updated dependencies
- linux 5.15.78 (RPi 1.20221104)
- nerves_system_br v1.21.6
- Erlang/OTP 25.2
- Buildroot 2022.08.3
- nerves_heart v2.0.2
-
Changes
- Reduce first-time Linux kernel download by using tarball source
-
Updated dependencies
-
Changes
- Support aarch64 Linux builds
- Add libdtc to support runtime loading of device tree overlays
-
Updated dependencies
- Updated dependencies
- Updated dependencies
This release updates to Buildroot 2022.05, Linux 5.15.32 (from Linux 5.10) and uses GCC 11.3 (from GCC 10.3). The Linux kernel upgrade could introduce a regression, so please verify hardware-specific functionality in your firmware.
If you have cloned this repository for a custom system, please make sure that
you have CONFIG_NOP_USB_XCEIV=y
in your Linux kernel configuration.
- Updated dependencies
This release updates to Buildroot 2022.02.1 and OTP 25.0. While this should be an easy update for most projects, many programs have been updated. Please review the changes in the updated dependencies for details.
- Updated dependencies
This release bumps Erlang to 24.3.2 and should be a low risk upgrade from the previous release.
-
Changes
- Pull in upstream Linux SquashFS patch to improve file system performance
-
Updated dependencies
This is a Buildroot and Erlang bug and security fix release. It should be a low risk upgrade from the previous release.
- Updated dependencies
This is a Buildroot and Erlang bug fix release. It should be a low risk upgrade from the previous release.
-
Updated dependencies
-
Changes
- Specify CPU-specific flags when compiling NIFs and ports. This fixes an issue where some optimizations could not be enabled in NIFs even though it should be possible to have them. E.g., ARM NEON support for CPUs that have it.
- Build the Wireguard kernel driver. This is a small device driver that enables a number of VPN-based use cases.
-
Updated dependencies
-
Changes
- The
cpufreq
directories are available again. This was a regression that would break code that manually adjusted the CPU frequency. - Programs that use OpenMP will run now. The OpenMP shared library
(
libgomp.so
) was supplied by the toolchain, but not copied.
- The
This release updates to Buildroot 2021.11 and OTP 24.2. If you have made a
custom system, please review the nerves_system_br
release
notes
since Buildroot 2021.11 changed some Raspberry Pi firmware options.
-
Updated dependencies
- nerves_system_br v1.18.2
- Buildroot 2021.11
- Erlang/OTP 24.2
- Raspberry Pi WiFi firmware
- Linux 5.10.88 with Raspberry Pi patches
- GCC 10.3
-
Improvements
- Support for the
dl.nerves-project.org
backup site. Due to a GitHub outage in November, there was a 2 day period of failing builds since some packages could not be downloaded. We implemented the backup site to prevent this in the future. This update is in thenerves_defconfig
. - Use new build ORB on CircleCI. This ORB will shorten build times to fit in CircleCI's new free tier limits. Please update if building your own systems.
- Support for the
- Updated dependencies
This release updates the Linux kernel from 5.4 to 5.10 to follow the Raspberry Pi OS. This is using the latest Linux kernel and Raspberry Pi firmware at the time of this release to support the Raspberry Pi Zero 2 W.
-
New features
- Support the Raspberry Pi Zero 2 W
-
Updated dependencies
- nerves_system_br v1.17.3
- Erlang/OTP 24.1.4.
- Linux 5.10.76 with Raspberry Pi patches
This is a security/bug fix patch release. It should be safe to update for everyone.
-
Updated dependencies
-
Improvements
- Include software versioning and licensing info (see legal-info directory in artifact)
- Force core frequency to support Bluetooth. This mirrors a Raspberry Pi 3 configuration
- Remove espeak. This reduces firmware sizes and espeak was removed from other systems some time ago.
- Sync display backlight settings with the Raspberry Pi 3 configuration so that the official 7" display works with the 3A as well.
This release updates to Buildroot 2021.08 and OTP 24.1. If you have made a
custom system off this one, please review the nerves_system_br v1.17.0
release
notes.
- Updated dependencies
This release updates Erlang/OTP from 24.0.3 to 24.0.5 and Buildroot from 2021.05 to 2021.05.1. Both of these are security/bug fix updates. This is expected to be a safe upgrade from v1.16.1 for all users.
-
Updated dependencies
-
Improvements
- Beta support for using a
runtime.exs
script for runtime configuration. - Added a
provision
task to thefwup.config
to enable re-provisioning a MicroSD card without changing its contents. - Adds a default
/etc/sysctl.conf
that enables use of ICMP in Erlang. This requiresnerves_runtime v0.11.5
or later to automatically load the sysctl variables. With it using:gen_udp
to send/receive ICMP will "just work". It also makes it easier to add other sysctl variables if needed.
- Beta support for using a
This release updates Nerves Toolchains to v1.4.3 and OTP 24.0.3. It should be safe for everyone to apply.
- Updated dependencies
This release updates to Buildroot 2021.05 and OTP 24.0.2. If you have made a
custom system off this one, please review the nerves_system_br v1.16.0
release
notes.
-
Updated dependencies
-
Improvements
- This release now contains debug symbols and includes the Build-ID in the ELF headers. This makes it easier to get stack traces from C programs. As before, the Nerves tooling strips all symbols from firmware images, so this won't make programs bigger.
- Enable compile-time
wpa_supplicant
options to support WPA3, mesh networking, WPS and autoscan.
This is a security/bug fix release that updates to Buildroot 2021.02.1 and OTP 23.3.1. It should be safe for everyone to apply.
- Updated dependencies
This release updates to Buildroot 2021.02 and OTP 23.2.7. If you have made a
custom system off this one, please review the nerves_system_br v1.15.0
release
notes.
The Nerves toolchain has also been updated to v1.4.2. This brings in Linux 4.14 headers to enable use of cdev and eBPF. This won't affect most users.
- Updated dependencies
This release updates to Buildroot 2020.11.2, GCC 10.2 and OTP 23.2.4.
When migrating custom systems based, please be aware of the following important changes:
-
There's a new
getrandom
syscall that is made early in BEAM startup. This has the potential to block the BEAM before Nerves can startrngd
to provide entropy. We have not seen this issue here, but have updatederlinit.config
for the time being as a precaution. -
The GCC 10.2.0 toolchain has a different name that calls out "nerves" as the vendor and the naming is now more consistent with other toolchain providers.
-
Experimental support for tooling that requires more information about the target has been added. The initial support focuses on zigler.
-
Updated dependencies
This is a bug fix release and contains no major changes.
- Updated dependencies
This release includes a patch release update to Buildroot 2020.08.2.
-
Updated dependencies
-
Improvements
- Switched source for built-in WiFi module firmware. This pulls in newer firmware versions that were found to fix issues on the Raspberry Pi 4. It may improve built-in WiFi on other Raspberry Pis.
The main change in this release is to bump the Linux kernel to 5.4. This follows the kernel update in the Raspberry Pi OS.
If you have based a custom system off of this one, please inspect the
nerves_defconfig
for WiFi firmware changes. WiFi firmware is no longer being
pulled from the rpi-wifi-firmware
since that package is out of date.
-
Updated dependencies
-
Improvements
- Enabled reproducible builds in Buildroot to remove some timestamp and build path differences in firmware images. This helps delta firmware updates.
- The memory cgroup controller is no longer enabled by default. This was an upstream change. As a result, the memory cgroup directory is no longer mounted.
This release updates to Buildroot 2020.08 and OTP 23.1.1.
-
Updated dependencies
-
New features
- Added support for updating the root filesystem using firmware patches. See the firmware patch docs for more information.
This release updates to Buildroot 2020.05.1 and OTP 23.0.3 which are both bug fix releases.
-
Updated dependencies
-
New features
- The
/data
directory now exists for storing application-specific data. It is currently a symlink to/root
. Using/data
will eventually be encouraged over/root
even though currently there is no advantage. This change makes it possible to start migrating paths in applications and libraries.
- The
-
Fixes
- Fixed old references to the
-Os
compiler flag. All C/C++ code will default to using-O2
now.
- Fixed old references to the
- Fixes
- Remove
nerves_system_linter
from hex package. This fixes mix dependency errors in projects that reference systems with differentnerves_system_linter
dependency specs.
- Remove
This release updates the system to use Buildroot 2020.05 and Erlang/OTP 23. Please see the respective release notes for updates and deprecations in both projects for changes that may affect your application.
-
New features
- Support the Raspberry Pi Sense HAT's joystick
-
Updated dependencies
- Updated dependencies
- nerves_system_br v1.11.4
- Erlang 22.3.4.1
- fwup 1.7.0
- Updated dependencies
- nerves_system_br v1.11.2
- Erlang 22.3.1
- erlinit 1.7.0 - tty initialization support
- fwup 1.6.0 - xdelta3/VCDIFF patch support
- Enable unixodbc so that Erlang's odbc application can be used in projects
This release updates Buildroot to 2020.02 and upgrades gcc from 8.3 to 9.2. While this is a minor version bump due to the Buildroot release update, barring advanced usage of Nerves, this is a straightforward update from v1.10.2.
- Updated dependencies
- nerves_system_br v1.11.0
- linux 4.19.97 (raspberrypi-kernel_1.20200212-1 tag)
- Erlang 22.2.8
-
Fixes
- This fixes a regression on OSX where the USB gadget Ethernet would incorrectly try to go into RNDIS mode and not work. Gadget Ethernet works with this fix on Linux and OSX. It also works on Windows with a driver installed.
-
Updated dependencies
- nerves_system_br v1.10.2
- Erlang 22.2.4
This release changes the behavior of the gadget port as well as the UART pins on the GPIO header. The gadget driver has been changed to use g_ether. This provides a more stable network connection at the expense of the virtual serial port. Console access has been output to the UART. If you were using the UART to connect to peripherals, you will need to disable the console. See: https://hexdocs.pm/nerves/advanced-configuration.html#overwriting-files-in-the-boot-partition for more information.
-
Enhancements
- Set
expand=true
on the application data partition. This will only take effect for users running the complete task, fwup will not expand application data partitions that exist during upgrade tasks. - linux: swap the cdc composite gadget for g_ether
- Set
-
Updated dependencies
- nerves_system_br v1.10.1
- Erlang 22.2.3
This release updates Buildroot to 2019.11 with security and bug fix updates
across Linux packages. Enables dnsd, udhcpd and ifconfig in the default
Busybox configuration to support vintage_net
and vintage_net_wizard
.
See the nerves_system_br
notes for details.
- Updated dependencies
- nerves_system_br v1.10.0
- Erlang 22.1.8
This release updates Buildroot to 2019.08.2 with security and bug fix updates
across Linux packages. See the nerves_system_br
notes for details.
Erlang/OTP is now at 22.1.7.
- Updated dependencies
This release pulls in security and bug fix updates from nerves_system_br
.
Erlang/OTP is now at 22.1.1.
-
Bug fixes
- This system should work out of the box now with Scenic and the offical RPi Touchscreen display. The issue preventing it from working has been fixed.
-
Updated dependencies
- nerves_system_br v1.9.4
- linux - update to the raspberrypi-kernel_1.20190925-1 tag
This release updates Buildroot to 2019.08 with security and bug fix updates
across Linux packages. See the nerves_system_br
notes for details.
- Updated dependencies
This release fixes an issue that broke display output on small LCD screens. Updating the Raspberry Pi firmware to the latest from the Raspberry Pi Foundation fixed the issue. See pappersverk/rpi_fb_capture#2 for details.
- Updated dependencies
- Updated dependencies
- nerves_system_br v1.8.4
- Linux 4.19.58 with patches from the Raspberry Pi Foundation
This release
This release updates Erlang to OTP 22 and gcc from version 7.3.0 to 8.3.0. See the nerves_system_br and toolchain release notes for more information.
-
Enhancements
- Enable source-based routing in the Linux kernel to support vintage_net
-
Updated dependencies
- Bux fixes
- Add TAR option
--no-same-owner
to fix errors when untarring artifacts as the root user.
- Add TAR option
- Updated dependencies
This release fixes a major issue with the gadget USB port where it would hang on
boot. If you have made a custom system or are overriding the erlinit.config
file in your project, please make sure that your erlinit.config
has:
-c null
-s "/usr/bin/nbtty --tty /dev/ttyGS0 --wait-input"
-
Bug fixes
- Fix regression with virtual serial port where it could cause the whole USB interface to hang.
-
Improvements
- Bump C compiler options to
-O2
from-Os
. This provides a small, but measurable performance improvement (500ms at boot in a trivial RPi0 project).
- Bump C compiler options to
-
Updated dependencies
This release bumps the Linux kernel to 4.19.25. This change had an impact on how the WiFi regulatory database gets loaded into the kernel. Instead of building it into the kernel as previously done, the kernel loads it on demand. This requires that all WiFi drivers be built as kernel modules so that the database isn't loaded before the root filesystem is mounted. If you made a custom system and see boot errors about not being able to load the regulatory database, this is the problem.
A known bug with the Raspberry Pi Zero USB gadget interface is that it sometimes doesn't load on Linux systems. Moving the gadget drivers to kernel modules seems to work around this but it takes longer to load the gadget interface.
- Updated dependencies
- nerves_system_br v1.7.0
- Linux 4.19.25 with patches from the Raspberry Pi Foundation
- Updated dependencies
- nerves_system_br v1.6.8
- Erlang 21.2.6
- Updated dependencies
- nerves_system_br v1.6.6
- Erlang 21.2.4
- boardid 1.5.3
-
Updated dependencies
- nerves_system_br v1.6.5
- Erlang 21.2.2
- boardid 1.5.2
- erlinit 1.4.9
- OpenSSL 1.1.1a
- Linux 4.14.89 with patches from the Raspberry Pi Foundation
-
Enhancements
- Moved boardid config from inside erlinit.config to /etc/boardid.config
- Compile gpiomem into the Linux kernel
- Enable pstore, an in-memory buffer that can capture logs, kernel oops and other information when unexpected reboots. The buffer can be recovered on the next boot where it can be inspected.
See
nerves_system_rpi3/CHANGELOG.md for
history before this was forked off of nerves_system_rpi3