,
Table of Contents | ||
---|---|---|
|
1. Overview
This page describes how to build the Torizon OS for the STM32MPx development boards, including:
...
meta-st-stm32mp
- BSP Layer for the STM32MP targets developed by STMicroelectonics for the OpenSTLinux project: https://wiki.st.com/stm32mpu/wiki/Category:Yocto-based_OpenSTLinux_embedded_softwaremeta-emcraft-torizon-st
- adaptation of the STM32MP BSP for Torizon OS developed by Emcraft.
...
Set up the default
git
user and e-mail:Code Block $ git config --global user.email "you@example.com" $ git config --global user.name "Your Name"
Install the
repo
utility to the development host:Code Block $ mkdir ~/bin $ PATH=~/bin:$PATH $ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo $ chmod a+x ~/bin/repo
Create a working directory for the Yocto build, go into that directory:
Code Block $ cd ~ $ mkdir ~/yocto-workdir $ cd ~/yocto-workdir
Initialize the Torizon OS reposiotiy:
Code Block $ repo init -u git://git.toradex.com/toradex-manifest.git -b kirkstone-6.x.y -m torizoncore/default.xml
Sync the repositories:
Code Block $ repo sync
Download the ST32MP BSP layer:
Code Block $ git -C layers clone -b mickledore https://github.com/STMicroelectronics/meta-st-stm32mp
Download the ST32MP Torizon compatibility layer:
Code Block $ git -C layers clone -b kirkstone git@github.com:EmcraftSystems/meta-emcraft-torizon-st.git
Replace the setup environment link and the Docker build link:
Code Block $ ln -sf layers/meta-emcraft-torizon-st/scripts/setup-environment setup-environment
...