I'm using the NXP iMX8M Mini EVK (8MMINILPD4-EVK https://www.nxp.com/part/8MMINILPD4-EVK#/) connected to the NXP MIPI to HDMI adaptor card (IMX-MIPI-HDMI https://www.nxp.com/part/IMX-MIPI-HDMI#/) connected to an HDMI monitor (actually a DELL U2415) but I am unable to get the monitor to display anything (our main goal : using QT5 application), excepted during boot.
Software note : this is a Linux environment (not Android).
I've built a Yocto project based on "imx-yocto-L4.14.98_2.0.0_ga".
DISTRO=fsl-imx-xwayland MACHINE=imx8mmlpddr4evk source fsl-setup-release.sh -b build fsl-imx-xwayland
Linux version is 4.14.98 (the kernel "image" and the "rootfs" are the one generated by the Yocto project).
The associated "dtb" file comes from a "fsl-imx8mm-evk.dts" file.
The behavior is the following one :
1 - When booting the board : attached files "Boot on console.txt" and "dmesg.txt".
setenv displayinfo 'video=HDMI-A-1:720x480-32@60' has been added to the uboot environment.
The 4 penguins are successfully displayed on the HDMI monitor.
Then the image "openembedded" is successfully displayed on the HDMI monitor.
So, this STEP1 is working fine.
2 - Once the board is fully initialized, running "psplash" is also working fine : "openembedded" is successfully displayed.
3 - Trying QT5 examples (our main goal)
Running "analogclock" from /usr/share/qt5/examples/gui/analogclock :
Using the 'xdg-shell-v6' shell integration
Nothing is displayed.
4 - Using "modetest" after stopping weston "systemctl stop weston"
modetest -M imx-drm -s 33@31:1920x1200
setting mode 1920x1200-60Hz@XR24 on connectors 33, crtc 31
Nothing is displayed
modetest -M imx-drm -s 33@31:720x480
setting mode 720x480-60Hz@XR24 on connectors 33, crtc 31
The SMPTE color bars test pattern is correctly displayed
QUESTION : Why QT5 example is not working ? Environment variables missing, Weston configuration issue, what has to be done ... To get this HDMI working fine ?
Any help with this would be greatly appreciated.