Dies ist eine alte Version des Dokuments!


Building a New Image

Images are built using the yocto project.

The build process is based on this toradex guide .

Setting up the build environment

The build environment needs to be set up according to the toradex guide .

Adding the NTB layers

The NTB specific recipes are maintained in the meta-ntb layer.

change into the layers directory:

cd ../layers

clone the meta-ntb repository:

git clone https://github.com/zechenturm/meta-ntb

change back to the build directory and add the layers to conf/bblayers.conf:

cd ../build
nano conf/bblayers.conf
BBLAYERS ?= " \
...
${TOPDIR}/../layers/meta-ntb/meta-ntb \
${TOPDIR}/../layers/meta-ntb/meta-ntb-toradex \
"

local.conf

Add the following to conf/local.conf

MACHINE = "cb20"

build

Production Image:

bitbake ntb-prod-image

Development Image:

bitbake ntb-dev-image