iMX8M Mini DualLite - TorizonOS 6.5.0, does not show anything in HDMI but Torizon 5.7.2 shows

Hello guys,

I’m getting a strange issue, I’m testing iMX8M Mini DualLite WB IT with carrier board Dahlia and DSI-to-HDMI adaptor.
When I flash the TozisonOS 5.7.2 with example containers, everything seems ok and the portainer interface appears on the HDMI display, but If I try to flash the 6.5.0 the display does not show anything, but the serial terminal seems to boot the torizoncore.
I tried to flashe torizon 6.5.0 using easyinstaller 5.7.3 and 6.5.0 with the same results.

Analysing both boot logs I saw that the 6.5.0 torizoncore image give me an error related to DSI and could this could be the problem? How can I solve this?
[ 2.740135] [drm:drm_bridge_attach] *ERROR* failed to attach bridge /soc@0/bus@32c00000/mipi_dsi@32e10000 to encoder DSI-34: -517

Attached are the boot logs:
5.7.3, boots OK and shows HDMI OK

U-Boot SPL 2020.04-5.7.2+git.33bb8e968332 (Jan 01 1970 - 00:00:00 +0000)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from MMC1
NOTICE:  BL31: v2.2(release):toradex_imx_5.4.70_2.3.0-g2fa8c6349e
NOTICE:  BL31: Built : 00:00:00, Jan  1 1970

U-Boot 2020.04-5.7.2+git.33bb8e968332 (Jan 01 1970 - 00:00:00 +0000)

