Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

1. Overview

This page describes how to build the Torizon OS for the STM32MP2-EV1 development board.

2. Deploying BSP

Perform the following steps:

  1. On the Linux host, set up a host system in a separate directory (/work/toradex/torizon in this example) using the Docker container provided by Toradex for the TorizonOS build:

    $ docker run --rm -it --name=crops6-minimal -v /work/toradex/torizon:/workdir --workdir=/workdir torizon/crops:kirkstone-6.x.y /bin/bash
  2. Set up the default git user and e-mail:

    $ git config --global user.email "you@example.com"
    $ git config --global user.name "Your Name"
  3. Initialise the TorizonOS BSP:

    $ repo init -u git://git.toradex.com/toradex-manifest.git -b kirkstone-6.x.y -m torizoncore/default.xml
  4. Sync the repositories:

    $ repo sync
  5. Download the ST32MP2 BSP layer:

    $ git -C layers clone -b mickledore https://github.com/STMicroelectronics/meta-st-stm32mp
  6. Download the ST32MP2 Torizon compatibility layer:

    $ git -C layers clone -b kirkstone git@github.com:EmcraftSystems/meta-torizon-st.git
  7. Replace the setup environment link and the Docker build link:

    $ ln -sf layers/meta-torizon-st/scripts/setup-environment setup-environment

3. Building BSP Images

Perform the following steps:

  1. In the same host system, set up the build environment:

    $ MACHINE=stm32mp25-eval DISTRO=torizon source setup-environment build-stm32mp25-eval
  2. Build the TorizonOS images:

    $ bitbake torizon-core-docker
  • No labels