These instructions install NVIDIA® DriveWorks on an NVIDIA DRIVE platform on which NVIDIA DRIVE QNX is already installed.
On the platform, format a power-safe filesystem
$ mkqnx6fs /dev/vblk_mnand2
On the platform, mount the filesystem that NVIDIA DriveWorks uses.
$ mount /dev/vblk_mnand2 /mnt
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}
/path/to/driveworks-M.m/
is /mnt/usr/local/driveworks-M.m/
$ tar xvf driveworks--drive-qnx-<pdk-version>.tar.gz $ tar xvf driveworks_samples--drive-qnx-<pdk-version>.tar.gz $ tar xvf driveworks_data--drive-qnx-<pdk-version>.tar.gz
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.