
Use IMAGE_FEATURES and EXTRA_IMAGE_FEATURES Correctly
Learn when to set IMAGE_FEATURES in an image recipe and EXTRA_IMAGE_FEATURES in local.conf, which features exist on Yocto 5.0, and how to verify the result.
Everything you need to level up your coding skills.

Learn when to set IMAGE_FEATURES in an image recipe and EXTRA_IMAGE_FEATURES in local.conf, which features exist on Yocto 5.0, and how to verify the result.

Encode H.264 and HEVC on Intel and AMD GPUs in FFmpeg 7.1 with h264_vaapi and hevc_vaapi: device setup, hwupload, rate control and keeping frames on the GPU.

Add packages to a Yocto 5.0 image with IMAGE_INSTALL:append in local.conf or a custom image recipe, and avoid the += ordering trap that silently drops them.

A custom image is a recipe that inherits core-image, sets IMAGE_FEATURES and IMAGE_INSTALL, and names the output formats. Here is a complete my-image recipe.

Point DL_DIR and SSTATE_DIR at directories outside any build tree and every Yocto build on the machine reuses the same downloads and cached task output.

MACHINE picks the hardware, DISTRO picks the policy and the image recipe picks the contents. Here is how to choose and change each one.

local.conf holds your per-build settings and bblayers.conf lists the layers to parse. Here is what each variable does and the order BitBake reads them.

After bitbake core-image-minimal finishes, runqemu boots it in QEMU with no board. Here are the options for graphics, networking and getting out again.

Install the host packages on Ubuntu 24.04, clone Poky at Scarthgap, source oe-init-build-env and run bitbake core-image-minimal for your first image.

BitBake is the build engine, OpenEmbedded-Core holds the recipes, and Poky is the reference bundle that ties them together. Here is how the three fit.

How a device tree compatible list is written, why the most specific name comes first, and how the kernel scores matches. Covers fallback strings and modaliases.

Add an SPI peripheral to a device tree with reg as the chip select, spi-max-frequency and the mode flags, using an MCP3008 ADC as the worked example.
We send one email when a new post is published. No spam.