Skip to content

Yocto — step-by-step lectures

Work through these in order. Each file teaches one engineering boundary and applies it to the same small observation-age checker. Reading and local exercises fit a study session; first image/SDK builds can take hours and should be scheduled separately.

Start with the runnable native package and supplied layer. Choose a native, metadata, or full-image route in Lecture 1, and keep the claims attached to the work you actually ran. The baseline is pinned Scarthgap 5.0.20; Lecture 2 compares it with the current Wrynose setup.

Hub: Yocto course guide

Lecture Topic
Lecture-01 How to use this course
Lecture-02 Module 0 — Prerequisites and host setup
Lecture-03 Module 1 — What Yocto is (and is not) (Lab 1 example)
Lecture-04 Module 2 — Architecture in one picture
Lecture-05 Module 3 — First successful build
Lecture-06 Module 4 — Recipes: the atoms of the system
Lecture-07 Module 5 — Layers: how metadata stays maintainable
Lecture-08 Module 6 — Images, packages, and features
Lecture-09 Module 7 — Kernel, bootloader, device tree
Lecture-10 Module 8 — SDK and application workflow
Lecture-11 Module 9 — Debugging builds like an engineer
Lecture-12 Module 10 — Licenses, compliance, supply-chain
Lecture-13 Module 11 — Performance, caching, and CI
Lecture-14 Capstone projects
Lecture-15 Glossary and quick reference
Lecture-16 Further reading

Reuse the same package across all sixteen sessions

L1–5 establish the environment and a pinned baseline; L6–8 package the observation-age checker in a product layer and image; L9 ties boot artifacts to hardware; L10 uses the matching SDK; L11 records an intentional failure and repair. L12–13 add manifests and rebuild evidence. The capstone in L14 supplies exact target acceptance cases and optional service/hardware/release extensions; L15–16 support retrieval and maintenance.

For every session retain the diff, command, output artifact, and target observation. A list of concepts or a successful BitBake exit alone cannot prove that the right package reached the target.

Carry forward: A continuous product-layer history ending in an image plus matching SDK. Continue with the next course and reuse that evidence.