DRIVE OS Linux PDK Debian Packages

Use the procedures in this chapter to install the NVIDIA DRIVE OS Linux PDK using the Local Repo Debian packages.

First, download the Local Repo using the instructions in NVONLINE Download.

  1. To install the local repo Debian packages, use dpkg.

    sudo dpkg -i ./nv-driveos-repo-pdk-linux-[RELEASE]-[GCID]_amd64.deb
  2. Run apt update to refresh the APT cache:

    sudo apt update
    echo $?
    CAUTION: Proceeding with a non-ZERO value can result in installation errors.
  3. Install top-level DRIVE OS PDK Debian packages:

    export NV_WORKSPACE=/path/where/PDK/needs/to/be/installed

    If using PDK Local Repo Debian packages:

    sudo -E apt -f -y install nv-driveos-build-pdk-linux-[RELEASE]-[GCID]
    2>&1 | tee nv-driveos-build-pdk-linux-[RELEASE]-[GCID]_install.log
  4. To install the optional Integration Test kit Debian package, first download the respective package to a local directory and make sure NV_WORKSPACE still points to current PDK installation folder. Next, run the following:

    sudo -E apt -f -y install ./nv-driveos-linux-integration-testkit-pdk-[RELEASE]-[GCID]_amd64.deb
Note: Packages will be installed in the path specified by NV_WORKSPACE.   

After a successful installation of nv-driveos-build-pdk-linux-[RELEASE]-[GCID], the PDK install directory structure will be as following:

$NV_WORKSPACE directory structure Sub-directories

drive-foundation

firmware make platform-config qnx-bsp schemas security tools  
version-nv-pdk.txt version-nv-sdk.txt virtualization

drive-linux

filesystem firmware include kernel lib-target make oss samples tools

drive-linux_src

3rdparty_dtc_src.tgz e2fsprogs-1.41.11.tar.gz jq-1.5.tar.gz kernel linuxptp.tgz NVIDIA-kernel-module-source-TempVersion.tar.xz wayland yocto

toolchains

aarch64--glibc--stable-2022.03-1 armv5-eabi--glibc--stable-2020.08-1 armv7-eabihf--glibc--stable-2020.08-1

After exporting NV_WORKSPACE, the following commands should be run:

sudo apt update
sudo apt upgrade

P3898-Specific Package Installation

If you are using a P3898 platform (see DRIVE Platform Supported Boards for more information), install the below platform-specific package for DRIVE OS Linux:

sudo -E apt install ./nv-driveos-linux-p3898-specific

If there are any issues with the installation, remove old packages and reinstall with teh following commands:

sudo -E apt-get -y --purge remove "nv-driveos-linux-p3898-specific*"
sudo apt-get -y autoremove