On 06/06/2014 07:35 AM, Stanislav Vorobiov wrote:
Hi, Stéphane and everyone


Hi,

I've been thinking about your suggestion to provide a standalone emulator for 
Tizen Common
and I decided to give it a try :) You can find it here - 
https://github.com/Sheph/qemu
together with build/run instructions which are 3 simple steps, you don't need 
Tizen SDK or anything special
to make this work.


Thanks for your work - standalone emulator will be very useful.
Installing the whole Tizen SDK on Fedora (with debootstrapped Ubuntu)
is not the best solution especially if I need only emulator.

Currently I just want to get some feedback from users, will this be useful to 
anybody ? If yes, then
I can push more patches that improve performance and usability.

Thanks.

P.S: This is still experimental, there may be problems, so don't hesitate to
report them


On my Fedora20 I had to add '-ldl' to linker command:

LIBS=-ldl make

otherwise:

  CC    i386-softmmu/hw/yagl/yagl_drivers/egl_glx/yagl_egl_glx.o
  CC    i386-softmmu/hw/yagl/yagl_drivers/gles_ogl/yagl_gles_ogl.o
CC i386-softmmu/hw/yagl/yagl_drivers/gles_onscreen/yagl_gles_onscreen.o
  LINK  i386-softmmu/qemu-system-i386
/usr/bin/ld: hw/vigs/vigs_gl_backend_glx.o: undefined reference to symbol 'dlclose@@GLIBC_2.2.5' /usr/bin/ld: note: 'dlclose@@GLIBC_2.2.5' is defined in DSO /lib64/libdl.so.2 so try adding it to the linker command line
/lib64/libdl.so.2: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [qemu-system-i386] Error 1
make: *** [subdir-i386-softmmu] Error 2

Thanks,
Lukasz Skalski
Samsung R&D Institute Poland
Samsung Electronics
[email protected]

On 06/02/2014 01:48 PM, Stanislav Vorobiov wrote:
Hi, Stéphane

Please see below

On 06/02/2014 01:20 PM, Stéphane Desneux wrote:
Hi Stanislav,

Can you elaborate a bit to tell everyone how to boot the Tizen:Common
emulator image ?
Bootable Tizen:Common images are here - 
http://download.tizen.org/snapshots/tizen/common/common-wayland-emulator32/
You can use Tizen IVI SDK to boot them.

Is it usable outside the SDK ? If so how ?
Well, yes, but it's too much work for the one who's not dedicated to all these 
qemu things, one will have to
build qemu and emulator kernel from tizen.org and run that qemu with 
appropriate arguments. IMO it's much easier
to use Tizen IVI SDK.


It would be interesting for any developer to boot the emulator image on
a classic laptop or desktop to test new features. It would be also
interesting to provide it as a single tool to avoid installing the whole
SDK.
That's an interesting idea. Technically the important bit you need is YaGL/VIGS 
- the virtual GPU/DRM/OpenGL
that's needed to run wayland/weston/xwalk. Currently it's part of tizen 
emulator, but it can be made standalone, i.e.
work with upstream qemu/upstream kernel.


Maybe updating the wiki page
https://wiki.tizen.org/wiki/Modify_Emulator_Image with a chapter on
Tizen:Common makes sense.
Since Tizen:Common has image builds for emulator then I believe we don't need 
to do
any of these steps. btw, this page looks outdated even for IVI, the only things 
one needs
to install is system-plugin-emulator and emulator-yagl packages. Regarding 
weston.patch - it
fixes weston touchscreen support in general, the patch set is sent
upstream - 
http://lists.freedesktop.org/archives/wayland-devel/2014-May/014838.html
so once it's merged we wouldn't need this as well


Please update bug TC-9 to fix the remaining integration problems on the
emulator image of Tizen:Common.
I guess Max's fix - https://review.tizen.org/gerrit/#/c/22147/ should be merged 
and
SR be generated and accepted.

I've already sent SR for these xwalk fixes - 
https://bugs.tizen.org/jira/browse/PTAPI-37

So once these SRs are accepted remaining integration problems should be fixed. 
But there're
still problems remaining described in 
https://bugs.tizen.org/jira/browse/PTAPI-37, I'm investigating them currently


Thanks.



_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev


--
Lukasz Skalski
Samsung R&D Institute Poland
Samsung Electronics
[email protected]
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to