Chapter 7. Build Procedure
This chapter describes the procedure for creating an image the same as the factory default image.
The source code to use is included in the development set DVD. The latest source code can be downloaded from the
Armadillo site. As over time new functionality is added and defects are fixed, we recommend checking if versions newer
than that on the DVD have been released or not and then using the latest version.
Armadillo Site - Armadillo-IoT Gateway Documents / Downloads
http://armadillo.atmark-techno.com/armadillo-iot-g3/downloads
The development process involves working with basic libraries, applications and
system configuration files. While all files are altered only under the working di-
rectory, in order to ensure the PC operating system is not inadvertently damaged
from any mistakes made during development please perform all work as a gener-
al user and not a root user.
7.1. Building the Bootloader
This section explains the procedure for creating an image file from the source code of the bootloader "U-Boot".
Procedure 7.1. Building the Bootloader
1.
Preparing Source Code
Prepare and extract the U-Boot source code archive.
[PC ~]$ ls
uboot_2014.04-at1.0.0.tar.gz
[PC ~]$ tar xf uboot_2014.04-at[version].tar.gz
[PC ~]$ ls
uboot_2014.04-at[version] uboot_2014.04-at[version].tar.gz
2.
Applying Default Configuration
Enter the U-Boot directory and apply the default configuration for Armadillo-IoT Gateway G3. In this ex-
ample, an image for Flash memory boots is created. Specify
x1_config
as the default config. To create an
SD boot image, specify
x1_sd_config
.
[PC ~]$ cd uboot_2014.04-at[version]
[PC ~/uboot_2014.04-at[version]]$ make ARCH=arm x1_config
3.
Building
The
make
command is used to perform the build.
Armadillo-IoT Gateway G3Product Manual - INTL
Build Procedure
92