![Advantech RSB-4220 User Manual Download Page 46](http://html1.mh-extra.com/html/advantech/rsb-4220/rsb-4220_user-manual_2857962046.webp)
RSB-4220 User Manual
40
3.3
Set up Build Environment
All instructions in this guide are based on Ubuntu 12.04 LTS developing environment.
Please install the Ubuntu 12.04 LTS at your PC/NB in advance.
When you obtain the RSB-4220 Linux source code package, please refer to following
instructions to extract to your developing environment:
1.
Copy "335XLBVxxxx_yyyy-mm-dd.bin" package to /root/.
2.
Start your "Terminal" on Ubuntu 12.04 LTS.
3.
$sudo
su
(Change to “root” authority)
4.
Input user password
5.
#cd
/root/
6.
#chmod
a+x
335XLBVxxxx_yyyy-mm-dd.bin
7.
#./335XLBVxxxx_yyyy-mm-dd.bin
8.
Input
“yes”
9.
Then you can see folder "335XLBVxxxx_yyyy-mm-dd" on /root/.
Advantech offer you a script to setup the developing environment quickly. You can
refer following steps to setup your developing environment:
1.
Open "Terminal" on Ubuntu 12.04 LTS.
2.
$sudo
su
(Change to “root” authority)
3.
Input user password
4.
#cd
/root/335XLBVxxxx_yyyy
‐
mm
‐
dd/scripts/
5.
#.
setenv.sh
(To configure the developing environment automatically)
6.
Then you can start to code the source code, build images, or compile applica-
tions.
3.3.1
setenv.sh
This script is used to configure the developing environment quickly. It will configure
the folder paths for system, and you can also add/modify the setenv.sh by yourself if
you have added/changed the folders and paths.
Note!
xxxx is the version number, yyyy is the year, mm is mouth, dd is the day.
For example: 335XLBV1010_2014-10-01.
Note!
You have to run “#source setenv.sh” every time once you open a new
"Terminal" utility.
Note!
It is suggested to change to “root” authority to use the source code.