Hello Everyone. During the last week or two we did some work to replace dbus-daemon with the brand new, though yet to be polished, KDBus. For those unfamiliar with current Linux kernel development, KDBus is a new kernel-based IPC meant to replace socket-based DBus managed by userland daemon providing improved throughput. For more information about KDBus itself please read
https://github.com/gregkh/kdbus/blob/master/kdbus.txt
We worked with IVI images and we made them run with
- kdbus in kernel
- libdbus-1 based services wrapped by systemd-bus-proxyd
- glib based services directly connected to kdbus (except polkit having
some issues)
We've developed KDBus support in Glib in collaboration with gnome
community:
https://bugzilla.gnome.org/show_bug.cgi?id=721861
Thanks to this we don't need now "systemd-bus-proxyd" for all
application which use gdbus. The piece that is still missing is native
kdbus support for libdbus-1.
Known problems:
- some things (including systemd dbus1-generators) fail because of
invalid SMACK configuration, because of that user app bus is empty,
- polkit fails (glib fault),
- the patch for kernel that alters the way the shared memory is labelled
*may* cause problems, it's very hacky.
To try this setup yourself you need to
1. Get the kernel and build it with gbs.
git clone git://review.tizen.org/profile/ivi/kernel-x86-ivi.git
git checkout origin/sandbox/lstelmach/kdbus-integration
gbs build -A i586
2. Get kdbus
git clone git://review.tizen.org/platform/core/system/kdbus-bus.git
git checkout origin/kdbus-integration
gbs build -A
3. Repeat for
- platform/upstream/systemd branch: sandbox/mwereski/kdbus-integration
- platform/upstream/glib branch: sandbox/lskalski/kdbus-integration
- profile/mobile/weston-ivi branch: sandbox/mwereski/kdbus-integration
4. You may want to rebuild OpenAVB with the new kernel.
To build the whole image rebuild
- profile/ivi/meta-ivi branch: sandbox/mwereski/kdbus-integration
- profile/ivi/image-configurations branch: tizen
to get ks file (patch it to point to local repositories created by gbs)
and use it to build image.
The image can run under qemu, but if you want to have weston, then it
should be run on real hardware.
--
Łukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics
pgph5LZjuJ1pS.pgp
Description: PGP signature
_______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
