To build NVIDIA DriveWorks with tegra-drive-os-av-image#

Note

Before building NVIDIA DriveWorks with Yocto, you must install and enable CUDA, CuDNN, and TensorRT. For the supported NVIDIA DriveWorks version, see the product Release Notes.

Example to extract the DriveWorks-version:

$ nvidia@7.0.2.0-0001-linux-nsr:/drive# cat /drive/extra/packages.txt | grep driveworks
driveworks-base-cross-linux-nsr-aarch64-7.0.3.0-402605100.tar.gz

The DriveWorks-version is 7.0.

  1. Export the following toolkit variables:

    export DW_ENABLE=<DriveWorks-version>
    export CUDA_ENABLE=<CUDA_VER> # pre-requisite
    export CUDNN_ENABLE=<CUDNN_VER> # pre-requisite
    export TENSORRT_ENABLE=<TENSORRT_VER> # pre-requisite
    
  1. Build or rebuild the image:

    bitbake tegra-drive-os-av-image