Verdin imx8mm, dahlia and dsi-hdmi adapter, no hdmi output

Hi, I’m not able to get HDMI output.

  • Toradex 0057 Verdin iMX8M Mini DualLite 1GB V1.1B
  • Toradex Dahlia V1.1C
  • Verdin DSI to HDMI Adapter Rev 1.1

With the Easy Installer I have HDMI output, so the adapter is working and the connection is ok:

"description": "Toradex Easy Installer for verdin-imx8mm machine",
"version": "5.7.2+build.14", <= working OK

I’m trying to create a: bitbake tdx-reference-multimedia-image with distro tdx-xwayland: 6.2.0-devel-20230615091926+build.0

I don’t have HDMI output.

I have also tried prebuilt images, with same result, no HDMI output:

  • TorizonCore 6.2.0+build.2 verdin-imx8mm-07222956
  • Verdin-iMX8MM_Reference-Multimedia-Image 6.2.0-build (prebuilt, downloaded from Toradex)

Easy installer output (working DSI-HDMI), full boot sequence:
Toradex Easy Installer 5.7.2 boot log.txt (6.7 KB)

Reference image output (no DSI-HDMI output), full boot sequence:
Verdin-iMX8MM_Reference-Multimedia-Image 6.2.0-build.6.txt (39.0 KB)

Is it something that you are already aware of? I’m I missing something? Is there something more that I can check or try?

Thanks,
Paolo

You need to install and activate the appropriate Device Tree Overlay to enable HDMI.
Please refer to that articles:

Hi Alex,

The overlay should already be activated by default I have this:

root@verdin-imx8mm-07222956:/boot# cat overlays.txt
fdt_overlays=verdin-imx8mm_dsi-to-hdmi_overlay.dtbo verdin-imx8mm_spidev_overlay.dtbo

And from the boot log it seems to be loaded correctly:
Applying Overlay: verdin-imx8mm_dsi-to-hdmi_overlay.dtbo

That’s from the yocto tdxref build, not the Torizon solution.

The Verdin DSI to HDMI Adapter requirs verdin-imx8mm_lt8912_overlay.dtbo
Please check this table for details.

verdin-imx8mm_lt8912_overlay.dtbo is meant for toradex_5.4-2.3.x-imx

according device-tree-overlays-linux - displays, for:
Verdin iMX8M Mini >=6.1.0 (Linux kernel 5.15.x); verdin-imx8mm_dsi-to-hdmi_overlay.dtbo is the overlay to be used.

Hello @ppezzino ,
I have tried with the following setup:
HW:

  • Toradex 0057 Verdin iMX8M Mini DualLite 1GB V1.1C
  • Toradex Dahlia V1.1C
  • Verdin DSI to HDMI Adapter Rev 1.1

SW

  • TDX Wayland with XWayland 6.2.0+build.6 (kirkstone) Verdin-iMX8MM_Reference-Multimedia-Image

contents of the overlays.txt

root@verdin-imx8mm-07174095:~# cat /boot/overlays.txt
fdt_overlays=verdin-imx8mm_dsi-to-hdmi_overlay.dtbo verdin-imx8mm_spidev_overlay.dtbo

I have connected a HDMI capture device (not a monitor) to the HDMI output of the DSI-HDMI converter.
And I have HDMI output.

Can you please check with another monitor, if you have the chance? or try to enable the native HDMI output to see if you get an image there?

Best regards,
Josep

Hi Josep,

thank you for the reply. Native HDMI is not available on Verdin imx8mm. I will try to find another monitor and check it.

Do you have some suggestion on how to check at Linux level if everything is loaded fine (DRM, l8912,…)?

thanks,
Paolo

Hello @ppezzino ,

Sorry, my mistake.

The output of dmesg should help. E.g. dmesg| grep dsi

BTW, which HDMI monitor are you using?

Best regards,
Josep

Hi @josep.tx,

