New year, big updates in Nerves systems
January 6, 2022 • Issue 25
No images? Click here Official project updatesThis publication had a break across Christmas and New Year but not we are thankfully back and we have some major system updates. Pretty exciting stuff :) I'll share Frank's notes from the Slack on this shortly before release as I think they summarize it well, more details in release notes and below: There are a number of improvements coming. First off, we updated Erlang/OTP to 24.2 and Buildroot to 2021.11. The Buildroot update changes Raspberry Pi firmware options, so if you’re making custom RPi systems you’ll want to watch out. This also pulls in GCC 10.3 for which we enabled a small extension needed for TorchX (for Nx/Axon users). We also published toolchains for Linux aarch64 so that builds can be done on Docker on the Mac M1s. Raspberry Pi users will also get the latest and greatest Linux kernel updates to support libcamera development and use of the Raspberry Pi Zero 2. The built-in Raspberry Pi WiFi firmware also got a lot of updates. The release notes for them are terse, but I’m hoping they enable WiFi features that are lagging on the Pi. BBB users will finally be updated to Linux 5.10. Thanks to @amclain, we made some CI improvements that you’ll want. The first is that we started a backup package download site at dl.nerves-project.org. We save every package downloaded in the official builds there. This should prevent things like the two day build outage late November when GitHub changed their URL format (and then reverted it). Incidentally, the CI change also reduced build time and Nerves systems should have a better chance of fitting in the new CircleCI free tier build limits. You’ll have to update the CI orb to get this change. Anyway, this is a big release. New users probably want to hang tight for a bit in case there are issues in areas we don’t regularly test. However, this is going to set us up for some interesting developments in 2022 and I’m really excited about that. The Updatesnerves_system_vultr, v0.15.0 Change default primary download site to https://dl.nerves-project.org. 1.18.0 is a major update that pulls in Buildroot 2021.11. Please see the release notes for details. 1.18.1 and 1.18.2 adress further follow-up things. Fixed an issue creating SBOM information for the RPi WiFi firmware. Include host freetype and host libjpeg to fix compilation errors with qt5webengine. Thanks to @wzin for tracking this down and working with the Buildroot devs. The patch will be here until an upstream fix is released. Update WiFi firmware for all Raspberry Pi platforms. This brings in a number of fixes that were released over the past year. See changelog. nerves, v1.7.13 Fix error message printout when Nerves toolchain builds fail. toolchains, v1.5.0 Tool versions
circuits_quickstart, v0.4.9
Other Updatesvintage_net_qmi, v0.2.13 vintage_net_qmi, v0.2.12 vintage_net, v0.11.4 circuits_i2c, v1.0.1 circuits_spi, v1.1.0 Properly mark NIF transfer function as IO bound so that the Erlang scheduler schedules it properly. Community updatesI have my fingers thoroughly crossed for ElixirConf EU in London in April but I don't pretend it is a given as the Covid situation looks pretty crap from what I gather. Now if it does happen and seems safe I'm personally planning to grab my entire team and head over there and I just might enroll them in: Frank & Jon's Nerves training called a Hands On Tour Of Nerves Using Livebook. For the Underjod YouTube channel I had an editor cut down my chatter and pauses to make a denser version of my livestream recording where I play around with eInk and OLED displays. I've had people tell me that session was very useful to them or helped them do a project, so I hope a tighter version is even more helpful. I expect to stream again this friday and I think it might be Nerves. Also on Underjord @amclain wrote a guest post which I think laid out a very good, nuanced argument on why Nerves presents a unique advantage to a business along with why Elixir does so. The post was sponsored by DockYard, they are not sponsoring this newsletter. If you want more of your favorite Nerves content in here and less about my efforts with Underjord, send your suggestions in to lars@underjord.io. I'm more excited about things I haven't made for this esteemed newsletter so pretty much everything will be brought in as long as it relates to Nerves, hardware or strongly related Elixir things. Supporting the Nerves projectWe want to encourage everyone to contribute in whatever way works for them. Here are some ways we currently recommend:
Finally, if you have questions about the newsletter or want to suggest something you can simply respond to this email it will go directly to me, Lars, who edits this thing. Let me know what you think. - Lars, Underjord.io |