ROM-3420 User Manual
26
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
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 development environment automatically)
6.
#./cfg_uboot.sh
mx6q_rom
‐
3420_1G_config
(To set the u-boot configura-
tion automatically)
7.
#./mk_uboot.sh
(Start to build the u-boot)
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.
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 development environment automatically)
6.
#./cfg_kernel.sh
imx6_rom3420_defconfig
(To set the uImage configura-
tion 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 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.
Note!
It is suggested to change to “root” authority to use the source code.
Содержание ROM-3420CD-MDA1E
Страница 2: ...User Manual ROM 3420 RISC based RTX Module with Freescale i MX6 ARM Cortex A9 Processor...
Страница 18: ...Chapter 3 3 Software Functionality This chapter details the software programs on the ROM 3420 plat form...
Страница 45: ...ROM 3420 User Manual 36...
Страница 54: ...45 ROM 3420 User Manual Chapter 5 Advantech Services...