<div dir="ltr"><div><div>Hi Daniel,<br><br></div><div>Any clue/inputs after looking at the logs?<br><br></div>Regards,<br></div>Vikash<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 11, 2017 at 10:55 AM, Vikas Patil <span dir="ltr"><<a href="mailto:vikasmpatil@gmail.com" target="_blank">vikasmpatil@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Daniel,<br><br></div>Thanks a lot for your quick reply. See comments below.<br><div><div><div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Tue, Jan 10, 2017 at 9:28 PM, Daniel Díaz Rodríguez <span dir="ltr"><<a href="mailto:daniel.diaz@linaro.org" target="_blank">daniel.diaz@linaro.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello!<br>
<span class="m_5894706697437944222gmail-"><br>
<br>
On 10 January 2017 at 06:39, Vikas Patil <<a href="mailto:vikasmpatil@gmail.com" target="_blank">vikasmpatil@gmail.com</a>> wrote:<br>
>> We are starting weston (1.9.0) using below systemd unit file of type notify<br>
>> (backported sd_notify related changes from weston 1.11.0 to weston 1.9.0).<br>
>> It works well with i.MX6 (NXP, fbdev backend) based platform, however with<br>
>> Jacinto (TI, drm backend) based platform sometimes it fails to start and<br>
>> sometime it works after reboot. It always works if we start weston service<br>
>> manually after platform boots up using “systemctl”.<br>
>> Is there anyone encountered this issue? Any suggestion/inputs to fix this?<br>
<br>
</span>> We have seen this, as the DRM device is not readily available by the<br>
> time Weston launches. Our service unit is a bit different [1], but the<br>
> approach that proved most convenient was to use this udev rule to call<br>
> for Weston:<br>
<a href="https://github.com/96boards/meta-96boards/blob/master/recipes-graphics/wayland/weston-init/71-weston-drm.rules" rel="noreferrer" target="_blank">> https://github.com/96boards/me<wbr>ta-96boards/blob/master/recipe<wbr>s-graphics/wayland/weston-<wbr>init/71-weston-drm.rules</a></blockquote><div><br></div></span><div>I have tried this udev rule and unfortunately it didn't help. I have added the rule in "/etc/udev/rules.d/localextra.<wbr>rules" file on target. Then I have another service as below to trigger it.<br><br>root@linux-1:~# cat /lib/systemd/system/udevd.<wbr>service<br><br>[Unit]<br>Description=udevd service<br>DefaultDependencies=false<br><br>[Service]<br>Type=forking<br>ExecStart=/lib/systemd/<wbr>systemd-udevd --daemon<br>ExecStartPost=/bin/udevadm test /sys/devices/platform/omapdrm.<wbr>0/drm/card0<br><br></div><div> Attached here the weston log and service file when it fails. (what see is , weston starts but within four or five seconds it stops)<br><br></div><div>How could I find what issue/problem it is having? Is there any more logs from systemd I need to enable?<br><br><br></div><div>Regards,<br></div><div>Vikash<br></div></div><br></div></div></div></div></div>
</blockquote></div><br></div>