ROM-5420 User Manual
26
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.
Change directory to BSP's scripts folder
5.
#. setenv.sh
(To configure the developing environment automatically)
6.
#./cfg_uboot.sh mx6q_rom-5420_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 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)
6.
6)#./cfg_kernel.sh imx6_rom5420_defconfig
(To set the uImage configu-
ration 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 “./7420LBVxxxx”. 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.
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.
Содержание ROM-5420
Страница 1: ...User Manual ROM 5420 RISC based SMARC Module with Freescale i MX6 ARM Cortex A9 Processor...
Страница 17: ...Chapter 3 3 Software Functionality This chapter details the software programs on the ROM 5420 plat form...
Страница 53: ...45 ROM 5420 User Manual Chapter 5 Advantech Services...