Yocto Support for NVIDIA® Jetson™ with JetPack 7 Integration - Adding NVIDIA Packages
| Yocto Support for NVIDIA®Jetson™ with JetPack 7 Integration |
|---|
| Setting up Yocto |
| Flashing Jetson Platform |
| Accessing the Board |
| Adding NVIDIA Packages |
| DeepStream |
| Additional Topics |
| FAQ |
| Contact Us |
CUDA
1. Add the meta tegra layer to bblayers.conf if you have not already done so.
- Run below commands at the terminal
cd $YOCTO_DIR/build bitbake-layers add-layer ../meta-tegra
2. Add cuda samples package
All the available cuda recipes can be verified with this command:
bitbake-layers show-recipes "*cuda*"
This package will install all the needed dependencies in the yocto image. Add the following line in: $YOCTO_DIR/build/conf/local.conf
IMAGE_INSTALL:append = " cuda-samples"
3. Add compilation tools
Include the extra compilation tools, such as gcc in the yocto image. Add the following line in: $YOCTO_DIR/build/conf/local.conf
EXTRA_IMAGE_FEATURES += " tools-sdk"
cuDNN
1. Add cuDNN package.
This package will install all the needed dependencies in the Yocto image.
- Add the following line in: $YOCTO_DIR/build/conf/local.conf
IMAGE_INSTALL:append = " cudnn-samples"
TensorRT
1. Add TensoRT package
This package will install all the needed dependencies in the Yocto image.
- Add the following line in: $YOCTO_DIR/build/conf/local.conf
IMAGE_INSTALL:append = " tensorrt-samples"
NVIDIA GStreamer Plugins
1. Add nvvideo4linux2 package
This package will install all the needed dependencies in the Yocto image.
- Add the following line in: $YOCTO_DIR/build/conf/local.conf
IMAGE_INSTALL:append = " gstreamer1.0-plugins-tegra"
Jetson Multimedia API
1. Add the Tegra Multimedia API package
This package will install all the needed dependencies in the Yocto image.
- Add the following line in: $YOCTO_DIR/build/conf/local.conf
IMAGE_INSTALL:append = " tegra-mmapi tegra-mmapi-dev"