Hi,
We are using i.MX8M custom board with "fsl-yocto-L4.9.51_mx8mq-ga" release.
We are getting below errors in HDMI.
In uboot:
*****************************************
No panel detected: default to HDMI
Display: HDMI (1920x1080)
HDMI enable failed!
*******************************************
In Kernel:
********************************************
[ 1.179680] [drm] Initialized
[ 1.189959] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.196596] [drm] No driver support for vblank timestamp query.
[ 1.202653] imx-drm display-subsystem: bound imx-dcss-crtc.0 (ops dcss_crtc_ops)
[ 2.717769] NO HDMI FW running
[ 2.720838] [drm:imx_hdp_imx_bind] *ERROR* Failed to initialise HDP PHY
[ 2.727489] imx-drm display-subsystem: failed to bind 32c00000.hdmi (ops imx_hdp_imx_ops): -6
[ 2.736123] imx-drm display-subsystem: master bind failed: -6
***************************************************
Looks like in both Uboot and kernel its failing in "CDN_API_CheckAlive()" function.
what may be the reason for this?
Thanks in advance,
Regards,
Yashavantha
Yes, even I am having the same problem. boot mode settings are correct but still my screen not working. Is there a way to change default HDMI resolution using u-boot environment variable?
In our board the boot mode settings are all same as EVK, but still HDMI is failing.
Regards,
Yashavantha
Ok. The problem was caused by incorrect boot mode jumper setting. Thanks everyone. But may I ask why boot mode would affect HDMI firmware being loaded.
did you connect hdmi cable correct? did you test it on the imx8m EVK board? is it succesful?
hi,
I have connected hdmi cable.
We don't have imx8m EVK board here.
One more observation now is, HDMI is working if i do eMMC boot, but failing with SD boot.
Thanks and Regards,
Yashavantha
Hi Yashavantha,
I'm in a similar situation with an imx8 eval board with no working HDMI signal.
Did you flash the image onto the eMMC drive? If so, how did you do it and what did you use? MFGTool? Version?
Regards,
Richard
Hi Richard,
I did not use MFG tool to flahs eMMC, flashed eMMC using dd commands after completely booting kernel through SD.
Regards,
Yashavantha
Can you share how to save the sd card image in emmc after successfully booting from sd card?
did you use cutomized image or the demo image? what dd command do you use? I suggest that you can use mfgtool to flash the image to the imx8M board, the image supports hdmi as default, and which hdmi port you connect? the default image is for hdmi connector. not mipi dsi port.
Hello Joan,
we are in the same situation as Yashavantha. We are see the identical u-boot and kernel error message pertaining to hdmi. However, if we were to start u-boot and kernel (4.9.123) from eMMC, then HDMI works fine.
u-boot:
No panel detected: default to HDMI
Display: HDMI (1280x720)
HDMI enable failed!
kernel:
[ 0.944094] [drm] Initialized
[ 0.950080] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 0.956709] [drm] No driver support for vblank timestamp query.
[ 0.962770] imx-drm display-subsystem: bound imx-dcss-crtc.0 (ops dcss_crtc_o ps)
[ 0.970260] i.mx8-hdp 32c00000.hdmi: Failed to get lane_mapping - using defau lt
[ 0.977595] i.mx8-hdp 32c00000.hdmi: lane_mapping 0x1b
[ 0.982743] i.mx8-hdp 32c00000.hdmi: Failed to get dp_link_rate - using defau lt
[ 0.990075] i.mx8-hdp 32c00000.hdmi: edp_link_rate 0x00
[ 0.995308] i.mx8-hdp 32c00000.hdmi: Failed to get dp_num_lanes - using defau lt
[ 1.002639] i.mx8-hdp 32c00000.hdmi: dp_num_lanes 0x04
[ 2.504162] [drm:hdmi_phy_init_t28hpc] *ERROR* NO HDMI FW running
[ 2.510266] [drm:imx_hdp_imx_bind] *ERROR* Failed to initialise HDP PHY
[ 2.516913] imx-drm display-subsystem: failed to bind 32c00000.hdmi (ops imx_ hdp_imx_ops): -6
Hello Joan,
Same issue i have observed in i.MX8M evk in one case.
In i.MX8M EVK SD boot switches are '1100', with this setting HDMI works, but when I changed switches to '1101' then also board boots with SD but HDMI fails with above mentioned error.
But in our board for normal SD boot only it is failing.
Regards,
Yashavantha
for imx8M evk board, SW801 "1100" is for SD2 booting, "0010" is for EMMC booting, I don't know why you set 1101?
Hi Joan,
Yes, I got to know that.
Initially by mistake I had kept board with that switch setting and was testing it. Since board was booting always I dint check the switches properly. That time I had observed HDMI issue. But later I changed switches to proper SD mode then HDMI started working.
(Added above information just to check if it helps in debugging the issue)
Regards,
Yashavantha
could you reproduce this issue on the imx8M evk board? only swith from 1100 to 1101, you can find this issue, how about boot from EMMC or SD card normally? could you get the same issue like your customized image?
I will try to test on my IMX8M evk with EMMC boot and SD boot
hi,
Yes, I can reproduce this issue If i change the boot switch to 1101.
With Normal SD and eMMC boot mode it is working fine.
could you use demo image to your board with the correct boot mode, how about the result? still has the same issue? I need to know what cases your issue, the customized image or your board HW issue, you can test demo image on your board first
Hi,
I can not test the demo image directly in our board since DDR changes causes error, but I tried with only DDR changes to evk binaries then I faced same error.
hi,
When I debug with adding prints, observed that its failing in below section.
file:drivers/video/imx/hdp/test_base_sw.c
function: cdn_apb_read
Here value at address 0x32c00018 has been read. In eMMC boot(working case) value read as '42' and SD boot(non working) read as '0', here it fails.
But no any description available in iMX8M reference manual for above address.
Regards,
Yashavantha
Hi Joan,
Sorry for delayed reply.
We are using customized image.
Also if we used binary with HDMI enabled through dcss and if we do not connect HDMI cable, board hangs/resets while initializing HDMI, it does not move further.
Thanks and Regards,
Yashavantha