Mender blog

Selecting a Yocto board

How to select the right Yocto board for your IoT project, comparing Raspberry Pi and Beaglebone Black. We discuss the advantages of Yocto's security and software efficiency while ensuring device compatibility and stability.

Boards are often ranked based on the popularity of the board and we would rate that quite high in selecting something that's workable, that's going to have answers online, for problems that you're going to run into. Be aware of stability and power issues, and look carefully at Raspberry Pi in comparison to Beaglebone Black in this regard. The power source is a noted challenge in the Raspberry Pi for its reliability. Read this comparison of the two boards.

Highly constrained devices and Yocto

Microcontrollers might be too small to use Yocto. Because your next step would be to go to a microkernel operating system. Which is going to be quite different, and this is completely unsuitable for Yocto. There is a minimum specification that you will need to have to support a Yocto image. If you have less than 256 Mbytes of RAM, for example, you're probably starting to push it. If you are going to have dual root FS, you will need to have storage in the multi gigabyte range — 2 Gbytes at least: If your whole flash chip is 200 Mbytes then you are outside of the Yocto domain.

RaspberryPi 4 model B for your IoT project using Yocto

Yocto has less software, less security risks

The security advantage associated with a Yocto board is that there is no unnecessary software. This limits the range for potential attack vectors. In contrast, with Ubuntu, you would have more tools installed that could fail in various ways. Sometimes, even some of them can open to the network, which again can be vulnerable and you just have less of them in Yocto. To be clear Ubuntu is not less secure than Yocto, it's just that Yocto uses less software so has less vulnerabilities by virtue of this fact.

You can learn how to run CVE checks with Yocto Project.

Integrating Yocto with Raspberry Pi and Beaglebone

Visit Mender Hub for tutorials on integrating Mender with these official reference boards, using Yocto:

Further reading

Consider reading these other articles on Yocto:

Related articles

First alpha version of Mender C++ client released | Mender

First alpha version of Mender C++ client released

We have reached the first milestone of the Mender client rewrite to C++: the first alpha version is now available! There are still a lot of features missin
Mender OTA on the ESP32, Part 2 | Mender

Mender OTA on the ESP32, Part 2

In the second of a two-part blog series, Josef Holzmayr, Head of Developer Relations, examines how community member Joël Guittet developed an integration f
Over-the-air (OTA) integration: Variscite VAR-SOM-MX8M-MINI and Yocto Kirkstone | Mender

Over-the-air (OTA) integration: Variscite VAR-SOM-MX8M-MINI and Yocto Kirkstone

The VAR-SOM-MX8M-MINI offers the latest video and audio experience, combining state-of-the-art media-specific features with high-performance processing opt
View more articles

Learn more about Mender

Explore our Resource Center to discover more about how Mender empowers both you and your customers with secure and reliable over-the-air updates for IoT devices.