Build Instructions; Build U-Boot Image; Build Linux Kernel Image; Build Log - Advantech UBC-220 User Manual

Risc iot box computer powered by freescale i.mx6 dual lite processor arm cortex a9 architecture
Table of Contents

Advertisement

export ROOTFS=${SRCROOT}/image/rootfs
export LOG=${SRCROOT}/Build.log
export PATH=${CC_PATH}/bin:${UBOOT_SOURCE}/tools:$PATH
Note!
You have to wrap "setenv.sh" once you open a new "Terminal" utility
every time.
(i.e. #source setenv.sh)
Note!
It is suggested to change to "root" authority to use the source code.
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 10.04 LTS..
2.
$sudo su (Change to "root" authority)
3.
Input user password.
4.
#. setenv.sh (To configure the developing environment automatically)
5.
#./cfg_uboot.sh imx6dl_ubc220_config (To set the u-boot configura-
tion automatically)
6.
#./mk_uboot.sh (Start to build the u-boot)
7.
Then you can see u-boot_crc.bin and u-boot_crc.bin.crc are 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 10.04 LTS.
2.
$sudo su (Change to "root" authority)
3.
Input user password.
4.
Change directory to BSP's scripts folder.
5.
#. setenv.sh (To configure the developing environment automatically)
#./cfg_kernel.sh imx6dl_ubc220_defconfig (To set the uImage con-
6.
figuration 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 "U220LBV2660". 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.
UBC-220 User Manual
34

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ubc-220dl-mda1e

Table of Contents