Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| software:linux:toradex:toradex-build [2020-03-18 11:39] – mlammerich | software:linux:toradex:toradex-build [Unbekanntes Datum] (aktuell) – gelöscht - Externe Bearbeitung (Unbekanntes Datum) 127.0.0.1 | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | ====== Building a New Image ====== | ||
| - | Images are built using [[ : | ||
| - | |||
| - | The build process is based on [[ https:// | ||
| - | |||
| - | ===== Setting up the build environment ===== | ||
| - | |||
| - | The build environment needs to be set up accorinsing to [[ https:// | ||
| - | |||
| - | ==== Adding the NTB layers ==== | ||
| - | |||
| - | The NTB specific recipes are maintained in the [[ software: | ||
| - | |||
| - | change into the '' | ||
| - | |||
| - | < | ||
| - | cd ../layers | ||
| - | </ | ||
| - | |||
| - | clone the [[ https:// | ||
| - | |||
| - | < | ||
| - | git clone https:// | ||
| - | </ | ||
| - | |||
| - | change back to the '' | ||
| - | |||
| - | < | ||
| - | cd ../build | ||
| - | nano conf/ | ||
| - | < | ||
| - | |||
| - | < | ||
| - | BBLAYERS ?= " \ | ||
| - | ... | ||
| - | ${TOPDIR}/ | ||
| - | ${TOPDIR}/ | ||
| - | " | ||
| - | </ | ||
| - | |||
| - | ==== local.conf ===== | ||
| - | |||
| - | Add the following to '' | ||
| - | |||
| - | < | ||
| - | MACHINE = " | ||
| - | </ | ||
| - | |||
| - | ==== build ==== | ||
| - | |||
| - | Production Image: | ||
| - | |||
| - | < | ||
| - | bitbake ntb-prod-image | ||
| - | </ | ||
| - | |||
| - | Development Image: | ||
| - | |||
| - | < | ||
| - | bitbake ntb-dev-image | ||
| - | </ | ||
| - | |||
| - | ===== Building the SDK ===== | ||
| - | |||
| - | To build the SDK for an image append '' | ||
| - | |||
| - | For example, to build the SDK for the NTB dev image '' | ||
| - | |||
| - | For more information check the [[ https:// | ||