i.MX8M Mini EVK + MIPI to HDMI : no HDMI Display with QT5

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.MX8M Mini EVK + MIPI to HDMI : no HDMI Display with QT5

1,813件の閲覧回数
keen_stephane
Contributor I

Hi,

 

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

bitbake fsl-image-qt5-validation-imx

 

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

Using Wayland-EGL

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.

 

 Stephane

タグ(3)
0 件の賞賛
2 返答(返信)

1,620件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

I have mailed to you, pls find the reply

0 件の賞賛

1,405件の閲覧回数
xcx
Contributor I

hello:
看到你回复了https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-EVK-MIPI-to-HDMI-no-HDMI-Display-with-QT5/m-p/1003199这个给问题。
我也遇到了类似问题,请指教。

使用的是imx8 nano 开发板

问题:
1、开机uboot可以正常显示
2、进入kernel后不显示
看了log(附件),好像有两次初始化mipi, 第一次失败,第二次成功,如下是第一次失败的输出

[ 1.191764] printk: console [ttymxc1] enabled
[ 1.201213] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.207848] [drm] No driver support for vblank timestamp query.
[ 1.213850] imx-drm 32c00000.bus:display-subsystem: bound imx-lcdif-crtc.0 (ops lcdif_crtc_ops)
[ 1.223251] imx_sec_dsim_drv 32e10000.dsi_controller: version number is 0x1060200
[ 1.231990] imx_sec_dsim_drv 32e10000.dsi_controller: Failed to attach bridge: 32e10000.dsi_controller
[ 1.241365] imx_sec_dsim_drv 32e10000.dsi_controller: failed to bind sec dsim bridge: -517
[ 1.249685] imx-drm 32c00000.bus:display-subsystem: failed to bind 32e10000.dsi_controller (ops imx_sec_dsim_ops): -517
[ 1.260564] imx-drm 32c00000.bus:display-subsystem: master bind failed: -517


3、调用modetest后可以显示
modetest -M imx-drm -D 0 -s 35@33:720x1280
如上命令必须执行两次,第二次后才能正常显示出来如下

xcx_0-1616398481315.png

 


4、当能够正常显示后,可以采用framebuffer(/dev/fb0)方式正常显示(32位红/绿/蓝)

5、附件有进入kernel后的log,及dts的相关文档,请参阅

0 件の賞賛