Android对Kernel的改动汇总

From: http://www.linuxfordevices.com/files/misc/porting-android-to-a-new-device-p3.html

 

 

Goldfish -- 44 files
Chgarch/arm/MakefileAdd CONFIG_ARCH_GOLDFISH
Newarch/arm/configs/goldfish_defconfigDefault config file when building a kernel for the goldfish CPU
Newarch/arm/mach-goldfish/KconfigAdd kernel config for Goldfish CPU.
Newarch/arm/mach-goldfish/MakefileAdd compile board-goldfish.o
Newarch/arm/mach-goldfish/Makefile.bootBoot configuration for the goldfish CPU
Newarch/arm/mach-goldfish/audio.cAudio input/output
Newarch/arm/mach-goldfish/board-goldfish.cIRQs, io, etc.
Newarch/arm/mach-goldfish/pdev_bus.cPlatform device bus
Newarch/arm/mach-goldfish/pm.cPower management
Newarch/arm/mach-goldfish/switch.cSwitch controls
Newarch/arm/mach-goldfish/timer.cGet and set timers
Chgarch/arm/mm/KconfigAdd ARCH_GOLDFISH to support list for ARM926T
Chgdrivers/char/MakefileAdd goldfish_tty
Newdrivers/char/goldfish_tty.cTTY driver
Chgdrivers/input/keyboard/KconfigAdded config option for Goldfish keyboard events
Chgdrivers/input/keyboard/MakefileAdd goldfish_events
Newdrivers/input/keyboard/goldfish_events.cGoldfish keyboard driver
Chgdrivers/mmc/host/KconfigAdd kernel config option for Goldfish MMC card
Chgdrivers/mmc/host/MakefileAdd goldfish MMC card driver
Newdrivers/mmc/host/goldfish.cMulti Media Card driver
Chgdrivers/mtd/devices/KconfigAdd kernel config option for Goldfish NAND flash device support
Chgdrivers/mtd/devices/MakefileAdd goldfish_nand
Newdrivers/mtd/devices/goldfish_nand.cNAND flash driver
Newdrivers/mtd/devices/goldfish_nand_reg.hNAND flash driver
Chgdrivers/power/KconfigAdd kernel config for goldfish battery driver
Chgdrivers/power/MakefileAdd goldfish_battery
Newdrivers/power/goldfish_battery.cPower and battery status driver
Chgdrivers/rtc/KconfigAdd kernel config for goldfish rtc driver
Chgdrivers/rtc/MakefileAdd rtc-goldfish
Newdrivers/rtc/rtc-goldfish.cReal-time clock driver
Chgdrivers/video/KconfigAdd goldfish framebuffer
Chgdrivers/video/MakefileAdd goldfish framebuffer
Newdrivers/video/goldfishfb.cVideo framebuffer driver
Newinclude/asm-arm/arch-goldfish/dma.h
Newinclude/asm-arm/arch-goldfish/entry-macro.S
Newinclude/asm-arm/arch-goldfish/hardware.h
Newinclude/asm-arm/arch-goldfish/io.h
Newinclude/asm-arm/arch-goldfish/irqs.h
Newinclude/asm-arm/arch-goldfish/memory.h
Newinclude/asm-arm/arch-goldfish/system.h
Newinclude/asm-arm/arch-goldfish/timer.h
Newinclude/asm-arm/arch-goldfish/timex.h
Newinclude/asm-arm/arch-goldfish/uncompress.h
Newinclude/asm-arm/arch-goldfish/vmalloc.h
YAFFS2 -- 35 files
Chgfs/KconfigAdd include for YAFFS Kconfig
Chgfs/MakefileAdd yaffs
Newfs/yaffs2/Kconfig
Newfs/yaffs2/Makefile
Newfs/yaffs2/devextras.h
Newfs/yaffs2/moduleconfig.h
Newfs/yaffs2/yaffs_checkptrw.c
Newfs/yaffs2/yaffs_checkprtw.h
Newfs/yaffs2/yaffs_ecc.c
Newfs/yaffs2/yaffs_ecc.h
Newfs/yaffs2/yaffs_fs.c
Newfs/yaffs2/yaffs_getblockinfo.h
Newfs/yaffs2/yaffs_guts.c
Newfs/yaffs2/yaffs_guts.h
Newfs/yaffs2/yaffs_mtdif.c
Newfs/yaffs2/yaffs_mtdif.h
Newfs/yaffs2/yaffs_mtddif1.c
Newfs/yaffs2/yaffs_mtddif1.h
Newfs/yaffs2/yaffs_mtddif2.c
Newfs/yaffs2/yaffs_mtddif2.h
Newfs/yaffs2/yaffs_nand.c
Newfs/yaffs2/yaffs_nand.h
Newfs/yaffs2/yaffs_nandemul2k.h
Newfs/yaffs2/yaffs_packedtags1.c
Newfs/yaffs2/yaffs_packedtags1.h
Newfs/yaffs2/yaffs_packedtags2.c
Newfs/yaffs2/yaffs_packedtags2.h
Newfs/yaffs2/yaffs_qsort.c
Newfs/yaffs2/yaffs_qsort.h
Newfs/yaffs2/yaffs_tagscompat.c
Newfs/yaffs2/yaffs_tagscompat.h
Newfs/yaffs2/yaffs_tagsvaliditiy.c
Newfs/yaffs2/yaffs_tagsvalidity.h
Newfs/yaffs2/yaffsinterface.h
Newfs/yaffs2/yportenv.h
Bluetooth -- 10 files
Chgdrivers/bluetooth/KconfigAdd change so kernel config can select new 'HCI UART Debug'
Chgdrivers/bluetooth/hci_II.cAdd BT_DBG() macro if 'HCI UART Debug' is defined in kernel config
Chgnet/bluetooth/KconfigAdd config options for debug of bluetooth L2CAP, generic sockets, HCI_CORE, HCI_SOCK, and voice
Chgnet/bluetooth/af_bluetooth.cAdd security checks to bluetooth functions if CONFIG_ANDROID_PARANOID_NETWORK is defined
Chgnet/bluetooth/hci_event.cFix bugs related to bluetooth encryption and voice support
Chgnet/bluetooth/rfcomm/core.cBug fixes
Chgnet/bluetooth/rfcomm/sock.cBug fix
Chgnet/bluetooth/sco.cAdd ability to disable SCO connections
Chginclude/net/bluetooth/hci_core.hDisable LMP_ESCO due to apparent eSCO bug in stack
Chginclude/net/bluetooth/rfcomm.hAdd 'out' parameter to rfcomm_dlc structure
Scheduler -- 5 files
Chgkernel/sched.cAdds NORMALIZED_SLEEPER feature to scheduler features set
Chgkernel/sched_fair.cModifies kernel scheduling algorithm in various small ways
Chgkernel/softirq.cModifications for CPU scheduler tuning
Chgkernel/time/tick-sched.cModifications for CPU scheduler tuning
Chginclude/linux/tick.hAdd tick_nohz_update_stopped_sched_tick() if CONFIG_NO_HZ defined
New Android Drivers -- 28 files
Chgdrivers/KconfigInclude sub-Kconfig files
Chgdrivers/MakefileAdd drivers/switch and drivers/android
Newdrivers/android/KconfigAdd BINDER_IPC, POWER, POWER_STAT, POWER_ALARM, LOGGER, RAM_CONSOLE, TIMED_GPIO, PARANOID_NETWORK to config
Newdrivers/android/MakefileAdd options to compile binder.o, power.o, alarm.o, logger.o, ram_console.o, timed_gpio.
Newdrivers/android/alarm.cSystem alarm clock and real-time clock management
Newdrivers/android/binder.cBinder transactional IPC system
Newdrivers/android/logger.cGoogle's logging API
Newdrivers/android/ram_console.cLog console messages to RAM
Newdrivers/android/timed_gpio.cGoogle's Timed GPIO driver
Newdrivers/switch/KconfigKernel config option for GPIO switch support
Newdrivers/switch/MakefileMakefile inlcude for GPIO switch driver
Newdrivers/switch/switch_class.cAllows for userspace monitoring of generic switches
Newdrivers/switch/switch_gpio.cImplementation for GPIO-specific switches
Chgdrivers/usb/gadget/KconfigAdd kernel config option for Android Debug Bridge (ADB)
Chgdrivers/usb/gadget/MakefileCompile Android Debug Bridge (ADB) based on above kernel config option
Newdrivers/usb/gadget/android_adb.cAndroid Debug Bridge driver
Newinclude/linux/android_aid.hAdds AIDs for BT, INET, and networking
Newinclude/linux/android_alarm.hGet and set real-time and other alarms
Newinclude/linux/android_timed_gpio.hStruct definitions for timed GPIOs
Newinclude/linux/ashmem.hAndroid shared memory definitions
Newinclude/linux/binder.hBinder IPC API definition
Newinclude/linux/logger.hLogger definitions
Newinclude/linux/switch.hGPIO switch interface
Chgmm/MakefileCompile ashmem.o based on kernel config
Newmm/ashmem.cAnonymous SHared MEMory implementation
Chgdrivers/misc/KconfigAdd kernel config option for LOW_MEMORY_KILLER
Chgdrivers/misc/MakefileAdd lowmemorykiller.c
Newdrivers/misc/lowmemorykiller.cWhen memory is low, selects a process and kills it
Power Management -- 5 files
Newinclude/linux/android_power.hAndroid power management API definitions
Newdrivers/android/power.cAndroid power management API implementation
Chgdrivers/input/evdev.cModified for android power handling
Chgfs/inotify_user.cModified for android power handling
Chgkernel/power/process.cModified for android power handling
Miscellaneous -- 36 files
NewDocumentation/vm/pagemap.txt
Chgarch/arm/KconfigAdd HAVE_LATENCYTOP_SUPPORT, ARCH_GOLDFISH
Chgarch/arm/kernel/process.cAdd dump_task_regs function
Chgarch/arm/kernel/signal.cAdd code to deal with system calls that can't be restarted
Chgarch/arm/kernel/stacktrace.cAdd code to improve debug stacktraces
Chgarch/arm/mm/abort-ev6.SNot sure. Bugfix?
Chgdrivers/char/KconfigAdd "Memory device driver" and "Goldfish TTY driver"
Chgdrivers/char/mem.cAdds code to enable compile-out of /dev/kmem and /dev/mem
Chgdrivers/leds/KconfigAdd config to turn LEDS on when CPU is running, but screen is off
Chgdrivers/leds/MakefileAdd change to compile ledtrig-sleep.o depending on above option
Newdrivers/leds/ledtrig-sleep.cTurns leds on when the screen is off but the CPU still running
Chgdrivers/rtc/class.cFix bug related to error accumulation in real-time clock
Chgfs/fat/dir.cAdd VFAT_IOCTL_GET_VOLUME_ID to fat_dir_ioctl()
Chgfs/fat/inode.cAdd code to read FAT BSX from MS-DOS FAT Superblock
Chgfs/proc/base.cModify /proc for files related to out-of-memory adjuster
Chgfs/proc/proc_misc.cChanged kpagecount_read and kpageflags_read to return EINVAL instead of EIO on some errors
Chgfs/proc/task_mmu.cSimplify error checking in add_to_pagemap, and add parameter check that returns faster in some cases
Chginclude/asm-arm/elf.hAdd macro ELF_CORE_COPY_TASK_REGS() that calls dump_task_regs(...)
Chginclude/linux/mm.hAdd function prototype for shmem_set_file(...)
Chginclude/linux/msdos_fs.hAdd VFAT_IOCTL_GET_VOLUME_ID ioctl macro
Chgkernel/hrtimer.cApparears to fix a bug in run_hrtimer_pending
Chginit/KconfigAdd PANIC_TIMEOUT which defaults to 0
Chgkernel/panic.cSets default panic_timeout to PANIC_TIMEOUT from Kconfig
Chgkernel/power/console.cAppears to fix a related to virtual console restore error message
Chgkernel/printk.cappears to fix printk bugs from when system is suspended/resumed
Chgmm/filemap.cAppears to fix bug in filemap_fault, which is used read in file data during a page fault
Chgmm/shmmem.cRefactor shmem_zero_setup
Chgmm/tiny-shmem.cRefactor shmem_zero_setup
Chginclude/linux/sockios.hadd SIOCKILLADDR socket configuration control to 'kill sockets with this local address'
Chginclude/net/tcp.hAdd tcp_v4_nuke_addr function
Chgnet/ipv4/MakefileCompile sysfs_net_ipv4 if CONFIG_SYSFS set
Chgnet/ipv4/af_inet_cAdd security checking if CONFIG_ANDROID_PARANOID_NETWORK defined
Chgnet/ipv4/devinet.cAdd SIOCKILLADDR to kill all sockets on an address to devinet_ioct
Chgnet/ipv4/sysfs_net_ipv4.cAdd ability to control TCP window lengths
Chgnet/ipv4/tcp_ipv4.cAdd tcp_v4_nuke_addr function to kill all sockets on an address
Chgnet/ipv6/af_inet6.cAdd security checking if CONFIG_ANDROID_PARANOID_NETWORK defined
Netfilter -- 22 files
ChgfilesOnly filenames differ (xt_DSCP.c vs xt_dscp.c). Contents are identical.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值