Address: Room 1705,Block A1, Longyuan Plaza, Longkouxi Road, Guangzhou, China, 510640 Website:
http://www.arm9.net
Sales: +86-20-85201025 Tech Support: +86-13719442657 Fax: +86-20-85261505
Email for Business and Cooperation:
Email for Tech Support: [email protected]
第
- 152 -
页
(4)
Uncompress Android File System
Execute the command below in “/opt/FriendlyARM/mini210/android”
#cd /opt/FriendlyARM/mini210/android
#tar xvzf /tmp/android/
rootfs_android-20110925.tar.gz
This will create a rootfs_android directory
Note: 20110925 is the date when we released it.
5.4 Configure and Compile Linux Kernel
Android’s Linux kernel is a little bit different from a standard one but its
configuration utility is the same. If you are not familiar with configuring a Linux kernel
we suggest you use our default configuration file
To compile a kernel for an N43 LCD system please follow the steps below
#cd /opt/FriendlyARM/mini210/android/
linux-2.6.35.7-android
#cp
mini210_android_defconfig .config
; note: there is a “.” before “config”
You can run “make menuconfig” to configure the kernel and run “make” to compile”:
#make
This will generate a zImage under “arch/arm/boot”.
5.5 Create Android
Compiling Android may not be an easy task for beginners. Therefore we have a
complete copy of the source code and two compiling scripts: build-android and
genrootfs.sh.
Execute the commands below:
#cd /opt/FriendlyARM/mini210/android/Android-2.3.1
#./build-android