DriveWorks SDK Reference
3.0.4260 Release
For Test and Development only

/dvs/git/dirty/gitlab-master_av/dw/sdk/doc/installation/dwx_installation_V5Q.md
Go to the documentation of this file.
1 # Copyright (c) 2018-2019 NVIDIA CORPORATION. All rights reserved.
2 
3 @page dwx_installation_V5Q Installation on NVIDIA DRIVE Platform (QNX)
4 
5 These instructions install NVIDIA<sup>&reg;</sup> DriveWorks on an
6 NVIDIA DRIVE platform on which NVIDIA DRIVE QNX is already installed.
7 
8 ### To install NVIDIA DriveWorks on a platform that has DRIVE QNX
9 
10 1. On the platform, format a power-safe filesystem
11 
12  $ mkqnx6fs /dev/vblk_mnand2
13 
14  @note After flashing the platform, this step is performed only once.
15 
16 2. On the platform, mount the filesystem that NVIDIA DriveWorks uses.
17 
18  $ mount /dev/vblk_mnand2 /mnt
19 
20  @note This step must be executed after every reboot.
21 
22 3. On the platform, export the following environment variables:
23 
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}
30 
31  @note When installing from the official archives, `/path/to/driveworks-M.m/` is `/mnt/usr/local/driveworks-M.m/`
32 
33 4. On the host Linux system (x86 machine), extract all packages:
34 
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
38 
39 5. Copy all NVIDIA DriveWorks files to the NVIDIA DRIVE platform.
40  On the host system, execute:
41 
42  $ scp -rp <driveworks_folder> root@ip_address:/mnt
43 
44  Where `<driveworks_folder>` is the folder into which the QNX archives have been decompressed.