drm error message at boot

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

drm error message at boot

1,327 Views
acremonini
Contributor III

Hello,

I'm developing a Yocto distro for a custom board, starting from the one for imx8mp_evk. I'm trying to remove errors during the boot but there's three messages about ldb I can't explain. Notice that my lvds display works fine despite the messages.

[    0.183364] imx8mp-ldb ldb-display-controller: Failed to create device link (0x180) with 32e90000.lcd-controller
[    0.346205] imx8mp-ldb ldb-display-controller: Failed to create device link (0x180) with phy-lvds
[    0.375242] imx8mp-ldb ldb-display-controller: Failed to create device link (0x180) with lvds0_panel

 

After some debugging on on my board I've moved to the evk that has the same error.

[ 0.222956] imx8mp-ldb ldb-display-controller: Failed to create device link (0x180) with 32e90000.lcd-controller
[ 0.403848] imx8mp-ldb ldb-display-controller: Failed to create device link (0x180) with 1-004c
[ 0.467060] imx8mp-ldb ldb-display-controller: Failed to create device link (0x180) with 1-004c

I'm working on imx-linux-scarthgap distro with manifest imx-6.6.23-2.0.0.xml. Before this revision I worked with a mickledore one and no ldb error messages were printed on serial console.

Can someone help me removing this issue?

3 Replies

620 Views
SanthoshRajavel
Contributor II

My Board 8MPLUSLPD4-EVK 

 

0 Kudos
Reply

670 Views
SanthoshRajavel
Contributor II

Hi @Manuel_Salas ,
Iam also facing the same issue in Scarthgap.

[ 0.090951] platform panel-lvds: Fixed dependency cycle(s) with /ldb-display- controller/lvds-channel@0
[ 1.605694] panel-lvds panel-lvds: /panel-lvds: problems parsing panel-timing (-22)
[ 1.613391] panel-lvds: probe of panel-lvds failed with error -22
[ 1.630510] imx8mp-ldb ldb-display-controller: Failed to create device link ( 0x180) with 32e90000.lcd-controller
[ 2.659304] imx8mp-ldb ldb-display-controller: Failed to create device link ( 0x180) with phy-lvds


My dts file 

// SPDX-License-Identifier: GPL-2.0+
/*
* i.MX8M Plus EVK
* LVDS Panel: 800x480 @ 60Hz
* Kernel: Linux 6.6+
*/

#include "imx8mp-evk.dts"

/ {
model = "NXP i.MX8M Plus EVK - LVDS 800x480";
compatible = "fsl,imx8mp-evk", "fsl,imx8mp";

panel_lvds: panel-lvds {
compatible = "panel-lvds";
status = "okay";

data-mapping = "vesa-24";
data-width = <24>;

display-timings {
native-mode = <&timing0>;

timing0: timing0 {
clock-frequency = <25005000>;

hactive = <800>;
hsync-len = <6>;
hback-porch = <14>;
hfront-porch = <44>;

vactive = <480>;
vsync-len = <1>;
vback-porch = <3>;
vfront-porch = <5>;
};
};

port {
panel_in: endpoint {
remote-endpoint = <&ldb_lvds_out>;
};
};
};
};

&ldb_phy {
status = "okay";
};

&ldb {
status = "okay";

port@0 {
reg = <0>;
ldb_lcdif_in: endpoint {
remote-endpoint = <&lcdif3_out>;
};
};

lvds-channel@0 {
status = "okay";
fsl,data-mapping = "vesa-24";
fsl,data-width = <24>;

port@1 {
reg = <1>;
ldb_lvds_out: endpoint {
remote-endpoint = <&panel_in>;
};
};
};
};

&lcdif3 {
status = "okay";

port {
lcdif3_out: endpoint {
remote-endpoint = <&ldb_lcdif_in>;
};
};
};

/* Disable HDMI controller ONLY */
&hdmi {
status = "disabled";
};


/* Disable MIPI + unused LCDIFs */
&mipi_dsi { status = "disabled"; };
&lcdif1 { status = "disabled"; };
&lcdif2 { status = "disabled"; };

can you help me to fix that . I also attach my display details . Could you address the issue

Media (2).jpg



0 Kudos
Reply

1,305 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @acremonini 

