Dalvik virtual machine build on x86

21 views
Skip to first unread message

Rakesh Kumar

unread,
Sep 29, 2009, 5:38:38 AM9/29/09
to android...@googlegroups.com, s.a...@gmail.com
Hi All,
          I want to build Dalvik on x86 platform. Please tell me the procedure to build Dalvik for x86 and run it.
          How can I use the scripts present at this link
http://code.google.com/p/dvk

Regards
Rakesh

Avtar Singh

unread,
Sep 29, 2009, 5:43:56 AM9/29/09
to android...@googlegroups.com

How to build: http://code.google.com/p/dvk/wiki/Installing
How to run inside a virtual machine: http://groups.google.com/group/android-porting/msg/32b3709b4ae4f1d5

Are you not able to build / getting any errors while building?

Avtar Singh

unread,
Sep 29, 2009, 6:35:46 AM9/29/09
to android...@googlegroups.com

It is the "idvk" file you see in the folder where you have extracted idvk.tar. Typing ./idvk instead of ./idvk.sh will do fine:

./idvk get
./idvk build x86


On Tue, Sep 29, 2009 at 3:24 PM, Rakesh Kumar <rakes...@gmail.com> wrote:

I am sorry but I am not able to find any idvk.sh file.

Rakesh


On Tue, Sep 29, 2009 at 3:08 PM, Rakesh Kumar <rakes...@gmail.com> wrote:

Rakesh Kumar

unread,
Sep 29, 2009, 6:44:26 AM9/29/09
to android...@googlegroups.com
Thank you very much for your great help.


Rakesh

Rakesh Kumar

unread,
Sep 30, 2009, 2:26:28 AM9/30/09
to android...@googlegroups.com
Hi All,
          I have prepared the installer.img file. And the result of sfdisk -l installer.img is
          for C/H/S=*/256/63 (instead of 12/255/63).

          And on this basis I have made the following installer.vmdk file
 
# Disk DescriptorFile
version=1
CID=b01deebc
parentCID=ffffffff
createType="monolithicFlat"
# Extent description
RW 794622 FLAT "installer.img" 0
# The Disk Data Base
#DDB
ddb.virtualHWVersion = "4"
ddb.geometry.cylinders = "12"
ddb.geometry.heads = "255"
ddb.geometry.sectors = "63"
ddb.adapterType = "ide"
ddb.toolsVersion = "0"



When I am trying to add this vmdk file. I am getting the error as "This file is not a virtual disk file".
Please help me where I am wrong.


Regards
Rakesh

Rakesh Kumar

unread,
Sep 30, 2009, 3:15:41 AM9/30/09
to android...@googlegroups.com
Hi,
    Please tell me the procedure to create the vmdk file.

Thanks
Rakesh

Chen Yang

unread,
Sep 30, 2009, 4:04:17 AM9/30/09
to android...@googlegroups.com
Have you put the vmdk file together with the installer.img and be sure that the installer.img can be accessed by current user. I cannot see obvious problem in your steps in creating the vmdk. Hope it helps.
--
Chen

Reply all
Reply to author
Forward
0 new messages