Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
Letzte ÜberarbeitungBeide Seiten der Revision
software:linux:toradex:toradex-build [2020-03-18 14:12] mlammerichsoftware:linux:toradex:toradex-build [2021-03-03 11:46] Moritz Lammerich
Zeile 1: Zeile 1:
-====== Building a New Image ====== +This page has been moved to [[ ..:yocto:yocto-toradex here ]]
- +
-Images are built using [[ :software/linux/yocto/start | the yocto project]]. +
- +
-The build process is based on [[ https://developer.toradex.com/knowledge-base/board-support-package/openembedded-%28core%29#update-to-a-specific-version-by-using-its-tag | this toradex guide ]]. +
- +
-===== Setting up the build environment ===== +
- +
-The build environment needs to be set up accorinsing to [[ https://developer.toradex.com/knowledge-base/board-support-package/openembedded-%28core%29#update-to-a-specific-version-by-using-its-tag | the toradex guide ]]. +
- +
-==== Adding the NTB layers ==== +
- +
-The NTB specific recipes are maintained in the [[ software:linux:yocto:meta-ntb meta-ntb]] layer. +
- +
-change into the ''layers'' directory: +
- +
-<code> +
-cd ../layers +
-</code> +
- +
-clone the [[ https://github.com/zechenturm/meta-ntb | meta-ntb ]] repository: +
- +
-<code> +
-git clone https://github.com/zechenturm/meta-ntb +
-</code> +
- +
-change back to the ''build'' directory and add the layers to ''conf/bblayers.conf'': +
- +
-<code> +
-cd ../build +
-nano conf/bblayers.conf +
-<code> +
- +
-<code> +
-BBLAYERS ?= " \ +
-... +
-${TOPDIR}/../layers/meta-ntb/meta-ntb \ +
-${TOPDIR}/../layers/meta-ntb/meta-ntb-toradex \ +
-+
-</code> +
- +
-==== local.conf ===== +
- +
-Add the following to ''conf/local.conf'' +
- +
-<code> +
-MACHINE = "cb20" +
-</code> +
- +
-==== build ==== +
- +
-Production Image: +
- +
-<code> +
-bitbake ntb-prod-image +
-</code> +
- +
-Development Image: +
- +
-<code> +
-bitbake ntb-dev-image +
-</code> +