I hope you are doing very well.

 

That error code 0x180 just means “no device found” at the time the link was attempted. It's more of a timing thing than an actual bug.

Since your LVDS display is working fine, it means the drivers eventually did their job. These logs are new in recent kernels (like 6.6 from Scarthgap). Older versions like Mickledore didn’t log this as an issue, which is probably why you hadn’t seen it before.

You can share your device tree and we can check if there is any inconsistency that is displaying this log.

 

Best regards,

Salas.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2094607%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Edrm%20error%20message%20at%20boot%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2094607%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI'm%20developing%20a%20Yocto%20distro%20for%20a%20custom%20board%2C%20starting%20from%20the%20one%20for%20imx8mp_evk.%20I'm%20trying%20to%20remove%20errors%20during%20the%20boot%20but%20there's%20three%20messages%20about%20ldb%20I%20can't%20explain.%20Notice%20that%20my%20lvds%20display%20works%20fine%20despite%20the%20messages.%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%5B%20%20%20%200.183364%5D%20imx8mp-ldb%20ldb-display-controller%3A%20Failed%20to%20create%20device%20link%20(0x180)%20with%2032e90000.lcd-controller%0A%5B%20%20%20%200.346205%5D%20imx8mp-ldb%20ldb-display-controller%3A%20Failed%20to%20create%20device%20link%20(0x180)%20with%20phy-lvds%0A%5B%20%20%20%200.375242%5D%20imx8mp-ldb%20ldb-display-controller%3A%20Failed%20to%20create%20device%20link%20(0x180)%20with%20lvds0_panel%3C%2FCODE%3E%3C%2FPRE%3E%3CBR%20%2F%3E%3CP%3EAfter%20some%20debugging%20on%20on%20my%20board%20I've%20moved%20to%20the%20evk%20that%20has%20the%20same%20error.%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%5B%200.222956%5D%20imx8mp-ldb%20ldb-display-controller%3A%20Failed%20to%20create%20device%20link%20(0x180)%20with%2032e90000.lcd-controller%0A%5B%200.403848%5D%20imx8mp-ldb%20ldb-display-controller%3A%20Failed%20to%20create%20device%20link%20(0x180)%20with%201-004c%0A%5B%200.467060%5D%20imx8mp-ldb%20ldb-display-controller%3A%20Failed%20to%20create%20device%20link%20(0x180)%20with%201-004c%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EI'm%20working%20on%20imx-linux-scarthgap%20distro%20with%20manifest%26nbsp%3Bimx-6.6.23-2.0.0.xml.%20Before%20this%20revision%20I%20worked%20with%20a%20mickledore%20one%20and%20no%20ldb%20error%20messages%20were%20printed%20on%20serial%20console.%3C%2FP%3E%3CP%3ECan%20someone%20help%20me%20removing%20this%20issue%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2303051%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20drm%20error%20message%20at%20boot%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2303051%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F203368%22%20target%3D%22_blank%22%3E%40Manuel_Salas%3C%2FA%3E%26nbsp%3B%2C%3CBR%20%2F%3EIam%20also%20facing%20the%20same%20issue%20in%26nbsp%3B%3CSPAN%3EScarthgap.%3CBR%20%2F%3E%3CBR%20%2F%3E%5B%200.090951%5D%20platform%20panel-lvds%3A%20Fixed%20dependency%20cycle(s)%20with%20%2Fldb-display-%20controller%2Flvds-channel%400%3CBR%20%2F%3E%5B%201.605694%5D%20panel-lvds%20panel-lvds%3A%20%2Fpanel-lvds%3A%20problems%20parsing%20panel-timing%20(-22)%3CBR%20%2F%3E%5B%201.613391%5D%20panel-lvds%3A%20probe%20of%20panel-lvds%20failed%20with%20error%20-22%3CBR%20%2F%3E%5B%201.630510%5D%20imx8mp-ldb%20ldb-display-controller%3A%20Failed%20to%20create%20device%20link%20(%200x180)%20with%2032e90000.lcd-controller%3CBR%20%2F%3E%5B%202.659304%5D%20imx8mp-ldb%20ldb-display-controller%3A%20Failed%20to%20create%20device%20link%20(%200x180)%20with%20phy-lvds%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EMy%20dts%20file%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%2F%2F%20SPDX-License-Identifier%3A%20GPL-2.0%2B%3CBR%20%2F%3E%2F*%3CBR%20%2F%3E*%20i.MX8M%20Plus%20EVK%3CBR%20%2F%3E*%20LVDS%20Panel%3A%20800x480%20%40%2060Hz%3CBR%20%2F%3E*%20Kernel%3A%20Linux%206.6%2B%3CBR%20%2F%3E*%2F%3C%2FP%3E%3CP%3E%23include%20%22imx8mp-evk.dts%22%3C%2FP%3E%3CP%3E%2F%20%7B%3CBR%20%2F%3Emodel%20%3D%20%22NXP%20i.MX8M%20Plus%20EVK%20-%20LVDS%20800x480%22%3B%3CBR%20%2F%3Ecompatible%20%3D%20%22fsl%2Cimx8mp-evk%22%2C%20%22fsl%2Cimx8mp%22%3B%3C%2FP%3E%3CP%3Epanel_lvds%3A%20panel-lvds%20%7B%3CBR%20%2F%3Ecompatible%20%3D%20%22panel-lvds%22%3B%3CBR%20%2F%3Estatus%20%3D%20%22okay%22%3B%3C%2FP%3E%3CP%3Edata-mapping%20%3D%20%22vesa-24%22%3B%3CBR%20%2F%3Edata-width%20%3D%20%26lt%3B24%26gt%3B%3B%3C%2FP%3E%3CP%3Edisplay-timings%20%7B%3CBR%20%2F%3Enative-mode%20%3D%20%26lt%3B%26amp%3Btiming0%26gt%3B%3B%3C%2FP%3E%3CP%3Etiming0%3A%20timing0%20%7B%3CBR%20%2F%3Eclock-frequency%20%3D%20%26lt%3B25005000%26gt%3B%3B%3C%2FP%3E%3CP%3Ehactive%20%3D%20%26lt%3B800%26gt%3B%3B%3CBR%20%2F%3Ehsync-len%20%3D%20%26lt%3B6%26gt%3B%3B%3CBR%20%2F%3Ehback-porch%20%3D%20%26lt%3B14%26gt%3B%3B%3CBR%20%2F%3Ehfront-porch%20%3D%20%26lt%3B44%26gt%3B%3B%3C%2FP%3E%3CP%3Evactive%20%3D%20%26lt%3B480%26gt%3B%3B%3CBR%20%2F%3Evsync-len%20%3D%20%26lt%3B1%26gt%3B%3B%3CBR%20%2F%3Evback-porch%20%3D%20%26lt%3B3%26gt%3B%3B%3CBR%20%2F%3Evfront-porch%20%3D%20%26lt%3B5%26gt%3B%3B%3CBR%20%2F%3E%7D%3B%3CBR%20%2F%3E%7D%3B%3C%2FP%3E%3CP%3Eport%20%7B%3CBR%20%2F%3Epanel_in%3A%20endpoint%20%7B%3CBR%20%2F%3Eremote-endpoint%20%3D%20%26lt%3B%26amp%3Bldb_lvds_out%26gt%3B%3B%3CBR%20%2F%3E%7D%3B%3CBR%20%2F%3E%7D%3B%3CBR%20%2F%3E%7D%3B%3CBR%20%2F%3E%7D%3B%3C%2FP%3E%3CP%3E%26amp%3Bldb_phy%20%7B%3CBR%20%2F%3Estatus%20%3D%20%22okay%22%3B%3CBR%20%2F%3E%7D%3B%3C%2FP%3E%3CP%3E%26amp%3Bldb%20%7B%3CBR%20%2F%3Estatus%20%3D%20%22okay%22%3B%3C%2FP%3E%3CP%3Eport%400%20%7B%3CBR%20%2F%3Ereg%20%3D%20%26lt%3B0%26gt%3B%3B%3CBR%20%2F%3Eldb_lcdif_in%3A%20endpoint%20%7B%3CBR%20%2F%3Eremote-endpoint%20%3D%20%26lt%3B%26amp%3Blcdif3_out%26gt%3B%3B%3CBR%20%2F%3E%7D%3B%3CBR%20%2F%3E%7D%3B%3C%2FP%3E%3CP%3Elvds-channel%400%20%7B%3CBR%20%2F%3Estatus%20%3D%20%22okay%22%3B%3CBR%20%2F%3Efsl%2Cdata-mapping%20%3D%20%22vesa-24%22%3B%3CBR%20%2F%3Efsl%2Cdata-width%20%3D%20%26lt%3B24%26gt%3B%3B%3C%2FP%3E%3CP%3Eport%401%20%7B%3CBR%20%2F%3Ereg%20%3D%20%26lt%3B1%26gt%3B%3B%3CBR%20%2F%3Eldb_lvds_out%3A%20endpoint%20%7B%3CBR%20%2F%3Eremote-endpoint%20%3D%20%26lt%3B%26amp%3Bpanel_in%26gt%3B%3B%3CBR%20%2F%3E%7D%3B%3CBR%20%2F%3E%7D%3B%3CBR%20%2F%3E%7D%3B%3CBR%20%2F%3E%7D%3B%3C%2FP%3E%3CP%3E%26amp%3Blcdif3%20%7B%3CBR%20%2F%3Estatus%20%3D%20%22okay%22%3B%3C%2FP%3E%3CP%3Eport%20%7B%3CBR%20%2F%3Elcdif3_out%3A%20endpoint%20%7B%3CBR%20%2F%3Eremote-endpoint%20%3D%20%26lt%3B%26amp%3Bldb_lcdif_in%26gt%3B%3B%3CBR%20%2F%3E%7D%3B%3CBR%20%2F%3E%7D%3B%3CBR%20%2F%3E%7D%3B%3C%2FP%3E%3CP%3E%2F*%20Disable%20HDMI%20controller%20ONLY%20*%2F%3CBR%20%2F%3E%26amp%3Bhdmi%20%7B%3CBR%20%2F%3Estatus%20%3D%20%22disabled%22%3B%3CBR%20%2F%3E%7D%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%2F*%20Disable%20MIPI%20%2B%20unused%20LCDIFs%20*%2F%3CBR%20%2F%3E%26amp%3Bmipi_dsi%20%7B%20status%20%3D%20%22disabled%22%3B%20%7D%3B%3CBR%20%2F%3E%26amp%3Blcdif1%20%7B%20status%20%3D%20%22disabled%22%3B%20%7D%3B%3CBR%20%2F%3E%26amp%3Blcdif2%20%7B%20status%20%3D%20%22disabled%22%3B%20%7D%3B%3CBR%20%2F%3E%3CBR%20%2F%3Ecan%20you%20help%20me%20to%20fix%20that%20.%20I%20also%20attach%20my%20display%20details%E2%80%83.%20Could%20you%20address%20the%20issue%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Media%20(2).jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Media%20(2).jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Media%20(2).jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F374815iF680ADBA41920781%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Media%20(2).jpg%22%20alt%3D%22Media%20(2).jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2094685%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20drm%20error%20message%20at%20boot%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2094685%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F56935%22%20target%3D%22_blank%22%3E%40acremonini%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20hope%20you%20are%20doing%20very%20well.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThat%20error%20code%200x180%20just%20means%20%E2%80%9Cno%20device%20found%E2%80%9D%20at%20the%20time%20the%20link%20was%20attempted.%20It's%20more%20of%20a%20timing%20thing%20than%20an%20actual%20bug.%3C%2FP%3E%0A%3CP%3ESince%20your%20LVDS%20display%20is%20working%20fine%2C%20it%20means%20the%20drivers%20eventually%20did%20their%20job.%20These%20logs%20are%20new%20in%20recent%20kernels%20(like%206.6%20from%20Scarthgap).%20Older%20versions%20like%20Mickledore%20didn%E2%80%99t%20log%20this%20as%20an%20issue%2C%20which%20is%20probably%20why%20you%20hadn%E2%80%99t%20seen%20it%20before.%3C%2FP%3E%0A%3CP%3EYou%20can%20share%20your%20device%20tree%20and%20we%20can%20check%20if%20there%20is%20any%20inconsistency%20that%20is%20displaying%20this%20log.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3ESalas.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2303053%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20drm%20error%20message%20at%20boot%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2303053%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EMy%20Board%208MPLUSLPD4-EVK%26nbsp%3B%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E