Kernel Sources for Android 4.0 - Ice Cream Sandwich

霸气de小男生 提交于 2019-12-12 04:48:14

问题


I have downloaded Android 4.0 sources as per the instructions given in the following link : http://source.android.com/source/initializing.html

I have downloaded the sources successfully without any issues. However, I did not find the kernel sources in it. Later I found that there are kernel sources available at the following link.

source.android.com/source/building-kernels.html

However, these sources are device specific except the following :

$ git clone https://android.googlesource.com/kernel/common.git

Am I correct?

Actually, I have my own board with ARM 926 EJ processor which is working fine with 2.6.10 kernel version and it is up and running with this kernel version.

My idea is to port the Android 4.0/earlier versions on to this board. My idea is as follows.

  1. I will take the latest kernel which is used for Android 4.0 and add my patches from 2.6.10 to the latest android kernel and boot it.
  2. Then, I will add the Android user space sources and try to boot Android from my board.

Questions: Which kernel sources shall I use i.e. from kernel.org or above common.git? Is Android 4.0 based on 2.6.29 kernel version?

Please let me know, if you need any more information.


回答1:


No, ICS is based on Linux kernel 3.0.1.

You should be right with $ git clone https://android.googlesource.com/kernel/common.git

My source: http://source.android.com/source/building-kernels.html



来源:https://stackoverflow.com/questions/10510433/kernel-sources-for-android-4-0-ice-cream-sandwich

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!