Meego Wiki
Views

SDK/Tablet/VirtualBox

From MeeGo wiki
< SDK | Tablet(Difference between revisions)
Jump to: navigation, search
(Fixed dead link)
 
(15 intermediate revisions not shown)
Line 1: Line 1:
-
=== Download and install VirtualBox ===
+
== Download and install VirtualBox ==
-
Download VirtualBox from the official website: Download VirtualBox. Before downloading and installing, you have to agree to the terms and conditions of the respective license. Please follow the installation instructions to install VirtualBox step by step.
+
Download VirtualBox from the official website: [http://www.virtualbox.org/wiki/Downloads Download VirtualBox]. Before downloading and installing, you have to agree to the terms and conditions of the respective license. Please follow the installation instructions to install VirtualBox step by step.
-
=== Convert MeeGo image for VirtualBox ===
+
== Create MeeGo image for VirtualBox ==
-
Please download the latest tablet image from this link:MeeGo Tablet Images for SDK
+
Please download the latest tablet image from this link: [http://repo.meego.com/MeeGo/builds/trunk/latest/images/meego-tablet-ia32-qemu/ MeeGo Tablet Images for SDK]
 +
=== Unpack the image tarball ===
 +
$ tar jxf  meego-tablet-ia32-qemu-${version}-raw.tar.bz2
 +
=== Convert the image for VirtualBox ===
 +
Converts a raw disk image to a VirtualBox Disk Image (VDI) file by VBoxManage tool(which is placed at the VirtualBox installation directory):
 +
$ cd meego-tablet-ia32-qemu-${version}-raw
 +
$ VBoxManage convertfromraw meego-tablet-ia32-qemu-${version}-sda.raw meego-tablet-ia32-qemu-${version}-sda.vdi
-
==== Unpack the image tarball ====
+
=== Run MeeGo image in VitualBox ===
-
$ tar jxf meego-tablet-ia32-sdk-1.1.90.2.20110209.4-raw.tar.bz2
+
Create a new virtual machine, and the setting as the screenshot below. You should choose the storage disk as the vdi image you have created in above step. For getting the advantage of CPU virtualization technologies, you should enable the VT option in VirtualBox 
 +
[[File:MeeGo Tablet VBox.png|800px]]
-
=== Convert the image for VirtualBox ====
+
Then, click the start button to boot up MeeGo in VirtualBox. The image will be started as below screenshot.
-
Converts a raw disk image to a VirtualBox Disk Image (VDI) file by VBoxManage tool:
+
[[File:Meego tablet vbox2.PNG|800px]]
-
$ cd meego-tablet-ia32-sdk-1.1.90.2.20110209.4-raw
+
-
$ VBoxManage convertfromraw meego-tablet-ia32-sdk-1.1.90.2.20110209.4-sda.raw meego-tablet-ia32-sdk-1.1.90.2.20110209.4-sda.vdi
+
-
==== Run MeeGo image in VitualBox ====
+
== Deploy Qt Apps to VirtualBox ==
-
Create a new virtual machine, and the setting as the screenshot below. You should choose the storage disk as the vmdk image you have created in above step.
+
VirtualBox simulate a network card and allocate a IP address to the MeeGo platform. You can deploy Qt Apps in Qt Creator to VirtualBox as a real device. Please follow this link to enable deploy Qt Apps: [[SDK/Setup/Debugging_MeeGo_Applications#Create_a_MeeGo_Device_Configuration|Configure Qt Creator for MeeGo device]]
-
 
+
-
Then, click the start button to boot up MeeGo in VirtualBox. The image will be started as below screenshot.
+
-
=== Deploy Qt Apps to VirtualBox ===
+
== Known Issues & Drawback ==
-
VirtualBox simulate a network card and allocate a IP address to the MeeGo platform. You can deploy Qt Apps in Qt Creator to VirtualBox as a real device. Please follow this link to enable deploy Qt Apps: <a href="https://otcshare.org/meego-tablet/node/591">Configure Qt Creator for MeeGo device</a>
+
* It doesn't include a skin for VirtualBox now, you can press Wins Logo key to get the tablet back homescreen.
 +
* The resolution in VirtualBox cannot set to 1280x800 for tablet image, the resolution is 800x600 now.
-
=== Know Issues & Drawback ===
+
[[Category:SDK]]
-
1. It doesn't include a skin for VirtualBox now, you can press Wins Logo key to get the tablet back homescreen.
+
[[Category:Tutorial]]
-
2. The resolution in VirtualBox cannot set to 1280x800 for tablet image, the resolution is 800x600 now.
+
-
3. You should convert the image to vmdk or vdi which support by VirtualBox by yourself, It's slow!
+

Latest revision as of 02:04, 2 June 2011

Contents

Download and install VirtualBox

Download VirtualBox from the official website: Download VirtualBox. Before downloading and installing, you have to agree to the terms and conditions of the respective license. Please follow the installation instructions to install VirtualBox step by step.

Create MeeGo image for VirtualBox

Please download the latest tablet image from this link: MeeGo Tablet Images for SDK

Unpack the image tarball

$ tar jxf  meego-tablet-ia32-qemu-${version}-raw.tar.bz2

Convert the image for VirtualBox

Converts a raw disk image to a VirtualBox Disk Image (VDI) file by VBoxManage tool(which is placed at the VirtualBox installation directory):

$ cd meego-tablet-ia32-qemu-${version}-raw
$ VBoxManage convertfromraw meego-tablet-ia32-qemu-${version}-sda.raw meego-tablet-ia32-qemu-${version}-sda.vdi

Run MeeGo image in VitualBox

Create a new virtual machine, and the setting as the screenshot below. You should choose the storage disk as the vdi image you have created in above step. For getting the advantage of CPU virtualization technologies, you should enable the VT option in VirtualBox MeeGo Tablet VBox.png

Then, click the start button to boot up MeeGo in VirtualBox. The image will be started as below screenshot. Meego tablet vbox2.PNG

Deploy Qt Apps to VirtualBox

VirtualBox simulate a network card and allocate a IP address to the MeeGo platform. You can deploy Qt Apps in Qt Creator to VirtualBox as a real device. Please follow this link to enable deploy Qt Apps: Configure Qt Creator for MeeGo device

Known Issues & Drawback

  • It doesn't include a skin for VirtualBox now, you can press Wins Logo key to get the tablet back homescreen.
  • The resolution in VirtualBox cannot set to 1280x800 for tablet image, the resolution is 800x600 now.
Personal tools