WEB开发网
开发学院手机开发Android 开发 Android内核的简单分析 阅读

Android内核的简单分析

 2010-05-31 17:28:00 来源:WEB开发网   
核心提示:另外GoldFish平台相关的驱动文件如下:1. 字符输出设备:kernel/drivers/char/goldfish_tty.c2. 图象显示设备: (Frame Buffer)kernel/drivers/video/goldfishfb.c3. 键盘输入设备:kernel/drivers/input/keybo

另外GoldFish平台相关的驱动文件如下:

1. 字符输出设备:

kernel/drivers/char/goldfish_tty.c

2. 图象显示设备: (Frame Buffer)

kernel/drivers/video/goldfishfb.c

3. 键盘输入设备:

kernel/drivers/input/keyboard/goldfish_events.c

4. RTC设备: (Real Time Clock)

kernel/drivers/rtc/rtc-goldfish.c

5. USB Device设备:

kernel/drivers/usb/gadget/android_adb.c

6. SD卡设备:

kernel/drivers/mmc/host/goldfish.c

7. FLASH设备:

kernel/drivers/mtd/devices/goldfish_nand.c

kernel/drivers/mtd/devices/goldfish_nand_reg.h

8. LED设备:

kernel/drivers/leds/ledtrig-sleep.c

9. 电源设备:

kernel/drivers/power/goldfish_battery.c

10. 音频设备:

kernel/arch/arm/mach-goldfish/audio.c

11. 电源管理:

kernel/arch/arm/mach-goldfish/pm.c

12. 时钟管理:

kernel/arch/arm/mach-goldfish/timer.c

下面的链接为Android Kernel和标准Linux-2.6.25包相比较所产生的PATCH包, 其中比较小的other patch包是除了上面列出的增加文件之外所修改的文件细节,供大家参考。

http://blogimg.chinaunix.net/blog/upfile2/090102095410.gz

以下为Android内核启动信息:

Uncompressing Linux.................................................................................... done, booting the kernel.

emulator: emulator window was out of view and was recentred

Linux version 2.6.25-00350-g40fff9a (android-build@apa27.mtv.corp.google.com) (gcc version 4.2.1) #1 Wed Jul 23 18:10:44 PDT 2008

CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00003137

Machine: Goldfish

Memory policy: ECC disabled, Data cache writeback

CPU0: D VIVT write-through cache

CPU0: I cache: 4096 bytes, associativity 4, 32 byte lines, 32 sets

CPU0: D cache: 65536 bytes, associativity 4, 32 byte lines, 512 sets

上一页  1 2 3 4 5 6 7  下一页

Tags:Android 内核 简单

编辑录入:coldstar [复制链接] [打 印]
赞助商链接