Languages

Menu
Sites
Language
Tizen Emulator emulator-x86.exe command line is not working

Hi Devs, 
            Any one tried to run a tizen emulator from command line?

I was trying this command as per the documentation available form here https://developer.tizen.org/dev-guide/2.2.0/org.tizen.gettingstarted/html/dev_env/emulator_startup_options.htm

emulator-x86.exe --skin-args width=720 height=1280 skin.path=c:\tizen-sdk\tools\emulator\skins\emul-general-3btn --qemu-args -drive file=c:\tizen-sdk\platforms\tizen2.2\emulator-images\default\x86-standard\emulimg-2.2.x86,if=virtio,index=1 -boot c -append "console=ttyS0 video=uvesafb:ywrap,720x1280-32@60 dpi=3160 ip=10.0.2.16::10.0.2.2:255:255:255:0::eth0:none 5" -serial file: c:\tizen-sdk\platforms\tizen2.2\emulator-images\default\x86-standard\emulator.klog -m 512 -M maru-x86-machine -net nic,model=virtio,macaddr=70-71-bc-96-2f -soundhw all -usb -device virtio-touchscreen-pci -vga maru -bios bios.bin -L C:\tizen-sdk\tools\emulator\data\bios -kernel c:\tizen-sdk\tools\emulator\data\kernel\bzImage.x86 -net user -rtc base=utc -drive file=C:\tizen-sdk\tools\emulator\storages\swap\swap.img,if=virtio,index=2 -enable-gl -enable-hax -max-touch-point 6 -enable-kvm -device virtio-esm-pci

I got an error telling 'no accelerator found'. so i removed the -enable-kvm option, but now there is nothing happeneing. Any tips?

Responses

1 Replies
Alex Dem

Hi,
I have installed 'process explorer' and have copied comman line of 'emulator-x86' process started from 'Emulator Manager', (steps are: right click on process->'Image' tab-> Command line)
My command line was:

C:\tizen-sdk\tools\emulator\bin\emulator-x86.exe --skin-args width=720 height=1280 skin.path=C:\tizen-sdk\tools\emulator\skins\emul-general-3btn --qemu-args -drive file=C:\tizen-sdk-data\emulator-vms\vms\emu1\emulimg-emu1.x86,if=virtio,index=1 -boot c -append "console=ttyS0 video=uvesafb:ywrap,720x1280-32@60 dpi=3160 ip=10.0.2.16::10.0.2.2:255.255.255.0::eth0:none 5 vm_name=emu1" -serial file:C:\tizen-sdk-data\emulator-vms\vms\emu1\logs\emulator.klog -m 512 -M maru-x86-machine -net nic,model=virtio,macaddr=70:71:BC:3D:25:D7 -soundhw all -usb -device virtio-touchscreen-pci -vga maru -bios bios.bin -L C:\tizen-sdk\tools\emulator\data\bios -kernel C:\tizen-sdk\tools\emulator\data\kernel\bzImage.x86 -net user -rtc base=utc -drive file=C:\tizen-sdk-data\emulator-vms\vms\emu1\swap-emu1.img,if=virtio,index=2 -enable-gl -device virtio-esm-pci -device virtio-hwkey-pci -max-touch-point 10

Regarding your command line, I suspect there are wrong emulator and swap images at minimum. But per my opinion it is difficult to compose such command line manually (every missed " is essential).
Alexey.