Hi, you have to specify the target images. One simple way is to set the
environment variable ANDROID_TARGET_OUT to
<mydroid>/out/target/product/generic/ before launching the emulator.

BRs,
William W.-Y. Liang
http://www.ntut.edu.tw/~wyliang
--- this mail was sent from my phone ---
2012-4-14 上午12:23 於 "Ninja Turtle" <[email protected]> 寫道:

> Thanks Mark.
>
> I successfully compiled the Goldfish kernel.
> However I get a black screen when I start the emulator with:
>
> emulator -kernel <path to zImage> -verbose
>
> I also tried :
>
> emulator  -partition-size 1024 -wipe-data -kernel <path to zImage> -verbose
>
> but with little success.
>
> Any idea?
>
> On Fri, Apr 13, 2012 at 5:40 PM, mark gross <[email protected]> wrote:
>
>> ????
>>
>> git clone https://android.googlesource.com/kernel/goldfish
>> git checkout android-goldfish-2.6.29
>>
>> um.. profit !?
>>
>> BTW You may want to use the emulator to get the config file off the
>> emulator to use as a starting point.
>>
>> 'adb pull /proc/config.gz .'
>> 'gunzip config.gz'
>>
>> --mark
>>
>>
>> On Fri, Apr 13, 2012 at 8:33 AM, Ninja Turtle <
>> [email protected]> wrote:
>>
>>> @Patrick: So, should I change the URL?
>>>
>>> @mark: Can you please clarify the procedure?
>>> And has anyone tried to run iptables on emulator?
>>>
>>> On Fri, Apr 13, 2012 at 5:17 PM, mark gross <[email protected]> wrote:
>>>
>>>>
>>>> FWIW I don't hink the emulator kernel is in the common.git project.
>>>>
>>>>
>>>> aosp    https://android.googlesource.com/kernel/goldfish (fetch)  <--
>>>> I think its in here. and is the android-goldfish-2.6.29 branch.
>>>>
>>>> <5>Linux version 2.6.29-g46b05b2 (
>>>> [email protected]) (gcc version 4.4.3 (GCC) )
>>>> #28 Thu Nov 17 06:39:36 PST 2011
>>>>
>>>>   android-goldfish-2.6.29 ef9c64a x86: vbox_defconfig: enable
>>>> CONFIG_INPUT_MOUSE
>>>>
>>>> --mark
>>>>
>>>>
>>>>
>>>> On Fri, Apr 13, 2012 at 7:55 AM, patrick Immling <
>>>> [email protected]> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I finally downloaded from
>>>>>
>>>>> git clone http://android.googlesource.com/kernel/common.git
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> and got the sources
>>>>>
>>>>>
>>>>> On Fri, Apr 13, 2012 at 3:12 PM, mike digioia <[email protected]>wrote:
>>>>>
>>>>>> looks like your ip is being rejected for some reason. did you setup
>>>>>> ssh?
>>>>>>
>>>>>>
>>>>>> On Fri, Apr 13, 2012 at 1:36 AM, Ninja Turtle <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I am trying to download the kernel sources of android for emulator
>>>>>>> so that I can run iptables nat commands and play around.
>>>>>>>
>>>>>>> I got the android 4.1 sources and compiled them. Now I am trying to
>>>>>>> download the kernel using: git clone git://
>>>>>>> android.git.kernel.org/kernel/common.git kernel
>>>>>>>
>>>>>>> It returns the following error:
>>>>>>>
>>>>>>> Initialized empty Git repository in
>>>>>>> /home/mydir/WORKING_DIRECTORY/kernel/.git/ android.git.kernel.org[0:
>>>>>>> 149.20.4.77]: errno=Connection refused fatal: unable to connect a socket
>>>>>>> (Connection refused)
>>>>>>>
>>>>>>> Any idea?
>>>>>>>
>>>>>>> I had downloaded the repo script to download the android sources, so
>>>>>>> then I tried adding
>>>>>>>
>>>>>>> in manifest.xml under .repo and then I did:
>>>>>>>
>>>>>>> repo sync
>>>>>>>
>>>>>>> However, this again resulted in the same error as above.
>>>>>>>
>>>>>>> Please help
>>>>>>>
>>>>>>> --
>>>>>>> unsubscribe: [email protected]
>>>>>>> website: http://groups.google.com/group/android-kernel
>>>>>>
>>>>>>
>>>>>>  --
>>>>>> unsubscribe: [email protected]
>>>>>> website: http://groups.google.com/group/android-kernel
>>>>>>
>>>>>
>>>>>  --
>>>>> unsubscribe: [email protected]
>>>>> website: http://groups.google.com/group/android-kernel
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> create interesting things.
>>>>
>>>>  --
>>>> unsubscribe: [email protected]
>>>> website: http://groups.google.com/group/android-kernel
>>>>
>>>
>>>  --
>>> unsubscribe: [email protected]
>>> website: http://groups.google.com/group/android-kernel
>>
>>
>>
>>
>> --
>> create interesting things.
>>
>> --
>> unsubscribe: [email protected]
>> website: http://groups.google.com/group/android-kernel
>>
>
>  --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-kernel

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to