![Advantech RSB-4220 User Manual Download Page 47](http://html1.mh-extra.com/html/advantech/rsb-4220/rsb-4220_user-manual_2857962047.webp)
41
RSB-4220 User Manual
Chapter 3
S
oftware
Functionality
3.4
Build Instructions
This section will guide you how to build the u-boot & Linux kernel.
3.4.1
Build u-boot Image
Advantech has written a script to build the u-boot quickly. You can build u-boot image
by follow below steps:
1.
Open "Terminal" on Ubuntu 12.04 LTS..
2.
$sudo
su
(Change
to
“root”
authority)
3.
Input user password.
4.
#cd
Desktop/335XLBVxxxx/scripts/
5.
#.
setenv.sh
(To
configure
the
developing
environment
automati
‐
cally)
6.
#./cfg_uboot
am335x_rsb4220
(To
set
the
u
‐
boot
configuration
automatically)
7.
#./mk_uboot.sh
(Start
to
build
the
u
‐
boot)
8.
Then you can see u-boot.img is being built and located in ../image.
3.4.2
Build Linux Kernel Image
Advantech offer you a script to build the “uImage” quickly. You can build uImage by
follow below steps:
1.
Open "Terminal" on Ubuntu 12.04 LTS.
2.
$sudo
su
(Change to “root” authority)
3.
Input user password.
4.
#cd
Desktop/335XLBVxxxx/scripts/
5.
#.
setenv.sh
(To
configure
the
developing
environment
automati
‐
cally)
6.
#./cfg_kernel.sh
am335x_rsb4220_defconfig
(To
set
the
uImage
configuration
automatically)
7.
#./mk_kernel.sh
(Start
to
build
the
uImage)
8.
Then you can see uImage is being built and located in ../image.
3.4.3
Build Log
You can find the build log from folder “./335XLBVxxxx”. If you got any error message
when building Linux kernel, it is suggested to look into the log file to learn more detail
about it.