This section describes the steps to install the following:
- Ubuntu Linux
- Apollo Kernel
- Nvidia GPU Driver
It is assumed that you have experience working with Linux to successfully perform the software installation.
Follow these steps:
-
Create a bootable Ubuntu Linux USB flash drive:
Download Ubuntu 14.04 (or a variant such as Xubuntu) create a bootable USB flash drive. It is recommended that you use Ubuntu 14.04. You can type F2 during the system boot process to enter the BIOS settings. It is recommended that you disable Quick Boot and Quiet Boot in the BIOS to make it easier to catch any issues in the boot process.
-
Install Ubuntu Linux:
a. Insert the Ubuntu installation drive into a USB port and turn on the system. b. Install Linux by following the on-screen instructions.
-
Perform a software update: a. Reboot into Linux after the installation is done. b. Launch the Software Updater to update to the latest software packages (for the installed distribution) or type the following commands in a terminal program such as GNOME Terminal.
sudo apt-get update; sudo apt-get upgrade
c. Launch a terminal program such as GNOME Terminal and type the following command to install the Linux 4.4 kernel:
sudo apt-get install linux-generic-lts-xenial
The IPC must have Internet access to update and install software. Make sure that the Ethernet cable is connected to a network with Internet access. You might need to configure the network for the IPC if the network that it is connected to is not using the Dynamic Host Configuration Protocol (DHCP).
The Apollo runtime in the vehicle requires the Apollo Kernel. It is strongly recommended to install the pre-built kernel.
You get access to and install the pre-built kernel using the following commands.
- Download the release packages from the release section on GitHub:
https://github.com/ApolloAuto/apollo-kernel/releases
- Install the kernel after having downloaded the release package:
tar zxvf linux-4.4.32-apollo-1.5.0.tar.gz
cd install
sudo bash install_kernel.sh
- Reboot your system using the
reboot
command. - [Optional - if you are using CAN card for interface] Build the CAN driver source code, according to the vendor's instructions
If you have modified the kernel, or the pre-built kernel is not the best for your platform, you can build your own kernel using the following steps:
- Clone the code from the repository
git clone https://github.com/ApolloAuto/apollo-kernel.git
cd apollo-kernel
- Add the CAN driver source code according to vendor's instruction
- Build the kernel using the following command:
bash build.sh
- Install the kernel using the steps for a pre-built Apollo Kernel as described in the previous section.
The Apollo runtime in the vehicle requires the NVIDIA GPU Driver. You must install the NVIDIA GPU driver with specific options.
- Download the installation files
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/375.39/NVIDIA-Linux-x86_64-375.39.run
- Start the driver installation
sudo bash ./NVIDIA-Linux-x86_64-375.39.run --no-x-check -a -s --no-kernel-module
- Ubuntu official website