QEMU command line

From Openmoko

(Difference between revisions)
Jump to: navigation, search
m (Replacing 'OpenMoko' with 'Openmoko')
 
(2 intermediate revisions by one user not shown)
Line 12: Line 12:
 
  -kernel openmoko/openmoko-kernel.bin )
 
  -kernel openmoko/openmoko-kernel.bin )
  
(the executable is highlighted in blue). After typing make run-qemu-vnc you can open ssh and scp connections to the emulated phone, as described in [[OpenMoko under QEMU#Simple network connection with pppd|QEMU manual]].
+
(the executable is highlighted in blue). After typing make run-qemu-vnc you can open ssh and scp connections to the emulated phone, as described in [[Openmoko under QEMU#Simple network connection with pppd|QEMU manual]].
  
[[Category:Software ]]
+
[[Category:Emulation]]
[[Category:Application Developer]]
+

Latest revision as of 10:09, 23 August 2008

The actual command line for starting the emulator may not be obvious if you use MokoMakefile command make run-qemu (or similar) to start it. However it is immediately visible in the Makefile in the root folder. If you need to start QEMU with options other than default, one of the ways is simply to create a new target, copy-pasting the run-qemu, later changing the target name (for instance, into run-qemu-vnc) and editing the options.

For instance, here is a target which opens the local connection to the virtual phone:

.PHONY: run-qemu-vnc
run-qemu-vnc: stamps/qemu build/qemu/openmoko/openmoko-sd.image
 	( cd build/qemu && arm-softmmu/qemu-system-arm \
	  	-M gta01 -m 130 -usb -show-cursor \
	 	-vnc localhost:1 -monitor stdio \
	 	-mtdblock openmoko/openmoko-flash.image \
	 	-sd openmoko/openmoko-sd.image \
	 	-kernel openmoko/openmoko-kernel.bin )

(the executable is highlighted in blue). After typing make run-qemu-vnc you can open ssh and scp connections to the emulated phone, as described in QEMU manual.

Personal tools

The actual command line for starting the emulator may not be obvious if you use MokoMakefile command make run-qemu (or similar) to start it. However it is immediately visible in the Makefile in the root folder. If you need to start QEMU with options other than default, one of the ways is simply to create a new target, copy-pasting the run-qemu, later changing the target name (for instance, into run-qemu-vnc) and editing the options.

For instance, here is a target which opens the local connection to the virtual phone:

.PHONY: run-qemu-vnc
run-qemu-vnc: stamps/qemu build/qemu/openmoko/openmoko-sd.image
 	( cd build/qemu && arm-softmmu/qemu-system-arm \
	  	-M gta01 -m 130 -usb -show-cursor \
	 	-vnc localhost:1 -monitor stdio \
	 	-mtdblock openmoko/openmoko-flash.image \
	 	-sd openmoko/openmoko-sd.image \
	 	-kernel openmoko/openmoko-kernel.bin )

(the executable is highlighted in blue). After typing make run-qemu-vnc you can open ssh and scp connections to the emulated phone, as described in QEMU manual.