Snappy Ubuntu Core is an IoT Linux Distribution for ARM and x86

Canonical has announced a version of Ubuntu specifically designed for IoT devices running Linux, with a low hardware requirements, and a new package manager called snappy, replacing apt-get for this version of Ubuntu, which provides simpler, faster, and more reliable updates, stronger security, and allows roll-backs in case something goes wrong. Easy firmware updates are something missing in most connected device, which means they are more vulnerable to potential hackers, but with snappy security updates should be able to make it regularly, so that if something like heartbleed occurs again, you know your router, home automation gateway, connected washing machine, or robot will be soon patched automatically.

Snappy Ubuntu Core Logo
Snappy Ubuntu Core Logo

Let’s go through the hardware requirements first:

  • Processor – 600 MHz processor (ARMv7 or greater, or x86)
  • System Memory – 128 MB RAM or greater (The system itself uses 40 MB RAM)
  • Storage – 4GB flash / storage for factory reset and system rollback

So the hardware requirements are not quite as low as something as OpenWRT, but still lower than what you’d expect from Ubuntu, so you could use an old laptop or PC as a development platform, and Canonical also recommends BeagleBone Black or ODROID-C1 ARM based development boards. The Raspberry Pi board won’t work with Snappy, because Broadcom BCM2835 processor is using an older architecture (ARMv6) not supported by Ubuntu.

Snappy Architecture
Snappy Architecture

Twenty one companies and organization have partnered with Canonical on Snappy Ubuntu Core:

  • Home automation – Ninjablocks (Ninjasphere), Openhab (smarthub framework), Trasibot
  • Robotic – OSRF – ROS robots, , Erle Robotics with Erle-Copter
  • Development Boards – Hardkernel ODROID-C1, Beagleboarg community’s Beaglebone Black, Lemaker (Banana Pro), Udoo, LinkSprite (PCDuino), and Parallella
  • Silicon Vendors – Allwinner
  • IoT frameworks – Kaa, DeviceHive, IoTSys, Resin.io, OpenSensors.io
  • Misc- Riot-OS, Nwave, Fairwaves,  Docker with Weave

As mentioned in the introduction, apt-get is no where to be found in Snappy, as the distribution is using snappy instead, but the command line options remain familiar in some aspects:


with various new/different options like info, search, versions and more:


You can see in the list above two version of ubuntu-core, with one ACTIVE and the previous available for roll-back with the command:


You can find more example in Ubuntu Developer’s snappy page, and find out snappy can also be used to build software packages from source.

There’s also a work-in-progress web interface called WebDM (Web Device Manager) used to configure the device and install packages. It can be installed with sudo snappy install webdm, but Canonical warns it should not be enabled in production devices for now, as access control is not implemented yet.

WebDM
WebDM

If you want to try it, you don’t even need extra hardware, as a Snappy Ubuntu Core instances can be launched from Azure, GCE or Amazon EC2  cloud services, or run in a Virtual Machine with KVM, OVA (VMWare, VirtualBox,…) or Vagrant. All you have to do is follow the instructions provided here. Complete instructions and a preview image are also available for the BeagleBone Black. There does not seem to be pre-built images yet for the other ARM boards mentioned in this article.

Via LinuxGizmos

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

Radxa Orion O6 Armv9 mini-ITX motherboard
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
15 Comments
oldest
newest
Sander
Sander
9 years ago

“a version of Ubuntu specifically designed for IoT devices running Linux” I still have to fully understand Ubuntu Snappy, but AFAIK Ubuntu Snappy is NOT “a version of Ubuntu specifically designed for IoT devices running Linux” … as you imply at the end of your article: Ubuntu Snappy is also available for cloud and VMs. To me Ubuntu Snappy is a bare-minimum GUI-less Ubuntu, on which you run 1) built-in commands/programs 2) docker containers and/or 3) specifically built packages. But as apt-get is not available, you can not run the 30.000 packages that are available via apt-get. So, if –… Read more »

onebir
onebir
9 years ago

The hardware requirements seem a bit unfortunate; AFAIK the only<$30 platform that meets them is Raspi A, and that's the 'wrong kind of ARM'. I guess this will change though.

G
G
9 years ago

Buhuhu. The Raspberry SoC has been the wrong/obsolete kind since its start.

onebir
onebir
9 years ago

@G
Sure, I’m not complaining about Canonical’s decision. But for true IoT ubiquity the hardware needs to be cheap & AFAIK outside Korea, nothing in that list can be had for <$50…

G
G
9 years ago

They mention “$35 ARMv7 Odroid-C1”.

And… they also mention an app store and this: “Commercial vendors [can] sell software to their customers, on an open platform.” Looks like app store selling proprietary applications.

onebir
onebir
9 years ago

@G
“$35 ARMv7 Odroid-C1″. = price in Korea. Shipping is $20+ to many places.

Sander
Sander
9 years ago

“I think the deployments in the Cloud and VM are mostly for evaluation”

I really don’t think so; I think Ubuntu Snappy in the cloud is a competitor to CoreOS, so a bare minimum OS on heavy hardware for running containers

Sander
Sander
9 years ago

:

Found it: “Snappy Ubuntu Core is the perfect system for large-scale cloud container deployments, bringing transactional updates to the world’s favourite container platform.”

http://www.ubuntu.com/cloud/tools/snappy

So … Snappy in the cloud is NOT for evaluation of Snappy on embedded.

onebir
onebir
9 years ago

I think Odroid have fixed the shipping cost issue – I’m not in Europe & just checked: $9. So $44 for a superior slice of pi 😉

Micah Thomas
Micah Thomas
9 years ago


they have distribution partners in Europe and US, so i got one for $43 shipped

Boardcon Rockchip RK3588S SBC with 8K, WiFI 6, 4G LTE, NVME SSD, HDMI 2.1...