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.

TDA4VMXEVM: weston service not running

Part Number: TDA4VMXEVM

Hi,

weston service did not working on TDA4VMX EVM.

I built PSDKRA by reference here, and copied boot image and filesystem from PSDKLA pre-built files.

root@j7-evm:~# systemctl status weston.service
* weston.service
     Loaded: loaded (/etc/init.d/weston; generated)
     Active: active (exited) since Wed 2020-06-17 14:17:30 UTC; 12s ago
       Docs: man:systemd-sysv-generator(8)
    Process: 976 ExecStart=/etc/init.d/weston start (code=exited, status=0/SUCCESS)

Jun 17 14:17:26 j7-evm systemd[1]: Starting weston.service...
Jun 17 14:17:26 j7-evm weston[976]: Starting Weston
Jun 17 14:17:26 j7-evm weston[976]: Waiting for input device...
Jun 17 14:17:30 j7-evm systemd[1]: Started weston.service.

following weston log message

root@j7-evm:/# cat ./var/volatile/log/weston.log
Date: 2020-06-17 UTC
[14:42:36.523] weston 8.0.0
               wayland.freedesktop.org
               Bug reports to: gitlab.freedesktop.org/.../
               Build: 8.0.0
[14:42:36.523] Command line: weston --idle-time=0
[14:42:36.524] OS: Linux, 5.4.40-g66cf445b76, #1 SMP PREEMPT Wed Jun 17 14:28:47 UTC 2020, aarch64
[14:42:36.524] Using config file '/etc//weston.ini'
[14:42:36.524] Output repaint window is 7 ms maximum.
[14:42:36.524] Loading module '/usr/lib/libweston-8/drm-backend.so'
[14:42:36.526] initializing drm backend
[14:42:36.527] logind: not running in a systemd session
[14:42:36.527] logind: cannot setup systemd-logind helper (-61), using legacy fallback
[14:42:36.528] no drm device found
[14:42:36.528] fatal: failed to create compositor backend
Internal warning: debug scope 'drm-backend' has not been destroyed.

My system environments are here:

...
QT_QPA_EGLFS_INTEGRATION=eglfs_kms
QT_WAYLAND_SHELL_INTEGRATION=wl-shell
XDG_CONFIG_HOME=/etc/
XDG_SESSION_TYPE=tty
QT_QPA_EGLFS_ALWAYS_SET_MODE=1
QT_QPA_EGLFS_KMS_CONFIG=/etc/qt5/eglfs_kms_cfg.json
WS_CALUDEV_FILE=/etc/udev/rules.d/ws-calibrate.rules
XDG_SESSION_CLASS=user
USER=root
SHLVL=1
XDG_SESSION_ID=c2
XDG_RUNTIME_DIR=/tmp/0-runtime-dir
...

Although after restart weston services ($ systemctl restart weston.service), it still did not working weston service and display.