Build Instructions; Build A U-Boot Image; Build A Linux Kernel Image; Build A Log - Advantech RSB-4220 User Manual

3.5" sbc with ti sitara am3352 cortex a8 single-core 1ghz high-performance processor
Hide thumbs Also See for RSB-4220:
Table of Contents

Advertisement

3.4

Build Instructions

This section provides instructions on how to build the u-boot and Linux kernel.
3.4.1

Build a U-Boot Image

Advantech provides a script for building the u-boot rapidly. Users can build a u-boot
image by following the steps below.
1.
Open "terminal" on Ubuntu 14.04 LTS.
$sudo su (Change to "root" authority.)
2.
3.
Input user password.
4.
#cd /root/AM335XLBVxxxx_yyyy-mm-dd/scripts
#. setenv.sh (To configure the development environment automatically.)
5.
#./cfg_uboot.sh am335x_rsb4220_defconfig (To set the u-boot configura-
6.
tion automatically.)
#./mk_uboot.sh (Start to build the u-boot.)
7.
8.
Building of the u-boot.img is initiated and located in ../image.
3.4.2

Build a Linux Kernel Image

Advantech provides a script for building a "zImage" rapidly. Users can build a zImage
by following the steps below.
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
#. setenv.sh (To configure the development environment automatically.)
5.
#./cfg_kernel.sh tisdk_am335x-rsb4220_defconfig (To set the zImage
6.
configuration automatically.)
#./mk_kernel.sh (Start to build the zImage.)
7.
8.
Building of the zImage is initiated and located in ../image.
3.4.3

Build a Log

The build log can be located in the "./AM335XLBVxxxx" folder. If an error message is
encountered when building the Linux kernel, check the log file for additional details.
39
RSB-4220 User Manual

Advertisement

Table of Contents
loading

Table of Contents