Build Instructions; Build U-Boot Image; Build Linux Kernel Image; Build Log - Advantech ROM-3420CD-MDA1E User Manual

Rom-3420 series risc-based rtx module with freescale i.mx6 arm cortex a9 processor
Table of Contents

Advertisement

It is suggested to change to "root" authority to use the source code.
Note!
3.4

Build Instructions

This section will guide you on how to build the u-boot & Linux kernel.
3.4.1

Build u-boot Image

Advantech has written a script to help build u-boot quickly. You can build a u-boot
image by following the steps below:
1.
Open "Terminal" on Ubuntu 10.04 LTS
$sudo su (Change to "root" authority)
2.
3.
Input user password
4.
Change directory to BSP's scripts folder
#. setenv.sh (To configure the development environment automatically)
5.
#./cfg_uboot.sh mx6q_rom‐3420_1G_config (To set the u-boot configura-
6.
tion automatically)
#./mk_uboot.sh (Start to build the u-boot)
7.
8.
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 a uImage by
following these steps:
1.
Open "Terminal" on Ubuntu 10.04 LTS.
$sudo su (Change to "root" authority)
2.
3.
Input user password.
4.
Change directory to BSP's scripts folder
#. setenv.sh (To configure the development environment automatically)
5.
#./cfg_kernel.sh imx6_rom3420_defconfig (To set the uImage configura-
6.
tion automatically)
#./mk_kernel.sh (Start to build the uImage)
7.
8.
Then you can see uImage is being built and located in ../image.
3.4.3

Build Log

You can find the build log file from the directory of ROM-3420 BSP. If you got any
error messages when building the Linux kernel, it is suggested to look into the log file
to find the problem.
ROM-3420 User Manual
26

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rom-3420wd-mda1eRom-3420cq-mda1eRom-3420wq-mda1e

Table of Contents