Hi,
We build yocto image using yocto layer provided by NXP. When image is flashed to emmc (using uuu) and board is booted we see output on HDMI monitor. When the same image is flashed to SD card (also using uuu utility), there is no HDMI output on monitor. In log I've spotted following:
root@imx8mq:~# dmesg | grep hdmi
[ 2.032779] imx-spdif sound-hdmi-arc: snd-soc-dummy-dai <-> 308a0000.spdif mapping ok
[ 2.040653] imx-spdif sound-hdmi-arc: ASoC: no DMI vendor name!
[ 2.078583] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517
[ 2.085735] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)
[ 2.267068] GPIO line 68 (hdmi-enable) hogged as output/high
[ 2.450706] GPIO line 493 (hdmi-switch) hogged as output/low
[ 2.619341] cdns-mhdp-imx 32c00000.hdmi: NO HDMI FW running
[ 2.625007] imx-dcss 32e00000.display-controller: failed to bind 32c00000.hdmi (ops cdns_mhdp_imx_ops): -6
[ 2.948521] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517
[ 2.955671] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)
[ 3.082666] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517
[ 3.094821] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)
[ 3.125497] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517
[ 3.139482] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)
[ 3.178399] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517
[ 3.185688] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)
[ 3.228736] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517
[ 3.242985] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)
[ 3.270651] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517
[ 3.270655] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)
[ 3.277509] #0: imx-hdmi-arc
[ 3.434555] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517
[ 3.445021] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)
[ 3.466363] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517
[ 3.478897] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)
[ 3.621085] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517
[ 3.628240] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)
[ 3.643004] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517
[ 3.650147] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)
[ 4.275016] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517
[ 4.282473] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)
[ 5.438009] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517
[ 5.445206] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)
[ 6.383168] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517
[ 6.391399] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)
It looks like HDMI FW is not loaded or so (just guessing from this message in log: NO HDMI FW running).
We found similar post on NXP forum but there was not clear statement how issue was resolved, see: https://community.nxp.com/t5/i-MX-Processors/HDMI-in-i-MX8M/m-p/796779.
Any ideas what we can check? Thanks.
Board is custom (based on EVK). As mentioned above image was flashed using UUU utility. Thanks.