IMX8QM Display port

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX8QM Display port

725 Views
Rbe78
Contributor II

Hi,

I am trying to use the display port with an IMX8QM on a custom board.

With the kernel from freescale 6.6.101 and the last dpfw.bin I am getting the following errors :

[drm] Started firmware!
[drm] set maximum defer retry to 5
[drm] HDP FW Version - ver 35083 verlib 20560
[drm] Only HDCP 2.2 is enabled

[ 117.275150] cdns-mhdp-imx 56268000.hdmi: [drm:cdns_mhdp_mailbox_validate_receive [cdns_mhdp_drmcore]] Hmmm spurious mailbox data maybe, cleaning out…1:2:130 vs 1:2:2
[ 117.300044] cdns-mhdp-imx 56268000.hdmi: [drm:cdns_mhdp_mailbox_validate_receive [cdns_mhdp_drmcore]] Hmmm spurious mailbox data maybe, cleaning out…1:2:130 vs 1:2:2
[ 117.324855] cdns-mhdp-imx 56268000.hdmi: [drm:cdns_mhdp_mailbox_validate_receive [cdns_mhdp_drmcore]] Hmmm spurious mailbox data maybe, cleaning out…1:2:130 vs 1:2:2
[ 117.349728] cdns-mhdp-imx 56268000.hdmi: [drm:cdns_mhdp_mailbox_validate_receive [cdns_mhdp_drmcore]] Hmmm spurious mailbox data maybe, cleaning out…1:2:130 vs 1:2:2
[ 117.367633] cdns-mhdp-imx 56268000.hdmi: [drm:cdns_mhdp_get_edid_block [cdns_mhdp_drmcore]] ERROR get block[0] edid failed: -22
[ 117.380368] [drm:cdns_dp_connector_get_modes [cdns_mhdp_drmcore]] ERROR Invalid edid
[ 117.455078] cdns-mhdp-imx 56268000.hdmi: [drm:cdns_mhdp_mailbox_validate_receive [cdns_mhdp_drmcore]] Hmmm spurious mailbox data maybe, cleaning out…1:3:6 vs 1:3:5
[ 117.477757] cdns-mhdp-imx 56268000.hdmi: [drm:cdns_mhdp_mailbox_validate_receive [cdns_mhdp_drmcore]] Hmmm spurious mailbox data maybe, cleaning out…1:3:6 vs 1:3:5
[ 117.500832] cdns-mhdp-imx 56268000.hdmi: [drm:cdns_mhdp_mailbox_validate_receive [cdns_mhdp_drmcore]] Hmmm spurious mailbox data maybe, cleaning out…1:3:6 vs 1:3:5
[ 117.522285] cdns-mhdp-imx 56268000.hdmi: [drm:cdns_mhdp_mailbox_validate_receive [cdns_mhdp_drmcore]] Hmmm spurious mailbox data maybe, cleaning out…1:3:6 vs 1:3:5
[ 117.543825] cdns-mhdp-imx 56268000.hdmi: [drm:cdns_mhdp_mailbox_validate_receive [cdns_mhdp_drmcore]] Hmmm spurious mailbox data maybe, cleaning out…1:3:6 vs 1:3:5
[ 117.565803] cdns-mhdp-imx 56268000.hdmi: [drm:cdns_mhdp_mailbox_validate_receive [cdns_mhdp_drmcore]] Hmmm spurious mailbox data maybe, cleaning out…1:3:6 vs 1:3:5

I tried to use others version of the dpfw without success.

In my dts file I use this to use the DP :

&hdmi {
status = “okay”;
compatible = “cdn,imx8qm-dp”;
firmware-name = “dpfw.bin”;
lane-mapping = <0x1b>;
hdcp-config = <0x2>;
};

The kernel error I wrote just before occur when the HPD change his level from low to high.
I see datas on the AUX pins of the DP.

With the kernel 6.6.94 and the dpfw.bin compiled from yocto the errors are identical.

Any idea ?

Tags (2)
0 Kudos
Reply
2 Replies

670 Views
joanxie
NXP TechSupport
NXP TechSupport

this firmware is align to the nxp official bsp, I suggest that you can use nxp official bsp version

https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for...

 

0 Kudos
Reply

605 Views
Rbe78
Contributor II

I just tried the kernel in the package gived by NXP : L6.6.52_2.2.2_MX8QM

The kernel 6.6.52 boots but I have now this following errors : 

[ 5.360352] [drm] Started firmware!
[ 6.021326] [drm:cdns_mhdp_firmware_init_imx8qm [cdns_mhdp_imx]] *ERROR* NO HDMI FW running
[ 6.657181] [drm:__cdns_dp_probe [cdns_mhdp_drmcore]] *ERROR* NO dp FW running
[ 6.664860] imx-drm display-subsystem: failed to bind 56268000.hdmi (ops cdns_mhdp_imx_ops [cdns_mhdp_imx]): -6
[ 6.676112] imx-drm display-subsystem: adev bind failed: -6

But when I rename the file dpfw.bin the kernel displays this error :

[ 5.462856] cdns-mhdp-imx 56268000.hdmi: Direct firmware load for dpfw.bin failed with error -2

The firmware looks loaded in my case but it do not run ?
This is the firmware I found in the package.

 Thanks

0 Kudos
Reply