Hi Mauro,

On 14.07.2015 23:12, Mauro Carvalho Chehab wrote:
For those interested, we managed to make 3D accel to work on Raspberry PI 2.

The article describing the procedures are at:
        http://blogs.s-osg.org/tizen-rpi2-now-supporting-3d-acceleration

Well done :) Thanks for sharing!

We're working to merge the basic patches for meta-tizen upstream. Most of
the patches were already submitted on gerrit.

There are a number of patches for meta-raspberrypi, but those will require
some extra care in order to be upstreamable.

With this new procedure, it is now possible to build the standard Tizen
images, including tizen-common-core-image-crosswalk.

Please note that:

1) crosswalk support is WIP: it was not tested yet;
I built Tizen image with Crosswalk and booted it on Raspberry Pi 2. Here is some feedback:

1. I was unable to log as root using password root. It seems that the password is set only for rpi-hwup-image therefore I applied the following change to tizen-core-image-minimal which is inherited by the other recipes, including tizen-common-core-image-crosswalk:

leon@leon-desktop-G1:/media/storage/tizen-rpi2$ git diff meta-tizen/meta-tizen-common-base/recipes-image/images/tizen-core-image-minimal.bb diff --git a/meta-tizen/meta-tizen-common-base/recipes-image/images/tizen-core-image-minimal.bb b/meta-tizen/meta-tizen-common-base/recipes-image/images/tizen-core-image-minimal.bb
index 4ebbb1c..7aa0bb6 100644
--- a/meta-tizen/meta-tizen-common-base/recipes-image/images/tizen-core-image-minimal.bb +++ b/meta-tizen/meta-tizen-common-base/recipes-image/images/tizen-core-image-minimal.bb @@ -59,3 +59,12 @@ CORE_IMAGE_EXTRA_INSTALL += "packagegroup-tizen-fonts-ttf"
 CORE_IMAGE_EXTRA_INSTALL += "packagegroup-tizen-fonts-pango"

 export SYSROOT = "${IMAGE_ROOTFS}"
+
+# Set root password to "root"
+ROOTFS_POSTPROCESS_COMMAND += "set_root_passwd;"
+set_root_passwd() {
+   sed 's%^root:[^:]*:%root:wYNffsf6sozwE:%' \
+       < ${IMAGE_ROOTFS}/etc/shadow \
+       > ${IMAGE_ROOTFS}/etc/shadow.new;
+   mv ${IMAGE_ROOTFS}/etc/shadow.new ${IMAGE_ROOTFS}/etc/shadow ;
+}

2. I cannot start HTML5 apps using Crosswalk successfully. The installation goes well using pkgcmd but the app is not successfully launched (some info about failures appears at systemd journal).

2) we're using a WIP 3D driver for RPI2 (vc4), with is not ready yet
    for production.

The issue with Crosswalk might be related to Weston. I saw that Weston is started with backend drm-backend.so. I had a look at this tutorial about Wayland/Weston on raspberry pi: http://wayland.freedesktop.org/raspberrypi.html

Isn't Weston supposed to be launched with backend rpi-backend.so ?

Thanks,
Leon


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

--
Leon Anavi
Software Engineer
konsulko.com

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

Reply via email to