Running OpenMoko on PC

From Openmoko

(Difference between revisions)
Jump to: navigation, search
 
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
= Running OpenMoko on PC =
+
#redirect [[Running Openmoko on PC]]
 
+
Thanks to Linux portability, OpenMoko can be run on PC easily, without the need of actual hardware.
+
 
+
== Using QEmu ==
+
 
+
QEmu is full scale emulator which emulates OpenMoko hardware, including ARM CPU. You will have emulator or stub devices which match the actual hardware. There is a lot of performance penalty for emulating non-native CPU like ARM on x86/x64 architecture. Also, setting up ARM tool chain might be difficult.
+
 
+
* [[OpenMoko under QEMU]]
+
 
+
== Running applications natively ==
+
 
+
You can run OpenMoko "as is" on your X desktop. Since OpenMoko applications are GTK based, they can appear like any other application windows on your desktop. Or you might want to run them inside a nested X server, which gives you the ability to emulate OpenMoko screen resolution as well.
+
 
+
This is recommended option if your applications don't need access to actual hardware, but can accept dummy input data e.g. constant power meter value. There is no performance penalty, which might be actually a bad thing, since there is a great different between PC and Neo1973 power. Also, compiling for x86 targets seems to be a bit faster.
+
 
+
Currently, Xephyr documentation is most up-to-date. --[[User:Miohtama|Moo]] 01:18, 3 May 2007 (CEST)
+
 
+
* [[Getting OpenMoko working on host with Xephyr]]
+
* [[Getting Openmoko working on host with Xoo]]
+
* [[How to run OpenMoko Apps on PC]]
+

Latest revision as of 06:09, 24 March 2008

  1. redirect Running Openmoko on PC
Personal tools

Running OpenMoko on PC

Thanks to Linux portability, OpenMoko can be run on PC easily, without the need of actual hardware.

Using QEmu

QEmu is full scale emulator which emulates OpenMoko hardware, including ARM CPU. You will have emulator or stub devices which match the actual hardware. There is a lot of performance penalty for emulating non-native CPU like ARM on x86/x64 architecture. Also, setting up ARM tool chain might be difficult.

Running applications natively

You can run OpenMoko "as is" on your X desktop. Since OpenMoko applications are GTK based, they can appear like any other application windows on your desktop. Or you might want to run them inside a nested X server, which gives you the ability to emulate OpenMoko screen resolution as well.

This is recommended option if your applications don't need access to actual hardware, but can accept dummy input data e.g. constant power meter value. There is no performance penalty, which might be actually a bad thing, since there is a great different between PC and Neo1973 power. Also, compiling for x86 targets seems to be a bit faster.

Currently, Xephyr documentation is most up-to-date. --Moo 01:18, 3 May 2007 (CEST)