Changelog

v1.13.5

This release adds missing V3D/VC4 drivers and enables the vc4-fkms-v3d device tree overlay. This fixes issues found when trying out OpenGLES w/ DRM.

Note: v1.13.4 was broken

v1.13.3

This releases enables the OpenGL ES drivers so that it's possible to run UI libraries without a custom system. Note that the RPi4 uses the Linux DRM interface rather than MMAL and so it is not compatible with Elixir UI libraries that work on other Raspberry Pis.

v1.13.2

This release fixes the following issues found with the switch to 64-bit ARM:

  • Circuits.GPIO can't set pullups
  • 5 GHz WiFi is either flaky or doesn't work
  • No GPU drivers

A huge thanks for people in the Nerves community that identified these issues and helped verify the fixes.

This release also includes a patch release update to Buildroot 2020.08.2.

v1.13.1

IMPORTANT: This release runs the RPi4 in 64-bit ARM mode. This change was made for many reasons. See https://github.com/nerves-project/nerves_system_rpi4/issues/65 for details. While this is a big change, it is likely that it will not affect your programs at all.

The second 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 all configuration files for changes. In particular, WiFi firmware location has changed since the rpi-wifi-firmware package went out of date. Git commit messages on the nerves_system_rpi4 repository may also be helpful.

  • 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.

v1.13.0

This release updates to Buildroot 2020.08 and OTP 23.1.1.

v1.12.2

This release updates to Buildroot 2020.05.1 and OTP 23.0.3 which are both bug fix releases.

IMPORTANT: If you have made a custom fwup.conf file, then you'll need to replace references to start4.elf with start.elf and references to fixup4.dat with fixup.dat. See commit e21ad76 for how this change was made here.

  • 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.
  • Fixes

    • Fixed old references to the -Os compiler flag. All C/C++ code will default to using -O2 now.

v1.12.1

  • Fixes
    • Remove nerves_system_linter from hex package. This fixes mix dependency errors in projects that reference systems with different nerves_system_linter dependency specs.

v1.12.0

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.

v1.11.3

v1.11.2

  • 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

v1.11.1

This release updates the Linux configuration to match changes in the latest Raspberry Pi kernel configuration for the Raspberry Pi 4. If you have made a custom system, the following kernel configuration changes may affect you:

+CONFIG_CPUFREQ_DT=y
+CONFIG_ARM_RASPBERRYPI_CPUFREQ=y
+# CONFIG_ARM_BCM2835_CPUFREQ is not set
+CONFIG_RPIVID_MEM=m
+CONFIG_REGULATOR_FIXED_VOLTAGE=y
+CONFIG_DRM_V3D=m
+CONFIG_CLK_RASPBERRYPI=y
  • Bug fixes
    • Fixed regulator kernel configuration setting that prevented booting sometimes (this was a "not sure how this ever worked" kind of bug)

v1.11.0

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.

v1.10.2

v1.10.1

  • 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.
  • Updated dependencies

v1.10.0

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.

v1.9.2

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.

v1.9.1

This release pulls in security and bug fix updates from nerves_system_br. Erlang/OTP is now at 22.1.1.

IMPORTANT: The IEx prompt was being output on the UART. This was inconsistent with other Nerves/Raspberry Pi systems and has been fixed. If you want to use the UART, you'll need to override the erlinit.config file.

  • Bug fixes

    • Default to displaying the iex prompt on the HDMI port like the other Raspberry Pi systems
    • Compile in the I2C drivers so they're available early on for NervesKey and other use at initialization
  • Updated dependencies

v1.9.0

NOTE: bootcode.bin is not used by the RPi 4 and is no longer built. If updating a fork of this project, be sure to remove references to it from your fwup.conf. See https://www.raspberrypi.org/documentation/hardware/raspberrypi/booteeprom.md

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

  • Enhancements

    • Support a variety of USB->UART adapters so more devices work out-of-the-box

v1.8.2

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 https://github.com/fhunleth/rpi_fb_capture/issues/2 for details.

v1.8.1

This is the initial Nerves System release for the Raspberry Pi 4. It's version corresponds to other Nerves System releases for Raspberry Pi's for ease of referring to version numbers.

While similar looking, the Raspberry Pi 4 has some significant differences with other Raspberry Pis. The following functionality appears to work so far:

  1. Support for up to 4 GB of DRAM (1 GB and 2 GB versions supported too)
  2. I2C, SPI, and GPIO - The RPi 4 has additional pin mux options. They have not been tested.
  3. The primary UART has not been redirected away from the Bluetooth module. This is useful for using BLE with the Harald library, but is different from the other RPi defaults
  4. The Pi Camera and Raspberry Pi Foundation 7" Touchscreen both work
  5. Gigabit Ethernet works
  6. WiFi appears to work
  7. USB 3 devices

The following major features have not been tested:

  1. OpenGL support and HDMI output
  2. USB Gadget mode via the USB C connector (the gadget drivers are currently enabled, though)

Additionally, the Raspberry Pi 4 port uses 32-bit mode on the ARM even though the processor supports 64-bit usage. 64-bit usage didn't build when tried and the Raspberry Pi Foundation promotes 32-bit usage so that's what's used here.