Hi everyone,
             So far, I've managed to isolate and find the exact set of
files and patches that need to be applied.

In the meantime, here's what I've learnt so far.

There official release is the android-2.6.27 kernel. There is an
android-2.6.29 kernel in the works, but all the new files are stored
in the kernel/drivers/staging/android/folder.

So when I extracted the patches between the android-2.6.29 and the
linux-2.6.30-rc1, I only selected those patches that include the
following android files, which is originally present in the
android-2.6.27 kernel version. There is an ashmem patch that also
needs to be included.

Here is the list of android specific file that need to be included:

kernel/include/linux/usb/android.h
kernel/include/linux/android_alarm.h
kernel/include/linux/android_pmem.h
kernel/include/linux/android_aid.h
kernel/Documentation/android.txt
kernel/drivers/usb/gadget/android.c

Here is the list of patches that need to be included in the build:

0058, 0064, 0065, 0066, 0067, 0068, 0069, 0070, 0071, 0072, 0073,
0077, 0078, 0079, 0101, 0104, 0117.

I haven't reproduced the full names here, only the patch sequence
numbers, which result from the following commands:

$ mkdir android
$ cd android
$ git clone git://android.git.kernel.org/kernel/common.git kernel
$ cd kernel
$ git checkout --track -b android-2.6.29 origin/android-2.6.29
$ git format-patch v2.6.30-rc1

Modify the  defconfig in the linux-omap3-2.6.29/overo folder, using
the following information:

Required enabled config options

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

Required disabled config options

CONFIG_YAFFS_DISABLE_LAZY_LOAD
DNOTIFY

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

Elvis

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
-~----------~----~----~----~------~----~------~--~---

Reply via email to