DRIVE 5.0 Linux Open Source Software

Development Guide Release

File System Components (Target)
SSH support
Using apt-get
Installing dosfstools and ntfsprogs on Target
File System Source Code
NVIDIA DRIVE™ provides and supports the Ubuntu-based file system. This file system is suited for small to medium embedded target systems based on NVIDIA® Tegra® processors.
Ubuntu-Based File System
The Ubuntu-based file system is intended to be used for software development because it has immense flexibility to quickly add required 3rd party pre-built packages from Internet-based PPA servers. NVIDIA DRIVE Linux uses:
Ubuntu-core xenial, 16.04 (64-bit distribution)
This file system comes with a minimal set of packages that can optionally be installed after initial boot through the drive-setup.sh script. On boot, it automatically logs in as a root without prompting for a password on the console.
SSH support
The file systems support Secured Shell (SSH) logins.
Please use following username/password to login using SSH:
login: nvidia
password: nvidia
Using apt-get
The apt-get tool is the mechanism with which the Ubuntu systems keep track of software installations.
apt-get is a command line interface that enables:
Installing software packages from Ubuntu repositories on the local system or the Internet
Removing existing packages
Upgrading existing packages (or even the entire system)
Because package dependency information is included with the packages (i.e., B requires A, C conflicts with D), removals and upgrades can be checked to see if dependencies are broken, making the system safe and easy to use. The file system comes with the Ubuntu 16.04 (64-bit distribution) ARM Internet repository already set up, so you can use apt-get immediately to install Ubuntu software packages from the Internet.
apt-get keeps a local database of available packages from the repositories it knows about. The packages in the Internet repository are periodically updated with bug fixes, security patches, and other minor changes, and the local database will not contain these updates until it itself is updated.
Your target has Internet access.
For instructions on setting up target Internet access, see Enabling Internet Access on the Target.
To update the local database
Enter the following command:
$ sudo apt-get update
Packages can then be installed with the apt-get install command.
To install packages
$ sudo apt-get install <package> <package>
Where <package> is the name of the package to install, such as foo and bar in the following command:
$ sudo apt-get install foo bar
The command line is sufficient even if foo and bar depend on other packages that are not yet installed. apt-get determines what dependencies are missing and offers to install them. If dependency conflicts prevent the installation of either package, apt-get reports the conflicts and refuses to do anything.
To remove packages
$ sudo apt-get remove <package> <package>
Where <package> is the name of the package to remove. For example, the following command line removes the bar and baz packages:
$ sudo apt-get remove bar baz
If other packages require a package to remain installed, then apt-get also offers to remove the other packages. To prevent accidental removal of needed packages, verify the full list of packages to be removed.
For additional information, see apt-get in Chapter 3. Package Management” of the Ubuntu Server Guide at:
https://help.ubuntu.com/16.04 (64-bit distribution)/serverguide/serverguide.pdf
Installing dosfstools and ntfsprogs on Target
The dosfstools and ntfsprogs utilities enable creating and managing FAT and NTFS based partitions on a file system from the target. These utilities must be installed from apt-get.
To install dosfstools and ntfsprogs on the target
Enter this command:
$ sudo apt-get install -y dosfstools ntfs-3g
File System Source Code
The Ubuntu-repository provides the binaries and source code of all the packages installed in the Ubuntu-based file system, depending on your NVIDIA DRIVE™ release.
The oss-src-run file installs under the following directory.
For information on the Ubuntu-based file system, search for Ubuntu t186ref binaries on Ubuntu xenial for armhf at:
The file system can be built from scratch by using the Ubuntu Core at: