...
Use the Docker container provided by Toradex to setup the build environment in the work directory
~/yocto-workdir
prepared in previous steps:Code Block $ docker run --rm -it --name=crops6-minimal -v ~/yocto-workdir:/workdir --workdir=/workdir torizon/crops:kirkstone-6.x.y /bin/bash
In the Docker console set up the environment for a specific STM32MP board:
MACHINE=<MACHINE> source setup-environment [BUILDDIR]
, whereMACHINE
is one of the supported STM32MP targets:stm32mp25-eval
for the STM32MP2 Evaluation kitstm32mp25-disco
for the STM32MP2 Discovery kitstm32mp15-disco
for STM32MP157 Discovery kit,BUILDDIR
is the directory where you would like to to store the build files. For example:Code Block $$ MACHINE=stm32mp25-eval DISTRO=torizon source setup-environment build-stm32mp25-eval
Repeat the step of configuring the Git user name and email (this is only needed on the first build from scratch):
Code Block $$ git config --global user.email "you@example.com" $$ git config --global user.name "Your Name"
Build the Torizon OS images:
Code Block $$ bitbake torizon-core-docker
...