49
RSB-4411
User Manual
Chapter 3
S
oftware
Functionality
$
sudo
mkdir
jvm
$
cd
jvm
$
sudo
mv
../jdk1.6.0_45
.
$
cd
jdk1.6.0_45/
$
sudo
update
‐
alternatives
‐‐
install
/usr/bin/java
java
/usr/
lib/jvm/jdk1.6.0_45/jre/bin/java
2
$
sudo
update
‐
alternatives
‐‐
install
/usr/bin/javac
javac
/usr/
lib/jvm/jdk1.6.0_45/bin/javac
2
$
sudo
update
‐
alternatives
‐‐
install
/usr/bin/jar
jar
/usr/
lib/jvm/jdk1.6.0_45/bin/jar
2
$
sudo
update
‐
alternatives
‐‐
install
/usr/bin/javap
javap
/usr/
lib/jvm/jdk1.6.0_45/bin/javap
2
$
sudo
update
‐
alternatives
‐‐
install
/usr/bin/javadoc
javadoc
/usr/
lib/jvm/jdk1.6.0_45/bin/javadoc
2
$
sudo
update
‐
alternatives
‐‐
config
javap
$
sudo
update
‐
alternatives
‐‐
config
javadoc
$
sudo
update
‐
alternatives
‐‐
config
java
$
sudo
update
‐
alternatives
‐‐
config
javac
$
sudo
update
‐
alternatives
‐‐
config
jar
$
cd
~/
$
sudo
sh
‐
c
"echo
"JAVA_HOME=/usr/lib/jvm/jdk1.6.0_45"
>>
/etc/
environment"
If you have some troubles on setting up build environment, we recommend that you
use Docker, and it is more safely & quickly. Learn more about Docker at: http://ess-
wiki.advantech.com.tw/view/IoTGateway/Docker
3.3.1
Conventions
Below is the Naming Conventions of the SW package we provide:
${PREBUILT_IMAGE}
:
compressed
prebuilt
image
(*.img.gz)
${BSP_TARBALL}
:
BSP
tarball
(*.tgz)
${BSP_HOME}
:
home
directory
of
the
BSP
${BDIR}
:
build
directory
(e.g.
build_x11)
${MX6PROC}
:
i.MX6
Processor:
mx6q
for
iMX6
Quad
Core
/
Dual
Core;
mx6dl
for
iMX6
Dual
Lite
/
Solo
${IMX6PROC}
:
i.MX6
Processor:
imx6q
/
imx6dl
${BOARD}
:
available
target
boards:
rom5420
/
ubc220
/
rom7421/
rom3420
/
rom7420
/
rsb4410
/
rsb4411
/
rsb6410
/
ubcds31
/
wise3310
${BOARD_REV}
:
board
revision
a1
/
a2
/
b1
${MC}
:
machine
code
combined
with
${IMX6PROC}${BOARD}${BOARD_REV}
for
example,
imx6dlrom5420b1
for
ROM
‐
5420
‐
Solo
B1
imx6dlubc220a1
for
UBC
‐
220
‐
Dual
‐
Light
A1
imx6qprom7421a1
for
ROM
‐
7421
‐
Dual/Quad
‐
Plus
A1
imx6qrom3420a1
for
ROM
‐
3420
‐
Dual/Quad
A1
imx6qrom5420a1
for
ROM
‐
5420
‐
Dual/Quad
A1
Summary of Contents for RSB-4411
Page 2: ...User Manual RSB 4411 3 5 SBC with NXP i MX6 Processor ARM Cortex A9 Architecture ...
Page 11: ...RSB 4411 User Manual x ...
Page 12: ...Chapter 1 1 General Introduction ...
Page 15: ...RSB 4411 User Manual 4 ...
Page 16: ...Chapter 2 2 H W Installation ...
Page 33: ...RSB 4411 User Manual 22 Figure 2 25 M 2 Connector ...
Page 37: ...RSB 4411 User Manual 26 ...
Page 82: ...71 RSB 4411 User Manual Chapter 5 Advantech Services ...