About setting up a Linux PC environment for development

Introduction

This page summarizes information on setting up a Linux PC environment for software development on the Qualcomm® Robotics RB3 Platform. Follow the instructions to install the packages required for building, install ADB/Fastboot, and build the Linux PC environment for development.


For inquiries about the Qualcomm® Robotics RB3 Platform and a quotation for the development kit, please use the link below.

Linux PC spec requirements for development

CPU: Quad core or above

Memory (DRAM): 8GB or more

OS: Ubuntu 14.04 LTS 64bit version

 

supplement:

・When building the target OS (eg Android) that runs on the development board, it is desirable that the memory (DRAM) is 16 GB or more.

・Ubuntu 16.04 LTS 64bit version is also possible.

Linux PC environment setup for development

1. Install required packages on PC

Launch a terminal on your Linux PC and execute the following commands in order to install and configure the necessary packages.

$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev libgl1-mesa-dev libxml2-utils xsltproc unzip
$ sudo apt-get install libssl-dev
$ sudo add-apt-repository ppa:ubuntu-toolchain-r/test
$ sudo apt-get update
$ sudo apt-get install gcc-4.8-multilib g++-4.8-multilib
$ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 100
$ sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 100
$ sudo update-alternatives --config gcc
$ sudo update-alternatives --config g++
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc- multilib build-essential chrpath libsdl1.2 -dev xterm openssl libssh-dev libssl-dev $ sudo cpan install XML::Simple
$ sudo rm /bin/sh
$ sudo ln -sf /bin/bash /bin/sh

2. Install ADB, Fastboot on PC

Similarly, run the following commands to install ADB and Fastboot.

$ sudo apt-get install android-tools-adb
$ sudo apt-get install android-tools-fastboot

3. PC USB driver settings

Create a 99-android.rules file using an editor (eg vi), and then write two lines of SUBSYSTEM.....

$ sudo vi /etc/udev/rules.d/99-android.rules SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0777", GROUP="adm" SUBSYSTEM=="usb", ATTR{idVendor}=="05c6", MODE="0777", GROUP="adm"

Restart the udev service to apply the written rules.

$ sudo chmod a+r /etc/udev/rules.d/99-android.rules
$ sudo service udev restart

Setup is now complete.

Inquiry / Quotation

For inquiries about the Qualcomm® Robotics RB3 Platform and a quotation for the development kit, please use the link below.