Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungNächste ÜberarbeitungBeide Seiten der Revision | ||
software:linux:toradex:toradex-build [2020-03-24 14:49] – graf | software:linux:toradex:toradex-build [2021-03-01 09:43] – Moritz Lammerich | ||
---|---|---|---|
Zeile 7: | Zeile 7: | ||
===== Setting up the build environment ===== | ===== Setting up the build environment ===== | ||
- | The build environment needs to be set up accorinsing to [[ https:// | + | The following was taken from [[ https:// |
+ | |||
+ | First, make sure that the '' | ||
+ | |||
+ | < | ||
+ | mkdir ~/bin | ||
+ | export PATH=~/ | ||
+ | curl http:// | ||
+ | chmod a+x ~/ | ||
+ | </ | ||
+ | |||
+ | Next, make sure '' | ||
+ | |||
+ | < | ||
+ | sudo apt install git | ||
+ | git config --global user.name "John Doe" | ||
+ | git config --global user.email johndoe@example.com | ||
+ | </ | ||
+ | |||
+ | Now fetch the toradex layers using '' | ||
+ | |||
+ | < | ||
+ | mkdir ${HOME}/ | ||
+ | cd ${HOME}/ | ||
+ | repo init -u https:// | ||
+ | repo sync | ||
+ | </ | ||
+ | |||
+ | Finally, source the setup script: | ||
+ | |||
+ | < | ||
+ | . export | ||
+ | </ | ||
==== Adding the NTB layers ==== | ==== Adding the NTB layers ==== | ||
Zeile 53: | Zeile 85: | ||
< | < | ||
- | bitbake ntb-prod-image | + | bitbake ntb-image |
</ | </ | ||
Development Image: | Development Image: | ||
+ | |||
+ | To create a development image, add the following to '' | ||
+ | |||
+ | < | ||
+ | NTB_DEVBUILD = " | ||
+ | </ | ||
+ | |||
+ | Then build the image: | ||
< | < | ||
- | bitbake ntb-dev-image | + | bitbake ntb-image |
</ | </ | ||