DFI KS211 User Manual page 26

7” touch panel pc
Table of Contents

Advertisement

Build Kernel Image
Kernel image will be established by using the following commands and working environments.
Set the working path to your specified folder.
Please take care of the setting of tool chain version in the path.
export PATH=~/Android_2_3_7_sources_v115_3G/bootable/bootloader/uboot-imx/
tools:$PATH
cd Android_2_3_7_sources_v115_3G/kernel_imx
export ARCH=arm
export
CROSS_COMPILE=~/Android_2_3_7_sources_v115_3G//prebuilt/linux-x86/toolchain/arm-
eabi-4.4.3/bin/arm-eabi-
make distclean
make imx5_fs200_android_v106_defconfig
Generate the kernel image
make uImage -j4
make M=drivers/usb/class
With a successful establishment in the above case, the generated kernel image is
~/Android_2_3_7_sources_v115_3G/kernel_imx/arch/arm/boot/uImage.
Please use the generated image to program kernel to emmc via Mfgtool and read the Mfgtool
section for more details of programming.
Build Android Image
The environment for the development of android system should contain the following folders
respectively. The functions of these folders are explained below.
root/ : root file system (including init, init.rc, etc). Mounted at /
system/: Android system binary/libraries. Mounted at /system
data/: Android data area. Mounted at /data
recovery/: root file system when booting in the "recovery" mode. Not directly used.
ramdisk.img: Ramdisk image is generated from "root/". Not directly used.
android_system.img: UBI raw image is generated from "system/." It contains system, data
and cache UBI volumes with UBIFS format.
android_recovery.img: UBI raw image is generated from "recovery/." It contains recovery
UBI volumes with UBIFS format.
Please use the following steps to build up the Android image:
Appendix A BSP User Guide
Appendix A
export
PATH=~/Android_2_3_7_sources_v115_3G/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/
bin:$PATH
export LOCAL_PATH=~/Android_2_3_7_sources_v115_3G/:$PATH
cd Android_2_3_7_sources_v115_3G
export ARCH=arm
The version of cross_compile is 'arm-eabi-4.4.3'. Please don't change the version for building
kernel.
export
CROSS_COMPILE=~/Android_2_3_7_sources_v115_3G/prebuilt/linux-x86/toolchain/arm-
eabi-4.4.3/bin/arm-eabi-
export TOPDIR=~/Android_2_3_7_sources_v115_3G/
make distclean
source ./build/envsetup.sh
lunch imx53_smd-user
#lunch
make -j4
Lunch is a distributed process launcher for GNU/Linux. The Lunch master launches lunch-slave
processes through an encrypted SSH session if on a remote host. Those slave processes can in
turn launch the desired commands on-demand.
After processing the above procedures, it will generate five images listed below in the
~/Android_2_3_7_sources_v115_3G/out/target/product/imx53_smd folder.
1. ramdisk.img
2. recovery.img
3. system.img
4. userdata.img
5. uImage.img
26
www.dfi.com

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ks212

Table of Contents