Advantech ROM-5420 B1 handleiding

62 pagina's
PDF beschikbaar

Handleiding

Je bekijkt pagina 42 van 62
ROM-5420 B1/B2 User Manual 34
3.4 Build Instructions
This section will guide you on how to build the u-boot & Linux kernel.
3.4.1 Building a u-boot Image
Advantech has written a script to build a 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 the directory to the BSP script 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 Building a Linux Kernel Image
Advantech offers you a script to build the “uImage” quickly. You can build the uImage
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 the directory to the BSP 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 in the folder “./5420LBVxxxx”. If you get any error mes-
sages when building the Linux kernel, it is suggested to look in the log file to learn
more details 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.

Bekijk gratis de handleiding van Advantech ROM-5420 B1, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.

Productinformatie

MerkAdvantech
ModelROM-5420 B1
CategorieNiet gecategoriseerd
TaalNederlands
Grootte14448 MB