Yocto Project Summit 2023.11

Keep your layer simple -- and here's how
11-29, 14:20–14:35 (UTC), Nanbield

This talk introduces "simplest-yocto-setup", a practical and working example of how a Yocto layer implementing a final product should be written: simple, stupid, hassle-free, understandable and maintainable.


While working as consultants on several customer Yocto/OpenEmbedded setups we have seen all sorts of problems caused by all sorts of complicated code in their layers. We have spent a lot of time in educating them to writing clean layers, which often involved fixing their problems by removing a lot of the code they had written.

simplest-yocto-setup is an example OpenEmbedded setup that implements a working layer, the way we think it should be.

It contains:
- machine configurations for widely available development boards
- an example distro
- recipes to build boot components (firmware, bootloader, kernel)
- recipes for some userspace applications
- an image recipe

The goal is to provide an example that Yocto/OpenEmbedded users can use as a starting point to write their own layers and live happy.

See also: Slides (1.6 MB)

Luca is an Embedded Linux engineer at Bootlin, working on kernel, device drivers, bootloaders and build system integration, and on upstreaming on all the above.
He is a teacher of the Yocto Project and OpenEmbedded development training and contributes to the Yocto Project SWAT Team.
Luca has been a speaker at ELCE and FOSDEM.