53
RSB-4411
User Manual
Chapter 3
S
oftware
Functionality
3.4
Customization
3.4.1
Package addition
3.4.1.1
To add tcf-agent & openssh-sftp-server
Navigate to the directory where fsl-image-adv.inc located:
$
cd
${BSP_HOME}/sources/meta
‐
advantech/recipes
‐
fsl/images
Add following line to fsl-image-adv.inc:
IMAGE_INSTALL
+=
"
tcf
‐
agent
openssh
‐
sftp
‐
server
"
Continue an exist build environment and build sdcard image
3.4.1.2
To add chromium browser,
Navigate to the directory where local.conf located
$
cd
${BSP_HOME}/${BDIR}/conf
Add following two lines to local.conf
CORE_IMAGE_EXTRA_INSTALL
+=
"chromium"
LICENSE_FLAGS_WHITELIST="commercial"
Continue an exist build environment and build sdcard image
3.4.2
Setting up SDK
Please follow the section 3.3.3.2 to build toolchain installer, then perform following
commands in terminal console:
$
cd
${BSP_HOME}/${BDIR}/tmp/deploy/sdk
$
sudo
./fsl
‐
imx
‐
x11
‐
glibc
‐
x86_64
‐
meta
‐
toolchain
‐
qt5
‐
cortexa9hf
‐
vfp
‐
neon
‐
toolchain
‐
${KERNEL}
‐
1.1.0.sh
Enter new installed directory or just press Enter to use default directory.
While Proceed[y/n]? shows up, please enter the correct one "y"
Waiting for the SDK installed
3.4.3
Setting up cross compiling environment
SDK has been set up (ref. Setting up SDK, section 3.4.2), perform following com-
mand in terminal console:
$
source
${TOOLCHAIN}/environment
‐
setup
‐
cortexa9hf
‐
vfp
‐
neon
‐
poky
‐
linux
‐
gnueabi
3.4.4
Building & updating u-boot manually
To build u-boot, the cross compiling environment must have been set up. (ref. 3.4.3
Setting up cross compiling environment)
Make one copy from Yocto working directory:
$
mkdir
‐
p
~/code
$
pushd
${BSP_HOME}/${BDIR}/tmp/work/${MC}
‐
poky
‐
linux
‐
gnueabi/
$
rm
‐
rf
~/code/u
‐
boot
‐
imx
$
cp
‐
a
./u
‐
boot
‐
imx/${UBOOT}
‐
r0/git
~/code/u
‐
boot
‐
imx
$
popd
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 ...