you dont need to do all those steps.
Android modified kernels are available and can be built out of the
box.
http://android.git.kernel.org/?p=kernel/linux-2.6.git;a=tree
clone whichever branch you need (msm etc)
Cheers,
Earlence
> On Tue, Feb 15, 2011 at 3:14 AM, raja pavan <
rajain...@gmail.com> wrote:
> > *Try with these steps *
>
> > (1) Take the kernel running on your phone.
> > (2) Download the vanila kernel with the same version as above.
> > (3) Do a winmerge/meld (or any other diff-merge tool).
> > These differences (go deep into the source tree mainly in the arch/arm
> > folder if your phone is based on ARM or into the specific processor specific
> > arch code) are *chip driver* of your phone (hardware specific code), the
> > differences will be distributed in 10-15 places.
> > (4) Take *diff *of the 1&2 , this will be the chip driver.
> > (5) Logically attach this* diff* to the kernel of your choice.
> > (6) Build the kernel.
> > (7) Logically fix *each and every build error* encountered while building
> > the kernel.
>
> > Do not hesitate to move/replace some header files from phone kernel
> > (mainly from arch/arm folder) to new kernel, as it is, in this process.
>
> > This is the correct and proven approach
>
> > Wishes
> > Raja Pavan
> > On Mon, Feb 14, 2011 at 2:06 AM, Aldrin Montana <
drinmont...@gmail.com>wrote:
>
> >> Hi,
>
> >> Just to expand on this thread, I managed to successfully boot 2.6.29
> >> goldfish on an emulator, but I'm curious how to compile a kernel for an
> >> actual device? particularly an HTC G1. Is it suggested that I continue to
> >> use the 2.6.29 kernel, or should I use a newer version?
>
> >> I tried compiling 2.6.35 previously and none of my config files seemed to
> >> be correct as I kept getting compile errors or the emulator would not boot
> >> the compiled kernel (this is using the msm_config or a goldfish_defconfig
> >> pulled from the running emulator running platform 2.3 and api level 9 via
> >> adb get).
>
> >> On Mon, Jan 31, 2011 at 9:26 AM, raja pavan <
rajain...@gmail.com>wrote:
>
> >>> Most Welcome
>
> >>> Is it possible to share the reason why you have built a new kernel for
> >>> emulator?
>
> >>> If possible share the .config
>
> >>> Thanks
> >>> Raja
>
> >>> On Mon, Jan 31, 2011 at 9:45 PM, Peter Fortuin <
peter.fort...@gmail.com>wrote:
>
> >>>> I have a running kernel now.
> >>>> Thanks for the help!
>
> >>>> 2011/1/31 raja pavan <
rajain...@gmail.com>
>
> >>>>> You can even pull the .config of the kernel running in the emulator
>
> >>>>> adb pull /proc/config.gz
>
> >>>>> Then make whatever changes you would like to the kernel configuration
> >>>>> and use this kernel on emulator.
>
> >>>>> This makes sense ?
>
> >>>>> Raja
>
> >>>>>> projects <
http://android.git.kernel.org/> / kernel/common.git<
http://android.git.kernel.org/?p=kernel/common.git;a=summary>
> >>>>>> (2.6.29, goldfish)
> >>>>>> snapshot
>
> >>>>>> I was able to download and start the build. need to test the same on
> >>>>>> emulator.
>
> >>>>>>> > > > > unsubscribe:
android-kerne...@googlegroups.com<
android-kernel%2Bunsu...@googlegroups.com>
> >>>>>>> > > unsubscribe:
android-kerne...@googlegroups.com<
android-kernel%2Bunsu...@googlegroups.com>
> >>>>>>> unsubscribe:
android-kerne...@googlegroups.com<
android-kernel%2Bunsu...@googlegroups.com>
> >>>>>>> website:
http://groups.google.com/group/android-kernel
>
> >>>>> --
> >>>>> unsubscribe:
android-kerne...@googlegroups.com<
android-kernel%2Bunsu...@googlegroups.com>
> >>>>> website:
http://groups.google.com/group/android-kernel
>
> >>>> --
> >>>> unsubscribe:
android-kerne...@googlegroups.com<
android-kernel%2Bunsu...@googlegroups.com>
> >>>> website:
http://groups.google.com/group/android-kernel
>
> >>> --
> >>> unsubscribe:
android-kerne...@googlegroups.com<
android-kernel%2Bunsu...@googlegroups.com>
> >>> website:
http://groups.google.com/group/android-kernel
>
> >> --
> >> unsubscribe:
android-kerne...@googlegroups.com<
android-kernel%2Bunsu...@googlegroups.com>
> >> website:
http://groups.google.com/group/android-kernel
>
> > --
> > unsubscribe:
android-kerne...@googlegroups.com<
android-kernel%2Bunsu...@googlegroups.com>
> > website:
http://groups.google.com/group/android-kernel