
Discover how Yocto enables incremental builds through the shared state cache. Learn how checksums trigger task rebuilds and how unchanged inputs reuse cached artifacts.
Learn how a state cache drastically speeds Yocto builds by reusing artifacts and validating checksums, turning hours-long builds into minutes for minimal and graphics-rich images.
Explore how the shared state cache in bitbake accelerates builds by using checksums and set-in to decide task reruns, including experiments with an external state cache and rebuild timing.
Learn how checksums create a unique signature for a task from the script, inputs, and dependencies on a per task basis to minimize rebuilds.
Bitbake uses checksums and scene data to determine if a task must run, storing signatures in the stamps directory and creating stamp files for each completed task.
Generate and compare signature data with bitbake, then use diff seek to see what changed between tasks. Identify changes in configure, fetch, and compile, including MD5 sums and dependencies.
Explain how preferred provider selects a recipe when multiple providers exist, using virtual kernel and machine configurations, and show overriding with local.conf to pick a specific provider.
Use compatible_machine to restrict a recipe to specific machines, such as chemo x86 or x86_64, so builds run only on supported targets and skip incompatible architectures.
Compare using the Linux Yocto kernel with a fully custom kernel recipe in Yocto, and learn to set the preferred provider and version in machine files.
Write a kernel recipe that pulls the mainline kernel from a git repository, uses the latest revision, and builds an image to verify it matches the tarball.
learn how package groups in Yocto reduce duplication by grouping output packages from recipes into one package, adding the group to your image, how to create a package group.
Explore hard runtime dependencies, rdepends, versus soft runtime dependencies, rrecommends, in Yocto. Build success relies on rdepends; rrecommends extend functionality but are not required for building.
Demonstrate creating multiple package groups in a single recipe, list them with the packages variable, define runtime dependencies with depends and requirements, and add each group to the image install.
Learn the below concepts by enrolling in this course
What is clean build
What is incremental build
Example of clean and incremental build
Shared State Cache (sstate-cache)
Build performance with and without sstate-cache
Tasks in Yocto
What's the benefit of per-task over per-recipe approach
How does shared state cache works (checksum/signatures and setscene)
Commands: bitbake-dumpsig, bitbake-diffsigs
SSTATE_DIR variable
Bitbake Clean tasks: clean, cleanall, cleansstate
What happens when you say bitbake target
PROVIDES list and what's the benefit of PROVIDES list
Bitbake namespaces: recipe names (build time targets) and package names (run time targets)
RPROVIDES , virtual targets and PREFERRED_PROVIDER
How to select a recipe when multiple recipe of same name and different version exists
Yocto Linux Kernel Development (kernel source, configuration, patches)
Linux Kernel Recipes in Yocto (PREFERRED_PROVIDER/PREFERRED_VERSION)
Creating a new kernel recipe in Yocto
Kernel customizations (changing kernel configuration - savedefconfig)
Kernel recipe with source code on git repository
Patching the Linux Kernel
Yocto Linux Kernel Recipes
Modifying an existing kernel recipe (configuration fragments, patch, diffconfig, LINUX_VERSION_EXTENSION)
Using an in-tree defconfig file (KBUILD_DEFCONFIG_KMACHINE)
Difference between general kernel and yocto kernel repository
What is Package group
Difference between package group recipes and normal recipes
Writing a package group recipe (RDEPENDS, RRECOMMENDS, BAD_RECOMMENDATIONS, NO_RECCOMENDS, PACKAGE_EXCLUDE)
Recipes for out of tree modules (module.bbclass)
Automatically load modules on boot
This course comes with a 30 day money back guaranteed!. If you are not satisfied with the course, you'll get your money back
So what are you waiting for, enroll now and take the next step in increasing your Yocto Knowledge