[meta-freescale] Weston hangs the system on iMX6

Keskinarkaus, Teemu Teemu.Keskinarkaus at Maximatecc.com
Sun Aug 30 22:00:01 PDT 2015


Seems that I was able to get the Weston running after disabling EGL. For some reason EGL causes system to hang. Also seems that disabling EGL didn’t fix the problem. System still hangs when exiting any graphical application. Also disabling EGL means that HW acceleration is disabled as well so it’s not real solution anyway.

What image I need to build to get those samples being built? Or are they available somewhere for download? It’s been awhile since I’ve last time worked on unmodified Yocto.

Teemu Keskinarkaus
Software system engineer

maximatecc
making machines smart, safe and productive

From: Prabhu S [mailto:prabhusundar at gmail.com]
Sent: 28. elokuuta 2015 17:00
To: Keskinarkaus, Teemu
Cc: meta-freescale at yoctoproject.org
Subject: Re: [meta-freescale] Weston hangs the system on iMX6

GPU driver in Wayland image also support EGL-FB as well. Can you please try with any of the basic GLES application. this is just to makesure whether GPU setup correctly.
You can find few presbuilt samples from /opt/viv_samples/vdk/... provided you need to include to rootfs using local.conf

On Fri, Aug 28, 2015 at 7:29 AM, Keskinarkaus, Teemu <Teemu.Keskinarkaus at maximatecc.com<mailto:Teemu.Keskinarkaus at maximatecc.com>> wrote:
Hi,

I’ve successfully used Weston on iMX6 SabreSD board. Now we have our own custom board (based on SabreSD) and I’m trying to start Weston it just hangs the whole system.

The main difference between SabreSD and our hw is that our HW has 2GB RAM where as SabreSD has only 1GB. I’m puzzled because the graphical stuff is mostly inside the CPU so I’m leaning on the assumption that it’s not HW fault (unless it’s the 2GB vs. 1GB problem.). Memory should be configured okay because system is stable and doesn’t crash on any other way. I can also see normal text login on screen so graphics work at some level at least.

Any ideas what could be wrong? I’ll put it here first since this is probably imx6 issue more than Wayland.

This is the log I get. It always ends at the same spot and system is completely gone. No serial console no responses from Ethernet either etc..

[11:46:39.114] Starting with no config file.
[11:46:39.117] Loading module '/usr/lib/weston/fbdev-backend.so'
[11:46:39.175] initializing fbdev backend
[11:46:39.181] compositor->use_gal2d=0
[11:46:39.183] Loading module '/usr/lib/weston/gl-renderer.so'
[11:46:39.230] warning: EGL_EXT_buffer_age not supported. Performance could be affected.
[11:46:39.230] Creating fbdev output. /dev/fb0 x=0 y=0
[11:46:39.230] Opening fbdev frame buffer.
[11:46:39.230] Calculating pixman format from:
                - type: 0 (aux: 0)
                - visual: 2
                - bpp: 24 (grayscale: 0)
                - red: offset: 16, length: 8, MSB: 0
                - green: offset: 8, length: 8, MSB: 0
                - blue: offset: 0, length: 8, MSB: 0
                - transp: offset: 0, length: 0, MSB: 0
[11:46:39.246] EGL version: 1.4
[11:46:39.246] EGL vendor: Vivante Corporation
[11:46:39.246] EGL client APIs: OpenGL_ES OpenVG
[11:46:39.246] EGL extensions: EGL_KHR_reusable_sync EGL

Teemu Keskinarkaus
Software system engineer
Cell: +358 400 330047
Fax: +358 207 669199
www.maximatecc.com<http://www.maximatecc.com/>
maximatecc
making machines smart, safe and productive


________________________________

Actuant Corporation Email Notice

This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and/or CONFIDENTIAL.
This email is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this email is not an intended recipient, you have received this email in error and any review, dissemination, distribution or copying is strictly prohibited.
If you have received this email in error, please notify the sender immediately by return mail and permanently delete the copy you received.

Thank you.

--
_______________________________________________
meta-freescale mailing list
meta-freescale at yoctoproject.org<mailto:meta-freescale at yoctoproject.org>
https://lists.yoctoproject.org/listinfo/meta-freescale


________________________________

Actuant Corporation Email Notice

This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and/or CONFIDENTIAL.
This email is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this email is not an intended recipient, you have received this email in error and any review, dissemination, distribution or copying is strictly prohibited.
If you have received this email in error, please notify the sender immediately by return mail and permanently delete the copy you received.

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20150831/0ba8870d/attachment.html>


More information about the meta-freescale mailing list