NVIDIA Tegra
NVIDIA DRIVE OS 5.1 Linux

Developer Guide
5.1.0.2 Release


 
Manifest
 
Foundation
Linux SDK
Foundation
 
NVIDIA DRIVE Foundation Directory
Toolchains Directory
After installation of foundation, these directories are created:
NVIDIA DRIVE™ Foundation:
<top>/drive‑t186ref‑foundation
The toolchains:
<top>/toolchains
NVIDIA DRIVE Foundation Directory
The drive-t186ref-foundation directory components are as follows.
Directory
Description
firmwares/
Holds the firmware.
hypervisor/
Holds the hypervisor configurations.
platform-config/
Holds files that support platform configuration.
schemas/
Holds the schema events.
tegra194-a02-bpmp-e3550-0001-b01-A.dtb
Holds the board specific DTB file.
tools/
Holds the DRIVE OTA, EMC and host tools.
utils/
Hold the utility scripts.
virtualization/
Holds the build-configs, hypervisor, pct, services, tools, virt and vm-server directories that support virtualization.
Toolchains Directory
The toolchains directory contains the following components:
Directory
Components
Where to use the toolchain
aarch64-linux-android-4.8
GCC - 4.8
Binutils - 2.24
Library - None
Origin - Android code
Building 64 bit Trusted OS
arm-eabi-4.8
GCC -4.8
Binutils - 2.23.2
Library - None
Origin - Android code
Building 32 bit modules for trusted OS
tegra-4.8.5-nv-softp-ads
GCC - 4.8.5
Binutils - 2.23.2
Library - eglibc-2.18
Origin - Yocto 1.8
For ADSP firmware and ADSP plugins compilation
tegra-4.9-nv
GCC - 4.9.4
Binutils - 2.24
Library - glibc-2.21
Origin - Yocto 1.8
Binding a guest PCT to the hypervisor, building 64-bit Quickboot, and building user-space components
arm-none-eabi-4_8-2014q3-20140805
GCC - 4.8.4 20140725
Binutils - 2.23.2.20140731
Library - Newlib 2.1.0 with mainline backports
Origin - Linaro
Building 32 bit ARM code for SPE and SCE. This is also used to set CROSS32CC for building flashing Kernel.
For instructions for rebuilding the GCC toolchain see How-to-build-toolchain.pdf available in the SDK at
<top>/drive-t186ref-foundation_src/linaro/
or at the following website:
https://launchpad.net/gcc-arm-embedded/4.8/4.8-2014-q3-update
Linux SDK
 
NVIDIA DRIVE Directory
CUDA Directory
After installation, these directories are created:
The NVIDIA DRIVE™ directory, ./drive‑t186ref‑linux
The CUDA directory, ./ drive-t186ref-cuda
The toolchains directory, ./toolchains
The foundation directory, ./drive-t186ref‑foundation
The hardware-specific directory, ./hardware (PDK only)
This topic describes the contents of the NVIDIA DRIVE™ directory and the CUDA directory. The toolchains directory and the foundation directory are part of NVIDIA DRIVE™ Foundation 5.1 SDK, and are described in the NVIDIA DRIVE™ Foundation SDK Development Guide.
For information on installing, see Installing the SDK on Linux.
NVIDIA DRIVE Directory
The drive-t186ref-linux directory contains the main components. The following table lists these components.
Unless otherwise stated, components apply to both SDK and PDK releases.
Directory
Description
bin-target/
Holds a tool for modifying the xorg.conf file.
bootloader/
Update_sample tool
data/
Holds the configuration directory which includes:
Configuration file for disabling the screensaver.
xorg.conf file.
docs/
Holds the documentation package (if installed).
include/
Holds NVIDIA and open-source header files including:
EGL
OpenGL
OpenGL ES2
OpenGL ES3
NVIDIA CUDA®
NvMedia
KD
KHR
MTD
Wayland
kernel/
Holds kernel DTBs and modules.
kernel-rt_patches
Supporting files for kernel with PREEMPT_RT kernel patch applied.
lib-target/
Holds the target side libraries including:
AVP
Broadcom (Not available in all releases.)
Convenience libraries
make/
Holds the Makefile for building samples.
modules/
Holds the Linux kernel modules, daemons, and setup scripts.
Applies to: NVIDIA DRIVE™ PDK only:
oss/
Only PDK customers receive this OpenSource Source folder.
samples/
Holds the Sample programs.
targetfs/
Holds the Root file system that the target mounts using NFS.
targetfs-pkgs/
Holds the Root file system tar without NVIDIA-specific libraries.
utils/
Holds the Shader compiler, utility scripts, the Bootburn script, and the flash-burning tool.
vulkan_icd/
Khronos official ICD loader and validation layers for Vulkan developers.
CUDA Directory
The following table lists the components of the drive-t186ref-cuda directory.
Folder
Description
target/
Contains the target CUDA Debian installer package for installing on the target.