Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Nächste Überarbeitung | Vorhergehende ÜberarbeitungLetzte ÜberarbeitungBeide Seiten der Revision | ||
software:linux:yocto:yocto-toradex [2021-03-03 11:43] – angelegt Moritz Lammerich | software:linux:yocto:yocto-toradex [2022-05-24 16:38] – Moritz Lammerich | ||
---|---|---|---|
Zeile 31: | Zeile 31: | ||
mkdir ${HOME}/ | mkdir ${HOME}/ | ||
cd ${HOME}/ | cd ${HOME}/ | ||
- | repo init -u https:// | + | repo init -u https:// |
repo sync | repo sync | ||
</ | </ | ||
Zeile 41: | Zeile 41: | ||
</ | </ | ||
- | ==== Adding the NTB layers ==== | + | ==== Adding the OST layers ==== |
- | The NTB specific recipes are maintained in the [[ software: | + | The OST specific recipes are maintained in the [[ software: |
change into the '' | change into the '' | ||
Zeile 51: | Zeile 51: | ||
</ | </ | ||
- | clone the [[ https://github.com/zechenturm/meta-ntb | meta-ntb ]] repository: | + | clone the [[ https://gitlab.ost.ch/tech/ |
< | < | ||
- | git clone https://github.com/zechenturm/meta-ntb | + | git clone https://gitlab.ost.ch/ |
</ | </ | ||
Zeile 67: | Zeile 67: | ||
BBLAYERS ?= " \ | BBLAYERS ?= " \ | ||
... | ... | ||
- | ${TOPDIR}/ | + | ${TOPDIR}/ |
- | ${TOPDIR}/ | + | ${TOPDIR}/ |
" | " | ||
</ | </ | ||
Zeile 78: | Zeile 78: | ||
< | < | ||
MACHINE = " | MACHINE = " | ||
+ | DISTRO = " | ||
</ | </ | ||
==== build ==== | ==== build ==== | ||
- | |||
- | Production Image: | ||
- | |||
- | < | ||
- | bitbake ntb-image | ||
- | </ | ||
- | |||
- | Development Image: | ||
- | |||
- | To create a development image, add the following to '' | ||
- | |||
- | < | ||
- | NTB_DEVBUILD = " | ||
- | </ | ||
Then build the image: | Then build the image: | ||
< | < | ||
- | bitbake | + | bitbake |
</ | </ | ||