1 # Copyright (c) 2018-2019 NVIDIA CORPORATION. All rights reserved.
3 @page dwx_installation_V5Q Installation on NVIDIA DRIVE Platform (QNX)
5 These instructions install NVIDIA<sup>®</sup> DriveWorks on an
6 NVIDIA DRIVE platform on which NVIDIA DRIVE QNX is already installed.
8 ### To install NVIDIA DriveWorks on a platform that has DRIVE QNX
10 1. On the platform, format a power-safe filesystem
12 $ mkqnx6fs /dev/vblk_mnand2
14 @note After flashing the platform, this step is performed only once.
16 2. On the platform, mount the filesystem that NVIDIA DriveWorks uses.
18 $ mount /dev/vblk_mnand2 /mnt
20 @note This step must be executed after every reboot.
22 3. On the platform, export the following environment variables:
24 $ export BASE_LD_LIBRARY_PATH=/usr/libnvidia:/lib:/lib/dll:/usr/lib
25 $ export PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin
26 $ export GRAPHICS_ROOT=/usr/libnvidia/screen
27 $ export CUDA=/usr/local/cuda/lib:/usr/local/cuda/lib/stubs
28 $ export DRIVEWORKS=/mnt/usr/local/driveworks-<version>/targets/aarch64-QNX/lib
29 $ export LD_LIBRARY_PATH=${CUDA}:${DRIVEWORKS}:${GRAPHICS_ROOT}:${BASE_LD_LIBRARY_PATH}
31 @note When installing from the official archives, `/path/to/driveworks-M.m/` is `/mnt/usr/local/driveworks-M.m/`
33 4. On the host Linux system (x86 machine), extract all packages:
35 $ tar xvf driveworks--drive-qnx-<pdk-version>.tar.gz
36 $ tar xvf driveworks_samples--drive-qnx-<pdk-version>.tar.gz
37 $ tar xvf driveworks_data--drive-qnx-<pdk-version>.tar.gz
39 5. Copy all NVIDIA DriveWorks files to the NVIDIA DRIVE platform.
40 On the host system, execute:
42 $ scp -rp <driveworks_folder> root@ip_address:/mnt
44 Where `<driveworks_folder>` is the folder into which the QNX archives have been decompressed.