Appendix A - Bsp User Guide - DFI KS211 User Manual

7” touch panel pc
Table of Contents

Advertisement

Appendix A - BSP User Guide

Build Android for FS200-M53
Get Android Source Code (Android/Kernel/uboot)
Please get an Android BSP from DFI for implementing your android system, which contains
the bootloader (uboot), kernel code, and android system, as well as tool chain, on the FS200
board. You can find out a compressed file named 'Android_2_3_7_sources_v115_3G.tar.gz'.
Supposed that you works in the linux system. Please use linux commands to extract this
compressed file.
#tar –zxvf Android_2_3_7_sources_v115_3G.tar.gz
After extracting this compressed file, you can find out the specified folder, Android_2_3_7_
sources_v115_3G, containing several sub-folders that include uboot , kernel, android system
and tool chain folders, respectively.
Find folders
Please enter the 'Android_2_3_7_sources_v115_3G' folder to find out the following sub-folders.
Bootable – represents the uboot folder
Kernel_imx – represents the kernel system
Prebuilt/linux-x86/toolchain – this folder contains all relevant tool compilers to build up
several systems.
Others – represents all files used for android system
Build Uboot Images
Before building up uboot images, please set up the working environments described in the
following table on the right.
Assumed that your root folder is Android_2_3_7_sources_v115_3G.
Appendix A BSP User Guide
Appendix A
$cd Android_2_3_7_sources_v115_3G/bootable/bootloader/uboot-imx
$export ARCH=arm
$export
CROSS_COMPILE=~/android_fs200/Android_2_3_7_sources_v115_3G/prebuilt/linux-x86/tool-
chain/arm-eabi-4.3.1/bin/arm-eabi-
$make distclean
$make mx53_smd_android_config
$make
After finishing 'make' command, it will generate the uboot image located in the
~/Android_2_3_7_sources_v115_3G/bootable/bootloader/uboot-imx folder.
"u-boot.bin" is generated if you have built it up successfully.
The u-boot.bin has 1024 Bytes padding at the head of file, for example, first executable
instruction is at the offset 1KB. If you want to generate a no-padding image, you have to do
dd command in host listed below.
$ sudo dd if=./u-boot.bin of=./u-boot-no-padding.bin bs=1024 skip=1; sync
This no-padding uboot image is usually used in the SD card, for example, programming this
no-padding uboot image into 1KB offset of SD card so that we do not overwrite the MBR
(including partition table) within first 512B on the SD card.
Please use the u-boot.bin image to program on the eMMC flash by using the 'mfgtool' tool.
25
www.dfi .com

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ks212

Table of Contents