Yes, I did figure it out.  The kernel that's in the complete package
(that you get when you check out manifest.git) is not appropriate for
the emulator.  You have to get the correct branch.

Here's what I did:
$ git clone git://android.git.kernel.org/kernel/common.git
$ git checkout -t origin/android-goldfish-2.6.27 -b goldfish
$ cd common # the kernel source is now in here
$ make goldfish_defconfig

Then build it and run it.

You can check whether the emulator is indeed running the kernel by
specifying the -show-kernel flag to the emulator.  If you don't see
something about booting the kernel and the usual Linux startup stuff,
it isn't actually loading it, which is what will happen if you've
built the kernel that's in manifest.git.

Hope that helps,
--Juan

On Tue, Jul 7, 2009 at 10:33 AM, boberto<mrbobj...@gmail.com> wrote:
>
> I'm having the exact same problem on ubuntu linux.  With the latest
> checkout, the kernel builds, the emulator runs it, but the UI never
> pops up.
> anyone have any ideas how to fix this or what we're supposed to do?!?!
>
> thanks,
> -Bob
>
> On Jun 16, 10:16 am, Juan Lang <juan.l...@gmail.com> wrote:
>> Hi Neo, thanks for the reply.
>>
>> > You have to apply android specific patches to thekernelbefore
>> > building.
>>
>> Could you point me to patches?  I looked atmysourcekerneltree, and
>> it has e.g. the yaffs2 filesystem already, so I assumed it already had
>> the android patches applied.  This is thekerneltree that I get when
>> I 'repo init -u git://android.git.kernel.org/platform/manifest.git &&
>> repo sync', not a vanilla Linuxkernel.
>>
>> I have been trying to RTFM, but if there's one I missed, by all means
>> direct me to it.  Thanks!
>> --Juan
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
-~----------~----~----~----~------~----~------~--~---

Reply via email to