Hi All,
I am working HDMI OUT for IMX8QM board for Android 9 OS. I have physical HDMI connection on my board. the hdmitfw.bin loaded successfully in uboot but while checking in kernel as per log it is missing.
uboot,
Loading hdp firmware from 0x0000000084000000 offset 0x0000000000002000
Loading hdp firmware Complete
=> md 0x84002000
84002000: 666f20f6 3a4e226e ad5b461b 2a59cc1a . ofn"N:.F[...Y*
84002010: aa202020 63ed20ad fb2065eb aff66364 .. .c.e .dc..
84002020: 522063ba 48532c46 28723720 6ce261e0 .c RF,SH 7r(.a.l
84002030: aa692060 404c4620 62204852 286a2e61 ` i. FL@RH ba.j(
84002040: 0a4e202a 266f7260 20746365 2066662f * N.`ro&ect /ff
84002050: 2b6e60ea 200a4e20 2d202020 eb616d20 .`n+ N. - ma.
84002060: cc662064 a86853c1 eb6ee16a 4e2823aa d f..Sh.j.n..#(N
84002070: 6b7277a8 6c626334 eaf00aa7 ab6d7c6b .wrk4cbl....k|m.
84002080: ee6f20f4 ee6b20ea 28200a6c a0ad20a2 . o.. k.l. (. ..
84002090: eb6b63eb ec6e69aa 414c4628 e22048cb .ck..in.(FLA.H .
840020a0: 726b6e6b a8727720 68626174 7a650060 knkr wr.tabh`.ez
840020b0: 006d7262 6260726d 8e4620e4 a00a5300 brm.mr`b. F..S..
840020c0: ef69676c 6a027932 7472e134 642ee520 lgi.2y.j4.rt ..d
840020d0: 2220280a 65202920 667b6172 83cc46a4 .( " ) era{f.F..
840020e0: 6e224a73 aa6d6fea da664469 fe33a7aa sJ"n.om.iDf...3.
840020f0: af34726b a26ff622 ea64646b 6e6d272a kr4.".o.kdd.*'mn
kernel,
[ 1.436350] ------- imx_hdp_imx_bind --------- \x0d
[ 1.441117] i.mx8-hdp 56268000.hdmi: invalid resource
[ 1.446193] i.mx8-hdp 56268000.hdmi: Failed to get HDP RESET base register
[ 1.454025] [drm] loading hdmi firmware
[ 1.457873] +++++++++ hdp_fw_load ++++++++++++++++ txi: 0x0, rxi: 0x0, txenable: 0x0, rxenable: 0x0, runn: 0x0, bus_typr: 0x0, tmp: 0x0, edp: 0x0, phy: 0x0 \x0d
[ 1.471972] ++++++++++++++++ CDN_API_LoadFirmware +++++++++++ imem: 0x8b5df80 , dmem: 0x8b5df88 imemsize: 0x4, dmemsize: 0x4 \x0d
[ 1.483464] Loading hdp firmware to IRAM: 0x8b5df80 , IRAM Size: 0x4 , DRAM: 0x8b5df88 , DRAM Size: 0x4
[ 1.492958] CDN_API_SetClock completed
[ 1.496710] [drm] Started firmware!
[ 2.997485] [drm:hdp_fw_init] *ERROR* CDN_API_CheckAlive failed - check firmware!
[ 3.004975] [drm:imx_hdp_imx_bind] *ERROR* Failed to initialise HDP firmware
[ 3.012061] imx-drm display-subsystem: failed to bind 56268000.hdmi (ops imx_hdp_imx_ops): -6
[ 3.020726] imx-drm display-subsystem: master bind failed: -6
Hi Vinothkumar
from log: " check firmware!" seems there may be problems with proper revisions of
firmware and other image components : scfw, atf, uboot, linux kernel.
In general one can try to debug it using AN12631
Normal and Secure Debug for i.MX8/8X Family of Applications Processors
Best regards
igor
Thank you @igorpadykov for the reply.
I am using default one - \vendor\nxp\linux-firmware-imx\firmware\hdmi\cadence\
Will you please give some document, how hdmitx loading in kernel.
Hi Vinothkumar
unfortunately such document is not available. Could you try to reproduce issue
on nxp reference board with demo image.
Best regards
igor
guidelines are provided in documentation included in Demo Image.
Best regards
igor