Installing Required Packages; Setenv.sh - 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

3.3.1

Installing required packages

Open a terminal console and perform following command:
$ sudo apt‐get install \ 
bison build‐essential \
ccache \
dpkg \
flex \
gcc g++ gettext \
intltool \
libarchive‐zip‐perl libdbus‐glib‐1‐dev libfreetype6‐dev \
libgtk2.0‐dev liblzo2‐2 liblzo2‐dev \
libncurses5‐dev liborbit2‐dev libtool libx11‐dev libxml2‐dev \
m4 \
patch \
rpm \
tcl \
uboot‐mkimage uuid uuid‐dev \
zlib1g zlib1g‐dev
3.3.2

setenv.sh

This script is used to configure the development environment quickly. It will configure
the folder paths for your 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
Note!
You have to wrap "setenv.sh" once you open a new "Terminal" utility
every time.
(i.e. #source setenv.sh)
25
ROM-3420 User Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents