Advantech ROM-5420 B1 handleiding

62 pagina's
PDF beschikbaar

Handleiding

Je bekijkt pagina 41 van 62
33 ROM-5420 B1/B2 User Manual
Chapter 3 Software Functionality
3.3 Setting Up the Build Environment
All instructions in this guide are based on the Ubuntu 10.04 LTS development envi-
ronment. Please install Ubuntu 10.04 LTS on your PC/NB in advance.
When you obtain the ROM-5420 Linux source code package, please refer to the fol-
lowing instructions to extract to your development environment:
1. Copy the "5420LBVxxxx.tar.bz2" package to your desktop. “xxxx” is the version
of the BSP source code.
2. Start your "Terminal" on Ubuntu 10.04 LTS.
3. $sudo su (Change to “root” authority)
4. Input user password
5. #cd Desktop/
6. #tar xvf 5420LBVxxxx.tar.bz2 (Unzip file)
7. Then you can see the folder "5420LBVxxxx" on the desktop.
Advantech offers you a script to set up the development environment quickly. You
can refer to the following steps to set up your development environment:
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. Then you can start to code the source code, build images, or compile applica-
tions.
3.3.1 setenv.sh
This script is used to configure the development environment quickly. It will configure
the folder paths for the system, and you can also add/modify the setenv.sh by your-
self if you have added/changed the folders and paths.
The major part of setenv.sh is shown as follows:
export SRCROOT=${PWD}/..
export CC_PATH=${SRCROOT}/cross_compiler/fsl-linaro-toolchain
export CROSS_COMPILE=${CC_PATH}/bin/arm-none-linux-gnueabi-
export CC=${CROSS_COMPILE}gcc
export STRIP=${CROSS_COMPILE}strip
export ARCH=arm
export KROOT=${SRCROOT}/source/linux-3.0.35
export ADVBOOT_SOURCE=${SRCROOT}/source/u-boot-2009.08
export UBOOT_SOURCE=${SRCROOT}/source/u-boot-2009.08
export ROOTFS=${SRCROOT}/image/rootfs
export LOG=${SRCROOT}/Build.log
export PATH=${CC_PATH}/bin:${UBOOT_SOURCE}/tools:$PATH

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