This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/PROCESSOR-SDK-AM335X: Cannot start Weston

Part Number: PROCESSOR-SDK-AM335X

Tool/software: Linux

Hi I've been able to configure lcd in my custom board based on am335x-evmsk, I see login prompt on the LCD but weston cannot start, here is log:

Date: 2017-10-04 UTC
[18:13:08.200] weston 1.11.0
               http://wayland.freedesktop.org
               Bug reports to: bugs.freedesktop.org/enter_bug.cgi
               Build: 1.10.93-2-g2d825ed configure.ac: bump to version 1.11.0 for the official release (2016-05-31 17:10:40 -0700)
[18:13:08.202] OS: Linux, 4.9.28-rt16-g786e64041b, #13 PREEMPT RT Thu Nov 2 07:17:29 PDT 2017, armv7l
[18:13:08.203] Using config file '/etc//weston.ini'
[18:13:08.204] Output repaint window is 7 ms maximum.
[18:13:08.205] Loading module '/usr/lib/weston/drm-backend.so'
[18:13:08.228] initializing drm backend
[18:13:08.237] using /dev/dri/card0
[18:13:08.237] Loading module '/usr/lib/weston/gl-renderer.so'
failed to load module: /usr/lib/gbm/gbm_dri.so: cannot open shared object file: No such file or directory
failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot open shared object file: No such file or directory
loaded module : gbm_pvr.so
found valid GBM backend : gbm_pvr.so
[18:13:08.288] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
[18:13:08.298] failed to initialize display
[18:13:08.298] EGL error state: EGL_BAD_ALLOC (0x3003)
[18:13:08.299] failed to initialize egl
[18:13:08.306] fatal: failed to create compositor backend
PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ]
PVR:(Error): PVRSRVConnect: Unable to open connection. [0, ]
PVR:(Error): Couldn't connect to services [0, ]

And output from modetest:

trying to open device 'i915'...failed
trying to open device 'radeon'...failed
trying to open device 'nouveau'...failed
trying to open device 'vmwgfx'...failed
trying to open device 'omapdrm'...failed
trying to open device 'exynos'...failed
trying to open device 'tilcdc'...done
Encoders:
id      crtc    type    possible crtcs  possible clones
25      24      LVDS    0x00000001      0x00000000

Connectors:
id      encoder status          name            size (mm)       modes   encoders
26      25      connected       LVDS-1          0x0             1       25
  modes:
        name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
  480x272 39 480 542 583 585 272 378 388 390 flags: nhsync, nvsync; type: preferred, driver
  props:
        1 EDID:
                flags: immutable blob
                blobs:

                value:
        2 DPMS:
                flags: enum
                enums: On=0 Standby=1 Suspend=2 Off=3
                value: 0

CRTCs:
id      fb      pos     size
24      29      (0,0)   (480x272)
  480x272 39 480 542 583 585 272 378 388 390 flags: nhsync, nvsync; type: preferred, driver
  props:

Planes:
id      crtc    fb      CRTC x,y        x,y     gamma size      possible crtcs
23      24      29      0,0             0,0     0               0x00000001
  formats: RG16 BG24 XB24
  props:
        5 type:
                flags: immutable enum
                enums: Overlay=0 Primary=1 Cursor=2
                value: 1

Frame buffers:
id      size    pitch

Everything looks correct to me but for some reason weston cannot start.