Dies ist eine alte Version des Dokuments!
Images are built using the yocto project.
The build process is based on this toradex guide .
The following was taken from the toradex guide .
First, make sure that the repo tool is available:
mkdir ~/bin export PATH=~/bin:$PATH curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo chmod a+x ~/bin/repo
Next, make sure git is installed and configured:
sudo apt install git git config --global user.name "John Doe" git config --global user.email johndoe@example.com
Now fetch the toradex layers using repo:
mkdir ${HOME}/oe-core
cd ${HOME}/oe-core
repo init -u https://git.toradex.com/toradex-manifest.git -b refs/tags/5.4.0 -m tdxref/default.xml
repo sync
Finally, source the setup script:
. export
The OST specific recipes are maintained in the meta-ost layer.
change into the layers directory:
cd ../layers
clone the meta-ost repository :
git clone https://gitlab.ost.ch/tech/inf/public/meta-ost
change back to the build directory and add the layers to conf/bblayers.conf:
cd ../build nano conf/bblayers.conf
BBLAYERS ?= " \
...
${TOPDIR}/../layers/meta-ost/meta-ost \
${TOPDIR}/../layers/meta-ost/meta-ost-toradex \
"
Add the following to conf/local.conf
MACHINE = "cb20" DISTRO = "ost-devel"
Then build the image:
bitbake ost-image