Yocto BSP with STM32MP
summary
Step‑by‑step BSP recipe for STM32MP2 that shows which repos to fork and patch, the exact machine file name stm32mp2.conf, and how BitBake picks up mcpu and tune flags. Demonstrates building TF‑A, OP‑TEE and U‑Boot, assembling them into a FIP with a provided script (FIP contains TF‑A OP‑TEE U‑Boot), and producing boot/root partitions plus an auto generated flash layout for STM32CubeProgrammer. Uses meta-st-stm32mp and meta-st-stm32mp-addons, external DT from CubeMX, and promises a successful bitbake core-image-minimal that is flashable.
AI-written summary · about
chapters (13)
- 0:00Introduction to Yocto BSP
- 1:54Trusted boot process explained
- 5:27Forking open source projects
- 7:12Machine configuration basics
- 10:46BSP layer recipes setup
- 12:11Creating FIP binary
- 14:43Partitioning and flashing
- 19:46Programmer variant for flashing
- 21:56STM32CubeMX device trees
- 26:18Device tree variable chain
- 30:40Simplified Yocto setup
- 33:31ST official layers overview
- 35:15Q&A session
