Not able to run weston for iMX8M Mini platform

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Not able to run weston for iMX8M Mini platform

830 Views
prashantdivate
Contributor II

Below packages I tried to install in the image to enable support for weston on imx8mm-evk -

# weston
IMAGE_INSTALL += "libegl-imx"
IMAGE_INSTALL += "libgal-imx"
IMAGE_INSTALL += "libgles-imx"
IMAGE_INSTALL += "libgles2-imx"
IMAGE_INSTALL += "imx-gpu-viv"
IMAGE_INSTALL += "weston"
IMAGE_INSTALL += "weston-init"
IMAGE_INSTALL += "wayland"
IMAGE_INSTALL += "libdrm"

weston.socket is up but I'm not able to get weston.service up and it terminate with below log:

\u@\h:\w$ cat /run/user/0/weston.log
Date: 2021-11-10 UTC
[13:01:22.090] weston 9.0.0
               https://wayland.freedesktop.org
               Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
               Build: 9.0.0
[13:01:22.090] Command line: /usr/bin/weston --log=/run/user/0/weston.log
[13:01:22.090] OS: Linux, 5.10.72, #1 SMP PREEMPT Thu Jul 14 07:15:08 UTC 2022, aarch64
[13:01:22.092] Using config file '/etc/xdg/weston/weston.ini'
[13:01:22.097] Output repaint window is 7 ms maximum.
[13:01:22.098] Loading module '/usr/lib/libweston-9/drm-backend.so'
[13:01:22.122] initializing drm backend
[13:01:22.132] logind: session control granted
[13:01:22.142] using /dev/dri/card1
[13:01:22.142] DRM: supports atomic modesetting
[13:01:22.142] DRM: does not support GBM modifiers
[13:01:22.142] DRM: supports picture aspect ratio
[13:01:22.169] event1  - gpio_ir_recv: is tagged by udev as: Keyboard Pointingstick
[13:01:22.170] event1  - gpio_ir_recv: device is a pointer
[13:01:22.170] event1  - gpio_ir_recv: device is a keyboard
[13:01:22.180] event0  - 30370000.snvs:snvs-powerkey: is tagged by udev as: Keyboard
[13:01:22.180] event0  - 30370000.snvs:snvs-powerkey: device is a keyboard
[13:01:22.226] libinput: configuring device "gpio_ir_recv".
[13:01:22.226] libinput: configuring device "30370000.snvs:snvs-powerkey".
[13:01:22.240] DRM: head 'HDMI-A-1' found, connector 35 is connected, EDID make 'DEL', model 'DELL S2240L', serial '1MVD12980TAT'
 
Additional info:
yocto version - 3.4 (honister release)
Linux kernel - 5.10.72.2.2.0
 
Please refer attachment log for reference and used imx-base.inc file (modified by me)
Labels (1)
0 Kudos
2 Replies

811 Views
prashantdivate
Contributor II

Hello Bio_TICFSL,
Thanks for reply. I'm creating custom image and already added the meta-imx and meta-fsl layers in my environment So I believe I have required packages to run weston service as mentioned above are there but I'm unable to get why it was crashing 

0 Kudos

824 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello prashantdivale,

You should install all graphics package, you have the weston-imx for install the packages, in the imx-full-image.

Regards

0 Kudos