Android Kernel Download
来源:互联网 发布:ios 彩票源码 编辑:程序博客网 时间:2024/05/22 08:28
come from http://elinux.org/Android_Kernel_Download
See http://source.android.com/source/building-kernels.html
Most of following information is outdated.
Main Google Android Kernels
The main Google repository with Android source code is at: http://android.git.kernel.org/
There are (as of September 2009) 4 main separate kernel repositories at that site:
- common
- experimental
- msm
- omap
To download one of these and use it directly, you can use git. For example:
git clone git://android.git.kernel.org/kernel/common.git kernel
To preserve your sanity, it's probably worth downloading this into a 'kernel' directory in your overall Android source directory scheme
You can use repo, following the instructions at http://source.android.com/download, to pull down the entire Android source. However, when you download the rest of the Android source code, using the 'repo' command, you do NOT automatically get a kernel tree included. That is, a kernel git tree is not referenced in the default Android manifest file,
To add projects, such as the kernel, to your overall Android repository scheme, you add the appropriate kernel repository to your local manifest.xml file. This file is located in the .repo directory.
To include the kernel/common tree, include a line like this in .repo/manifest.xml:
<project path="kernel/common" name="kernel/common" />
The complete list of projects (including other kernel options besides kernel/common) is listed onhttp://android.git.kernel.org/.
Note that the default revision for git repositories is specified in the <default> tag in manifest.xml as "revision=master" but the kernel/common repository may not have a head called "master". In that case if you just type "repo sync kernel/common" you may see the message:
error: revision master in kernel/common not found
Typically the heads in the kernel/common repository will be called android-2.6.x (where x is the kernel number); specifying this number in the manifest should allow repo to sync properly, i.e.:
<project path="kernel/common" name="kernel/common" revision="android-2.6.27"/>
You can view the heads by clicking on the project link from http://android.git.kernel.org/.
For more about repo, see http://source.android.com/download/using-repo
Other Repositories with Android-specific changes
- Linux kernel for omap and beagle-board, by Embinux: http://labs.embinux.org/git/cgit.cgi/repo/kernel.git
- clone with: git clone git://labs.embinux.org/repo/kernel.git kernel
'Raw' Android kernel patches
I do not know of any freely available patches for the Linux kernel with the Android fixes, as of November 2009. I have, however, heard of multiple efforts to extract the patches to make it easier to port the Android kernel features onto newer Linux kernels.
Here is a way of extracting raw Android patches at a certain point in time, though this may be dated:
git clone git://android.git.kernel.org/kernel/common.git android-kernelcd android-kernelgit checkout --track -b android-2.6.32 origin/android-2.6.32git fetch --tags git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.32.y.gitgit shortlog v2.6.32.9..HEADgit format-patch v2.6.32.9..HEAD
Sum total 173 patches for the 2.6.32.9 kernel as of writing.
If anyone knows where raw android kernel patches are available, please add a link here. See also theAndroid Kernel Features page for more information about individual kernel features.
- Android Kernel Download
- Android kernel Download
- Android kernel Download
- Android Kernel Download
- Download Android kernel
- How to download the android kernel
- download android kernel for galaxy nexus
- android 源码域名变更 kernel download (下载)方法
- android 源码域名变更 kernel download (下载)方法
- download kernel-source
- Download Linux Kernel
- Download new linux kernel, make
- Download Linux Kernel source code
- Android Download
- android download
- android--Download
- android download
- download kernel by minicom in ubuntu
- avahi-daemon
- C语言内存管理的艺术
- 广告联盟反作弊一些常识
- HDU 1429 胜利大逃亡(续)
- 一篇相当不错的js function详解 读了一定有收获
- Android Kernel Download
- 磁盘性能指标--IOPS 理论
- onfiing翻页和ontouch翻页处理
- <Linux+Qt>QDialog
- 银行结算方式有哪些
- C语言指针的故事
- STM32芯片锁死问题
- 论Android Adapter notifyDataSetChanged 与notifyDataSetInvalidated无效原因
- SQL SERVER 用命令附加数据库