I'm working with a ConnectCore 8M Nano Development Kit and a raspberry-compatible touch screen. For now I'm only using it as video output. I've followed all instructions from:
https://www.digi.com/resources/documentation/digidocs/embedded/dey/3.0/cc8mnano/yocto-gs_t_program-fw
and got the downloadable "imx-boot-ccimx8mn-dvk.bin" image working. With it, once I powered on the dev board I got my video output with a desktop with the Digi logo as background and all weston demos and utilities were working, like weston-flower or weston-terminal.
I then compiled my own DEY 3.0 image following these instructions: https://www.digi.com/resources/documentation/digidocs/embedded/dey/3.0/cc8mnano/yocto_t_create-build-projects
and it was also working fine.
However, since yesterday whenever I program a new image to the board, either by using fastboot or with a swu loaded in the SD card it will boot the first time and load the desktop interface, but after that, whenever I restart, the screen will stay black, no video output nor desktop, even if I try executing any of the weston apps.
So far, I've tried executing 'weston' and obtained:
fatal: drm backend should be run using weston-launch binary, or your system should provide the logind D-Bus API.
And weston-launch, which says:
weston: weston-launch must be run from a virtual terminal
I have also run:
root@ccimx8mn-dvk:~# ps | grep weston
854 root 320m S /usr/bin/weston --log=/run/user/0/weston.log
869 root 36320 S /usr/libexec/weston-keyboard
870 root 41488 S /usr/libexec/weston-desktop-shell
So it seems to be running. Any idea of what might be wrong or what should I check?
Thank you for any help or pointer for this issue.
PS: I have set the S1.4 micro-switch to OFF for using the MIPI-to-HDMI bridge