root@verdin-imx8mm-07222956:/sys/class/drm/card1-HDMI-A-1# dmesg | grep dsi
[    0.267765] platform 32e10000.mipi_dsi: Fixing up cyclic dependency with 32e00000.lcdif
[    1.538213] i2c 3-0048: Fixing up cyclic dependency with 32e10000.mipi_dsi
[    6.438155] imx_sec_dsim_drv 32e10000.mipi_dsi: version number is 0x1060200
[    6.662115] imx-drm 32c00000.bus:display-subsystem: bound 32e10000.mipi_dsi (ops imx_sec_dsim_ops [sec_mipi_dsim_imx])
root@verdin-imx8mm-07222956:/sys/class/drm/card1-HDMI-A-1# dmesg | grep drm
[    4.177816] systemd[1]: Starting Load Kernel Module drm...
[    4.421633] [drm] Initialized vivante 1.0.0 20170808 for 38000000.gpu on minor 0
[    6.429110] imx-drm 32c00000.bus:display-subsystem: bound imx-lcdif-crtc.0 (ops lcdif_crtc_ops)
[    6.662115] imx-drm 32c00000.bus:display-subsystem: bound 32e10000.mipi_dsi (ops imx_sec_dsim_ops [sec_mipi_dsim_imx])
[    6.786065] [drm] Initialized imx-drm 1.0.0 20120507 for 32c00000.bus:display-subsystem on minor 1
[    7.763276] imx-drm 32c00000.bus:display-subsystem: [drm] fb0: imx-drmdrmfb frame buffer device
root@verdin-imx8mm-07222956:~# cat /sys/kernel/debug/device_component/soc\@0\:bus\@32c00000\:display-subsystem
master name                                            status
-------------------------------------------------------------
soc@0:bus@32c00000:display-subsystem                    bound

device name                                            status
-------------------------------------------------------------
imx-lcdif-crtc.0                                        bound
32e10000.mipi_dsi                                       bound
root@verdin-imx8mm-07222956:/sys/class/drm/card1-HDMI-A-1# ls
device  dpms  edid  enabled  modes  power  status  subsystem  uevent
root@verdin-imx8mm-07222956:/sys/class/drm/card1-HDMI-A-1# cat enabled
enabled
root@verdin-imx8mm-07222956:/sys/class/drm/card1-HDMI-A-1# cat status
connected

Everything seems fine, I can also see connected and disconnected when I unplug the HDMI cable. I’m using a PC monitor, I will try to find another HDMI device.

Thanks,
Paolo

Hello @ppezzino ,
Thanks for the update. Please let us know about the outcome of your tests.

Best regards,
Josep

Hi @josep.tx,

The setup works correctly with a regular HDMI TV and with Winstar WF101GTYFPLHT0# LCD-TFT Display 10.1" 1280x800 TFP40 Controller.

What is strange is that with Easy Installer the PC monitor works, but not with “regular” Toradex builds. So, the DSI to HDMI works correctly and the PC monitor is supported at hardware level. There must be some issue with the lt8912 driver or some configuration at system level. Unfortunately I don’t have time to investigate it, and having this PC monitor working is not part of the project.

Thanks for your support!

Regards,
Paolo

Hello @ppezzino,

can you give me some more information about the PC monitor that you use? Make and model? Data sheet?

Best regards,
Josep

it is a ThinkVision T24i-10 Monitor (Lenovo ThinkVision 23.8" FHD Monitor: T24i-10 | Lenovo Tanzania)

Hi @ppezzino !

In this thread, we have some approaches to an issue similar to yours.

Could you please try that approaches?

Please let us know here your results :slight_smile:

Best regards,

Hello @ppezzino ,
Were you able to try the approaches suggested by @henrique.tx ?

Best regards,
Josep

Hi @josep.tx,
The referenced thread is very interesting, I’m not used to work with video in embedded systems, and long time ago it was just the fb :slight_smile:
I don’t have time to dig the issue, and is not the target of my work. I have a HDMI device working, and it is just for a PoC, then we will use a different channel to connect the display.

But using the kernel parameters from u-boot video=HDMI-A-1:1920x1080@24 is one of the first thing that I’ve tried, checking the differences between Toradex EasyInstaller working setup and the latest reference multimedia image, but it didn’t worked for me. I’ve seen no difference.

Regards,
Paolo

Hello @ppezzino ,
As an additional test, you could try injecting a custom EDID, as documented here.

In any case, if you will use another way to connect the display, please let us know if we can consider this topic as closed.

Best regards,
Josep

Hello @ppezzino ,
Do you have any updates on this topic?

Best regards,
Josep