Installing Foundation
Follow the procedures below to install the Foundation release, the GNU toolchain, and the OSS source code package. After following these procedures, you will be able to recompile the root file system before flashing the kernel image for
Bootburn.
Note: | DriveInstall installs on your host system and flashes your target platform. If your product includes DriveInstall and you have executed it, then you can skip this topic. |
Obtaining the Foundation 7Z Files
You can download the Foundation 7Z files from the
NVIDIA DRIVE Platform section of the
NVIDIA Developer web site.
Prerequisites
• You have credentials that allow you to download files from the NVIDIA Developer web site.
To obtain the Foundation 7Z files
• Download the Foundation 7Z files from the NVIDIA Developer web site.
Download the files:
drive-t186ref-foundation-5.0.10.3-<
build>.7z.001
drive-t186ref-foundation-5.0.10.3-<build>.7z.002
Installing Foundation on the Host
Prerequisites
• Host system with Ubuntu 14.04 or 16.04 (amd64 distribution)
After the Ubuntu host machine is set up, you must install the following packages:
sudo apt-get install p7zip-full
sudo apt-get install dpkg-dev
• Installation files:
drive-t186ref-foundation-5.0.10.3-<
build>.7z.001
drive-t186ref-foundation-5.0.10.3-<build>.7z.002
...
drive-t186ref-foundation-5.0.10.3-<build>.7z.<count>
Where <count> is the number of 7-Zip volume files.
For more information, see the Release Notes.
To install on the Host
1. Make a directory on the host and copy the Foundation 7-Zip volume files to it.
mkdir ~/myDRIVEInstallation
cp drive-t186ref-foundation-5.0.10.3-<
build>.7z* ~/myDRIVEInstallation
Note: | To avoid Bootburn errors, do not use special characters in directory names. Such special characters include the plus sign (+) and pound sign (#). |
2. Extract the contents of the 7-zip volume files:
cd ~/myDRIVEInstallation
7z e drive-t186ref-foundation-5.0.10.3-<build>.<sdk|pdk>.7z.001
3. Run the following self-extracting .run file and answer any prompts with “yes”:
bash drive-t186ref-foundation-5.0.10.3-<
build>-toolchain.run
(EULA scroll) Do you accept the terms of the license? yes (enter)
4. Run the following self-extracting .run file and respond to the prompts as described in the following table. It is important to use the bash command rather than the “./” convention.
bash drive-t186ref-foundation-5.0.10.3-<
build>-release-<sdk|pdk>.run
Prompt | Response |
--More-- prompts in the Legal notice | Enter any character to see the next page of the notice. Enter q to bypass the remaining notice and go directly to the agreement prompt (next). |
“Do you accept the terms of this license?” | Enter “yes”. Entering any other response prevents you from installing the SDK. |
To the prompts to install missing packages | Enter “y”. |
To the prompts to configure nfs-kernel-server and isc-dhcp-server. | Enter “a” to append the configuration or “r” to replace the current configuration (removes all entries for this product). If you install host system services, when prompted, allow the installation to configure nfs-kernel-server and then isc-dhcp-server. |
To the prompts to configure minicom | Enter “y”. If you want to use a different serial console, instead enter “N”. |
5. Run the following self-extracting .run file and answer any prompts with “yes”:
bash drive-t186ref-foundation-oss-src.run
(EULA scroll) Do you accept the terms of the license? yes (enter)
6. For DRIVE PX 2 (P3407) or DRIVE PX 2 (P2379), extract platform-specific files with the following command:
bash drive-t186ref-foundation-5.0.10.3-<build>.p2379specific.run
7. For DRIVE PX 2 (P3407) or DRIVE PX 2 (P2379), navigate to the following directory:
<top>/drive-t186ref-foundation/utils/scripts
8. Copy the Elektrobit and AURIX firmware file to a Microsoft Windows host and unzip it with the following command:
unzip DRIVE-V5.0.10-<platform>-<EB-version>
Where
• <platform> is P2379 for ACH and P3407 for ACR
• <EB-version> consists of:
• <major-no> contains a 1 numeric digit long
• <minor-no> contains a 2 numeric digit long
• <revision> contains a 2 numeric digit
For example:
EB-Aurix FW:
DRIVE-V5.0.10-<platform>-EB-Aurix-With3LSS-4.02.04.hex
Update-Aurix FW:
DRIVE-V5.0.10-<platform>-NV-Aurix-UPDATE-3.01.01.hex