“Introduction to Layers, Images and more”
summary
Step-by-step recipe for a usable Yocto build starts with fetching Poky (example release Poky Dunfell 3.1.3), untarring or git checkout, then sourcing oe-init-build-env to create a build dir, editing local.conf to set MACHINE plus DL_DIR and SSTATE_DIR, and running bitbake -k core-image-minimal which may take under an hour on fast machines or several hours first time while toolchains build. Use bitbake-layers add-layer and layer.conf priorities to add meta, meta-poky and meta-yocto-bsp, then run runqemu to boot the image. Shared downloads can be tens of GBs (example ~65 GB).
AI-written summary · about
chapters (9)
- 0:00Introduction to Yocto builds
- 3:07Setting up Poky and build environment
- 10:31Build directory and configuration
- 23:48Customizing and building images
- 30:52Understanding layers concept
- 40:12Layer cake and BSP layers
- 55:51Do not modify Poky source tree
- 1:07:20BitBake layers tool overview
- 1:13:41Q&A and break
