Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
stylenone

Instructions to Deploy BSP

Perform the following steps:

  1. Setup HOST system in a separate directory (/work/toradex/torizon in this example) using the docker container provided by Toradex for TorizonOS build:

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

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

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

    Code Block
    $ repo sync
  5. Download ST32MP2 BSP layer:

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

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

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

Instructions to Build BSP Images

Perform the following steps:

  1. Setup the build environment:

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

    Code Block
    $ bitbake torizon-core-docker