i.MX 8m nano kernel mipi display

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

i.MX 8m nano kernel mipi display

1,540 Views
xcx
Contributor I

问题:

        编译的kernel无法通过mipi dsi正常显示

 

具体描述:

       开发板:i.MX 8M Nano开发板 

       dts配置:具体看附件,以下是简要配置

&lcdif {
display = <&display0>;
status = "okay";

display0: display@0 {
bits-per-pixel = <24>;
bus-width = <24>;
};
};

&mipi_dsi {
status = "okay";

port@2 {
dsim_to_rm67191: endpoint {
remote-endpoint = <&rm67191_from_dsim>;
};
};
};

       问题kernel输出log: 具体看附件,以下是简要

[ 1.972973] printk: console [ttymxc1] enabled
[ 1.982372] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.989001] [drm] No driver support for vblank timestamp query.
[ 1.994997] imx-drm 32c00000.bus:display-subsystem: bound imx-lcdif-crtc.0 (ops lcdif_crtc_ops)
[ 2.004390] imx_sec_dsim_drv 32e10000.dsi_controller: version number is 0x1060200
[ 2.012453] imx_sec_dsim_drv 32e10000.dsi_controller: Failed to attach bridge: 32e10000.dsi_controller
[ 2.021770] imx_sec_dsim_drv 32e10000.dsi_controller: failed to bind sec dsim bridge: -19
[ 2.029964] imx-drm 32c00000.bus:display-subsystem: bound 32e10000.dsi_controller (ops imx_sec_dsim_ops)
[ 2.039620] [drm] Initialized imx-drm 1.0.0 20120507 for 32c00000.bus:display-subsystem on minor 0

Labels (1)
0 Kudos
Reply
4 Replies

1,524 Views
igorpadykov
NXP Employee
NXP Employee

Hi xcx

 

please try latest Linux L5.4.70_2.3.0 :

Demo Image:  i.MX 8M Nano EVK

Documentation:

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

 

Best regards
igor

0 Kudos
Reply

1,505 Views
xcx
Contributor I

因为在开发板基础上有改动,我替换几个内核都没跑起来 (5.4.47 / 5.4.145)

0 Kudos
Reply

1,503 Views
igorpadykov
NXP Employee
NXP Employee

please try linux L5.4.70_2.3.0 from source.codeaurora.org/external/imx/linux-imx repository
https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.70_2.3.0

also may be useful:

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Setting-i-MX8M-Mini-and-Nano-MIPI-DPHY-C...

 

Best regards
igor

0 Kudos
Reply

1,488 Views
xcx
Contributor I

hello,

用了5_4_70.2.3.0分支内核后,出现了另一个错误,如下log,完整内核log看附件

[ 1.089528] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.096162] [drm] No driver support for vblank timestamp query.
[ 1.102152] imx-drm 32c00000.bus:display-subsystem: bound imx-lcdif-crtc.0 (ops lcdif_crtc_ops)
[ 1.110911] imx_sec_dsim_drv 32e10000.dsi_controller: failed to get blk_ctl
[ 1.118025] imx_sec_dsim_drv 32e10000.dsi_controller: version number is 0x1060200
[ 1.125741] imx_sec_dsim_drv 32e10000.dsi_controller: Failed to attach bridge: 32e10000.dsi_controller
[ 1.135114] imx_sec_dsim_drv 32e10000.dsi_controller: failed to bind sec dsim bridge: -517

 

[ 2.279995] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 2.286633] [drm] No driver support for vblank timestamp query.
[ 2.292639] imx-drm 32c00000.bus:display-subsystem: bound imx-lcdif-crtc.0 (ops lcdif_crtc_ops)
[ 2.301411] imx_sec_dsim_drv 32e10000.dsi_controller: failed to get blk_ctl
[ 2.308483] imx_sec_dsim_drv 32e10000.dsi_controller: version number is 0x1060200
[ 2.316146] mipi raydium rm67191 probe
[ 2.320294] imx-drm 32c00000.bus:display-subsystem: bound 32e10000.dsi_controller (ops imx_sec_dsim_ops)
[ 2.330058] [drm] Initialized imx-drm 1.0.0 20120507 for 32c00000.bus:display-subsystem on minor 0
[ 2.370857] raydium success cmd list count 169

0 Kudos
Reply