Build Instructions. Advantech RSB-4220

Add to My manuals
72 Pages

advertisement

Build Instructions. Advantech RSB-4220 | Manualzz

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.

2.

$sudo su (Change to “root” authority.)

3.

Input user password.

4.

#cd /root/AM335XLBVxxxx_yyyy-mm-dd/scripts

5.

#. setenv.sh

(To configure the development environment automatically.)

6.

#./cfg_uboot.sh am335x_rsb4220_defconfig (To set the u-boot configuration automatically.)

7.

#./mk_uboot.sh

(Start to build the u-boot.)

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

5.

#. setenv.sh

(To configure the development environment automatically.)

6.

#./cfg_kernel.sh tisdk_am335x-rsb4220_defconfig (To set the zImage configuration automatically.)

7.

#./mk_kernel.sh (Start to build the zImage.)

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

Related manuals

advertisement

Table of contents