DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

Installation on NVIDIA DRIVE Platform (QNX)

These instructions install NVIDIA® DriveWorks on an NVIDIA DRIVE platform on which NVIDIA DRIVE QNX is already installed.

To install NVIDIA DriveWorks on a platform that has DRIVE QNX

  1. On the platform, format a power-safe filesystem

     $ mkqnx6fs /dev/vblk_mnand2
    
    Note
    After flashing the platform, this step is performed only once.
  2. On the platform, mount the file system that NVIDIA DriveWorks uses.

     $ mount  /dev/vblk_mnand2 /mnt
    
    Note
    This step must be executed after every reboot.
  3. On the platform, export the following environment variables:

     $ export BASE_LD_LIBRARY_PATH=/usr/libnvidia:/lib:/lib/dll:/usr/lib
     $ export PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin
     $ export GRAPHICS_ROOT=/usr/libnvidia/screen
     $ export CUDA=/usr/local/cuda/lib:/usr/local/cuda/lib/stubs
     $ export DRIVEWORKS=/mnt/usr/local/driveworks-<version>/targets/aarch64-QNX/lib
     $ export LD_LIBRARY_PATH=${CUDA}:${DRIVEWORKS}:${GRAPHICS_ROOT}:${BASE_LD_LIBRARY_PATH}
    
    Note
    When installing from the official archives, /path/to/driveworks-M.m/ is /mnt/usr/local/driveworks-M.m/
  4. On the host Linux system (x86 machine), extract all packages:
     $ tar xvf driveworks-<vsn_and_rel_info>-drive-qnx-<pdk-version>.tar.gz
     $ tar xvf driveworks_data-<vsn_and_rel_info>-drive-qnx-<pdk-version>.tar.gz
     $ tar xvf driveworks_samples-<vsn_and_rel_info>-drive-qnx-<pdk-version>.tar.gz
    
  5. Copy all NVIDIA DriveWorks files to the NVIDIA DRIVE platform. On the host system, execute:

     $ scp -rp <driveworks_folder> root@ip_address:/mnt
    

    Where <driveworks_folder> is the folder into which the QNX archives have been decompressed.