tc/alarm.cdrivers/rtc/rtc-goldfish.cdrivers/net/pppolac.cdrivers/net/ppp_mppe.cdrivers/net/pppopns.cdrivers/video/goldfishfb.cdrivers/switch/switch_class.cdrivers/switch/switch_gpio.cdrivers/char/dcc_tty.cdrivers/char/goldfish_tty.cdrivers/watchdog/i6300esb.cdrivers/input/misc/gpio_event.cdrivers/input/misc/gpio_input.cdrivers/input/misc/gpio_output.cdrivers/input/misc/keychord.cdrivers/input/misc/gpio_axis.cdrivers/input/misc/gpio_matrix.c
drivers/input/keyreset.cdrivers/input/keyboard/goldfish_events.cdrivers/input/touchscreen/synaptics_i2c_rmi.cdrivers/usb/gadget/android.cdrivers/usb/gadget/f_adb.hdrivers/usb/gadget/f_mass_storage.hdrivers/usb/gadget/f_adb.cdrivers/usb/gadget/f_mass_storage.cdrivers/mmc/host/goldfish.cdrivers/power/goldfish_battery.cdrivers/leds/ledtrig-sleep.cdrivers/mtd/devices/goldfish_nand_reg.hdrivers/mtd/devices/goldfish_nand.ckernel/power/earlysuspend.ckernel/power/consoleearlysuspend.ckernel/power/fbearlysuspend.ckernel/power/wakelock.ckernel/power/userwakelock.ckernel/cpuset.ckernel/cgroup_debug.ckernel/cgroup.cmm/ashmem.c
include/
linux/ashmem.hinclude/linux/switch.hinclude/linux/keychord.hinclude/linux/earlysuspend.hinclude/linux/android_aid.hinclude/linux/uid_stat.hinclude/linux/if_pppolac.hinclude/linux/usb/android.hinclude/linux/wifi_tiwlan.hinclude/linux/android_alarm.hinclude/linux/keyreset.hinclude/linux/synaptics_i2c_rmi.hinclude/linux/android_pmem.hinclude/linux/kernel_debugger.hinclude/linux/gpio_event.hinclude/linux/wakelock.hinclude/linux/if_pppopns.hnet/ipv4/sysfs_net_ipv4.cnet/ipv4/af_inet.cnet/ipv6/af_inet6.cnet/bluetooth/af_bluetooth.csecurity/commoncap.c
fs/proc/base.c
Android内核配置
Android是基于Linux的,对于一个新的设备,我们首先要编译一个支持Android的Kernel,那么如何使你的KernelAndroid化呢?除了要移植前面提到的驱动之外,就是如何配置你的Kernel来支持Android平台,这可以参考Goldfish的内核配置文件-arch/arm/configs/goldfish_defconfig。
一般来说,我们会基于一个平台标准内核配置选项来配置Android内核,你可以根据具体的硬件平台来选择Android内核的配置选项,可以参考下面的Android内核配置
列表:一般需要支持的内核选项ANDROID_PARANOID_
NETWORKASHMEMCONFIG_FB_MODE_HELPERSCONFIG_FONT_8x16CONFIG_FONT_8x8CONFIG_YAFFS_SHORT_NAMES_IN_RAMDABEARLYSUSPENDFB
FB_CFB_COPYAREAFB_CFB_FILLRECTFB_CFB_IMAGEBLITFB_DEFERRED_IOFB_TILEBLITTINGHIGH_RES_TIMERSINOTIFYINOTIFY_USERINPUT_EVDEVINPUT_GPIOINPUT_MISCLEDS_CLASSLEDS_GPIOLOCK_KERNELLkOGGERLOW_MEMORY_KILLERMISC_DEVICESNEW_LEDSNO_HZPOWER_SUPPLYPREEMPTRAMFS
RTC_CLASSRTC_LIBSWITCHSWITCH_GPIOTMPFSUID_STATUID1