One Yocto Distro, Many Boards, Few Engineers
summary
A six‑person team maintains a single distro meta that builds for 80+ boards and about 150 Yocto machine configs by splitting common recipes and adding per‑Yocto shims and per‑vendor integration layers. The repo layout uses meta-balena-common for newest recipes, per‑release shims like meta-balena-kirkstone (and warrior/scarthgap converters), vendor glue repos, CI scripts and a berries build wrapper plus Richard Purdie’s revert script; this layout runs in production for a decade and keeps upgrades manageable.
AI-written summary · about
chapters (21)
- 0:00Introduction to Balena and Yocto
- 1:49What Balena does with Yocto
- 2:34Challenges scaling Yocto distros
- 5:04Failed attempt with single layer
- 7:29Solution: Integration layers
- 9:12Vendor dependency issues
- 12:02Client case study with BSP upgrades
- 14:52Hard dependencies to Yocto versions
- 15:56Balena's production-proven solution
- 17:19Balena's distro architecture
- 18:23Scaling to 60 vendors and 150 machines
- 20:50Meta-balena structure explained
- 21:55Supporting multiple Yocto versions
- 24:06Warrior to Kirkstone adaptation
- 26:36Inversion of dependency trick
- 26:58Vendor-specific glue layer details
- 28:47Harmonizing kernel support
- 30:11Custom processes and future plans
- 31:35Intermediate kernel for bootloader role
- 33:00Applying the solution to examples
- 34:45References and credits
