Setting Up a Development Environment. Advantech RSB-4220

Add to My manuals
72 Pages

advertisement

Setting Up a Development Environment. Advantech RSB-4220 | Manualzz

3.3

Setting Up a Development Environment

All instructions in this guide are based on a Ubuntu 14.04 LTS development environment. Please install Ubuntu 14.04 LTS on your PC/NB in advance.

After obtaining the RSB-4220 Linux source code package, refer to the following instructions to extract data to your development environment:

1.

Copy the “AM335XLBVxxxx_yyyy-mm-dd.bin” package to /root/.

2.

Start your “terminal” on Ubuntu 14.04 LTS.

3.

$sudo su (Change to “root” authority)

4.

Input user password

5.

#cd /root/

6.

#chmod a+x AM335XLBVxxxx_yyyy-mm-dd.bin

7.

#./AM335XLBVxxxx_yyyy-mm-dd.bin

8.

Input “yes”

9.

The folder “AM335XLBVxxxx_yyyy-mm-dd” should be visible on /root/.

Note!

xxxx denotes the version number, yyyy denotes the year, mm denotes the month, and dd denotes the day.

For example, AM335XLBV1010_2014-10-01.

Advantech provides a script for rapidly setting up a development environment. Follow the steps below to setup your development environment.

1.

Open “terminal” on Ubuntu 14.04 LTS.

2.

$sudo su (Change to “root” authority)

3.

Input user password

4.

#cd /root/AM335XLBVxxxx_yyyy-mm-dd/scripts/

5.

#. setenv.sh

(To configure the development environment automatically.)

6.

Users can now begin coding the source code, building images, and compiling applications.

3.3.1

Setenv.sh

This script can be used to rapidly configure the development environment and system folder paths. Users can also add/modify setenv.sh themselves if they have added/changed the folders and paths.

Note!

The “#source setenv.sh” script must be run each time a new “terminal” utility is opened.

Note!

Users are advised to change to the “root” authority when using the source code.

RSB-4220 User Manual 38

advertisement

Related manuals

advertisement

Table of contents