Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
software:linux:toradex:toradex-build [2021-02-02 15:08] – Moritz Lammerich | 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 according 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-image | ||
- | </ | ||
- | |||
- | Development Image: | ||
- | |||
- | To create a development image, add the following to '' | ||
- | |||
- | < | ||
- | NTB_DEVBUILD = " | ||
- | </ | ||
- | |||
- | Then build the image: | ||
- | |||
- | < | ||
- | bitbake ntb-image | ||
- | </ | ||