146 lines
2.8 KiB
Plaintext
146 lines
2.8 KiB
Plaintext
=============
|
|
A N D R O I D
|
|
=============
|
|
|
|
Copyright (C) 2009 Google, Inc.
|
|
Written by Mike Chan <mike@android.com>
|
|
|
|
CONTENTS:
|
|
---------
|
|
|
|
1. Android
|
|
1.1 Required enabled config options
|
|
1.2 Required disabled config options
|
|
1.3 Recommended enabled config options
|
|
2. Contact
|
|
|
|
0. Getting sources:
|
|
-----------------
|
|
|
|
git clone --reference /path/to/linux-git/for/speedup/ git://android.git.kernel.org/kernel/msm.git
|
|
git checkout -b android-msm-2.6.29 origin/android-msm-2.6.29
|
|
|
|
|
|
1. Android
|
|
==========
|
|
|
|
Android (www.android.com) is an open source operating system for mobile devices.
|
|
This document describes configurations needed to run the Android framework on
|
|
top of the Linux kernel.
|
|
|
|
To see a working defconfig look at msm_defconfig or goldfish_defconfig
|
|
which can be found at http://android.git.kernel.org in kernel/common.git
|
|
and kernel/msm.git
|
|
|
|
msm_defconfig should work on qualcomm reference design, HTC Magic and G1/ADP1.
|
|
|
|
1.1 Required enabled config options
|
|
-----------------------------------
|
|
After building a standard defconfig, ensure that these options are enabled in
|
|
your .config or defconfig if they are not already. Based off the msm_defconfig.
|
|
You should keep the rest of the default options enabled in the defconfig
|
|
unless you know what you are doing.
|
|
|
|
ANDROID_PARANOID_NETWORK
|
|
ASHMEM
|
|
CONFIG_FB_MODE_HELPERS
|
|
CONFIG_FONT_8x16
|
|
CONFIG_FONT_8x8
|
|
CONFIG_YAFFS_SHORT_NAMES_IN_RAM
|
|
DAB
|
|
EARLYSUSPEND
|
|
FB
|
|
FB_CFB_COPYAREA
|
|
FB_CFB_FILLRECT
|
|
FB_CFB_IMAGEBLIT
|
|
FB_DEFERRED_IO
|
|
FB_TILEBLITTING
|
|
HIGH_RES_TIMERS
|
|
INOTIFY
|
|
INOTIFY_USER
|
|
INPUT_EVDEV
|
|
INPUT_GPIO
|
|
INPUT_MISC
|
|
LEDS_CLASS
|
|
LEDS_GPIO
|
|
LOCK_KERNEL
|
|
LkOGGER
|
|
LOW_MEMORY_KILLER
|
|
MISC_DEVICES
|
|
NEW_LEDS
|
|
NO_HZ
|
|
POWER_SUPPLY
|
|
PREEMPT
|
|
RAMFS
|
|
RTC_CLASS
|
|
RTC_LIB
|
|
SWITCH
|
|
SWITCH_GPIO
|
|
TMPFS
|
|
UID_STAT
|
|
UID16
|
|
USB_FUNCTION
|
|
USB_FUNCTION_ADB
|
|
USER_WAKELOCK
|
|
VIDEO_OUTPUT_CONTROL
|
|
WAKELOCK
|
|
YAFFS_AUTO_YAFFS2
|
|
YAFFS_FS
|
|
YAFFS_YAFFS1
|
|
YAFFS_YAFFS2
|
|
|
|
|
|
1.2 Required disabled config options
|
|
------------------------------------
|
|
CONFIG_YAFFS_DISABLE_LAZY_LOAD
|
|
DNOTIFY
|
|
|
|
|
|
1.3 Recommended enabled config options
|
|
------------------------------
|
|
ANDROID_PMEM
|
|
ANDROID_RAM_CONSOLE
|
|
ANDROID_RAM_CONSOLE_ERROR_CORRECTION
|
|
SCHEDSTATS
|
|
DEBUG_PREEMPT
|
|
DEBUG_MUTEXES
|
|
DEBUG_SPINLOCK_SLEEP
|
|
DEBUG_INFO
|
|
FRAME_POINTER
|
|
CPU_FREQ
|
|
CPU_FREQ_TABLE
|
|
CPU_FREQ_DEFAULT_GOV_ONDEMAND
|
|
CPU_FREQ_GOV_ONDEMAND
|
|
CRC_CCITT
|
|
EMBEDDED
|
|
INPUT_TOUCHSCREEN
|
|
I2C
|
|
I2C_BOARDINFO
|
|
LOG_BUF_SHIFT=17
|
|
SERIAL_CORE
|
|
SERIAL_CORE_CONSOLE
|
|
|
|
|
|
Board code names
|
|
----------------
|
|
|
|
board-halibut - Qualcomm SURF 7201A
|
|
board-sapphire - HTC Magic
|
|
board-trout - HTC Dream / T-Mobile G1 / Android ADP1
|
|
|
|
Booting your kernel
|
|
-------------------
|
|
|
|
hold down camera and red button to boot into rainbow screen. Then
|
|
|
|
./fastboot boot linux-msm/arch/arm/boot/zImage ramdisk.img
|
|
|
|
Machine will freeze at rainbow screen for a while, be
|
|
patient. ramdisk.img is required.
|
|
|
|
2. Contact
|
|
==========
|
|
website: http://android.git.kernel.org
|
|
|
|
mailing-lists: android-kernel@googlegroups.com
|