meta-st-stm32mp and Me: A Journey from Buildroot to Yocto
summary
A Buildroot project for a custom STM32MP board becomes a Yocto Project BSP by extracting defconfigs, applied patches and DTS files, creating bbappend recipes, and proving an image can boot to a shell. Device trees come from ST’s CubeMX but require CubeMX version pinning to match TF‑A/U‑Boot/kernel and manual DTB edits; bitbake needs a binman fix to produce FIP. Flashing with STM32CubeProgrammer is slow so use bitbake + STM programmer alternatives (wic/bmap or exposing eMMC) and then migrate into meta-st-stm32mp add-ons for maintainable LTS support.
AI-written summary · about
chapters (10)
- 0:00Introduction and speaker background
- 3:10Client readiness for migration
- 4:13Defining project goals and deliverables
- 8:04Migrating configs and patches from Buildroot
- 10:37Integrating applications into Yocto
- 13:51Moving to supported BSP layers
- 17:30Custom board integration with STM32MP
- 21:03Using STM32CubeMX for device trees
- 27:12Final thoughts and benefits of migration
- 28:13Q&A and closing remarks
