...
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 setup the environment for the certain STM32MP board:
MACHINE=<MACHINE> source setup-environment [BUILDDIR]
. WhereMACHINE
is one of the supported STM32MP targets:stm32mp25-eval
for the STM32MP2 Evaluation kit,stm32mp25-eval
for the STM32MP2 Discovery kit orstm32mp25-eval
for STM32MP1 Discovery kit,BUILDDIR
in the directory where to store the build files. For example:Code Block $$ MACHINE=stm32mp25-eval DISTRO=torizon source setup-environment build-stm32mp25-eval
Build the TorizonOS images:
Code Block $$ bitbake torizon-core-docker
...