CPU:   i.MX8MMDL rev1.0 1600 MHz (running at 1200 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 51C
Reset cause: POR
DRAM:  1 GiB
													 												 
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... OK
Fail to setup video link
In:    serial
Out:   serial
Err:   serial
Model: Toradex Verdin iMX8M Mini DualLite 1GB WB IT V1.1C, Serial# 14756371
				 
Carrier: Toradex Dahlia V1.1D, Serial# 11287142

 BuildInfo:
  - ATF 2fa8c63
  - U-Boot 2020.04-5.7.2+git.33bb8e968332

flash target is MMC:0
Net:   eth0: ethernet@30be0000
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
973 bytes read in 12 ms (79.1 KiB/s)
## Executing script at 47000000
4651 bytes read in 22 ms (206.1 KiB/s)
65327 bytes read in 29 ms (2.1 MiB/s)
47 bytes read in 24 ms (1000 Bytes/s)
Applying Overlay: verdin-imx8mm_lt8912_overlay.dtbo
1620 bytes read in 32 ms (48.8 KiB/s)
												   
12197548 bytes read in 291 ms (40 MiB/s)
Uncompressed size: 30724608 = 0x1D4D200
9171554 bytes read in 226 ms (38.7 MiB/s)
							 
## Flattened Device Tree blob at 44000000
   Booting using the fdt blob at 0x44000000
   Loading Device Tree to 000000007d6d8000, end 000000007d70afff ... OK
Modify /vpu_g1@38300000:status disabled
Modify /vpu_g2@38310000:status disabled
Modify /vpu_h1@38320000:status disabled
Delete node /cpus/cpu@2
Delete node /cpus/cpu@3
Update node /thermal-zones/cpu-thermal/cooling-maps/map0, cooling-device prop
Update node /pmu, interrupt-affinity prop

Starting kernel ...

[    0.069499] No BMan portals available!
[    0.069999] No QMan portals available!
																																	
[    1.207398] imx_sec_dsim_drv 32e10000.mipi_dsi: Failed to attach bridge: 32e10000.mipi_dsi
[    1.215704] imx_sec_dsim_drv 32e10000.mipi_dsi: failed to bind sec dsim bridge: -517, retry 0
[    1.591241] pca953x 3-0021: failed writing register
[    2.834167] imx6q-pcie 33800000.pcie: failed to initialize host
[    2.840100] imx6q-pcie 33800000.pcie: unable to add pcie port.
Starting version 244.5+
[    7.043173] debugfs: Directory '30020000.sai' with parent 'imx8mm-nau8822' already present!
[    8.042956] mcp25xxfd spi2.0: CRC read error: computed: 6c2a received: ffff - data: be 00 04 ff ff ff ff
[    8.052985] mcp25xxfd spi2.0: CRC read of clock register resulted in a bad CRC mismatch - hw not found
[    8.063932] mcp25xxfd spi2.0: Probe failed, err=84

TorizonCore 5.7.2+build.20 verdin-imx8mm-14756371 ttymxc0

verdin-imx8mm-14756371 login:

6.5.0, boots OK but HDMI shows nothing

U-Boot SPL 2022.04-6.5.0+git.28dc906f6107 (Jan 01 1970 - 00:00:00 +0000)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
WDT:   Started watchdog@30280000 with servicing (60s timeout)
Trying to boot from MMC1
NOTICE:  BL31: v2.6(release):lf_v2.6-g3c1583ba0a
NOTICE:  BL31: Built : 00:00:00, Jan  1 1970

U-Boot 2022.04-6.5.0+git.28dc906f6107 (Jan 01 1970 - 00:00:00 +0000)

CPU:   i.MX8MMDL rev1.0 1600 MHz (running at 1200 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 52C
Reset cause: POR
DRAM:  1 GiB
Core:  114 devices, 21 uclasses, devicetree: separate
WDT:   Started watchdog@30280000 with servicing (60s timeout)
MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... OK
						
In:    serial
Out:   serial
Err:   serial
Model: Toradex 0060 Verdin iMX8M Mini DualLite 1GB WB IT V1.1C
Serial#: 14756371
Carrier: Toradex Dahlia V1.1D, Serial# 11287142

flash target is MMC:0
Net:   eth0: ethernet@30be0000
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
973 bytes read in 1 ms (950.2 KiB/s)
## Executing script at 50280000
6659 bytes read in 2 ms (3.2 MiB/s)
66144 bytes read in 2 ms (31.5 MiB/s)
86 bytes read in 2 ms (42 KiB/s)
Applying Overlay: verdin-imx8mm_dsi-to-hdmi_overlay.dtbo
2317 bytes read in 2 ms (1.1 MiB/s)
Applying Overlay: verdin-imx8mm_spidev_overlay.dtbo
561 bytes read in 3 ms (182.6 KiB/s)
13423185 bytes read in 80 ms (160 MiB/s)
11575236 bytes read in 70 ms (157.7 MiB/s)
   Uncompressing Kernel Image
## Flattened Device Tree blob at 50200000
   Booting using the fdt blob at 0x50200000
   Loading Device Tree to 000000007ded9000, end 000000007df0cfff ... OK
Modify /vpu_g1@38300000:status disabled
Modify /vpu_g2@38310000:status disabled
Modify /vpu_h1@38320000:status disabled
Delete node /cpus/cpu@2
Delete node /cpus/cpu@3
Update node /thermal-zones/cpu-thermal/cooling-maps/map0, cooling-device prop
										 
Starting kernel ...

[    1.253625] pca953x 3-0021: failed writing register
[    2.504430] regulator-dummy: Underflow of regulator enable count
[    2.740135] [drm:drm_bridge_attach] *ERROR* failed to attach bridge /soc@0/bus@32c00000/mipi_dsi@32e10000 to encoder DSI-34: -517
[    2.751882] imx_sec_dsim_drv 32e10000.mipi_dsi: Failed to attach bridge: 32e10000.mipi_dsi
[    2.760199] imx_sec_dsim_drv 32e10000.mipi_dsi: failed to bind sec dsim bridge: -517
													  														  																 
Starting version 250.5+
[    9.530872] mcp251xfd spi2.0 (unnamed net_device) (uninitialized): Failed to detect MCP251xFD (osc=0xffffffff).
																										   
TorizonCore 6.5.0+build.8 verdin-imx8mm-14756371 -

Greetings @peterz,

Strange I don’t believe we’re seeing this issue ourselves. As a sanity test could you try to also flash and test our 6.5.0 reference multimedia image. How does HDMI look on this image?

Best Regards,
Jeremias

Hello @jeremias.tx ,
I did some quick tests, it seems this error just occurs on some HDMI displays, probably the problem is within the display, because I change from the DSI-HDMI adaptor to the DSI-LVDS adaptor, and using the 10" capacitive touch, I can get output on the LVDS display.
So I’m guessing this could be display related and not so much on TorizonCore.

Another thing to check. Perhaps you’re using an old version of the DSI-HDMI adapter? There are some version compatibilities to keep in mind with some of the old Verdin related hardware: Verdin Family Specification | Toradex Developer Center

Best Regards,
Jeremias