Can not connect a MX8-DSI-OLED1A Panel to i.MX8M Nano EVK

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

Can not connect a MX8-DSI-OLED1A Panel to i.MX8M Nano EVK

2,188 Views
Netursa
Contributor I

I'm trying to connect a MX8-DSI-OLED1A panel to a I.MX8M Nano EVK. I've tried different demo builds, such as android 10 and 11, as well as Linux. Also i have tried different versions of the .dtb file name, but with no success.

I'm tryinig flash images with the "-d mipi-panel" parameter, and also tried set different versions of the .dtb file.

I think that my board does not support this panel, but I cannot find any information about it, only about the oled1 version. (The packing list says that this is the oled1A panel).

I see an error in the console, but I don't know what it means.
"

Loading Environment from MMC... *** Warning - bad CRC, using default environment

[*]-Video Link 0adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c
fail to probe panel device adv7535@3d
mxs_video lcd-controller@32e00000: failed to get any video link display timings
probe video device failed, ret -22

[0] lcd-controller@32e00000, video
[1] dsi_controller@32e10000, video_bridge
[2] adv7535@3d, panel
adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c
fail to probe panel device adv7535@3d
mxs_video lcd-controller@32e00000: failed to get any video link display timings
probe video device failed, ret -22

"

I can get the EVK work with a HDMI monitor out of the box, but not with the panel.

I don't know what else to try...

4 Replies

1,287 Views
DannyEngeringh
Contributor I

I have the same error, i'm using the imx8mm with an Oled1A. with:

root@imx8mmevk:~# uname -a

Linux imx8mmevk 5.15.71+g3313732e9984 #1 SMP PREEMPT Tue Nov 15 10:35:06 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

 

I tried the following:

u-boot=> setenv fdt_file imx8mm-evk-rm67199.dtb

u-boot=> saveenv

u-boot=> boot

 

u-boot=> videolink

[*]-Video Link 0adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c

fail to probe panel device adv7535@3d

mxs_video lcdif@32e00000: failed to get any video link display timings

probe video device failed, ret -22

⇥ [0] lcdif@32e00000, video

⇥ [1] mipi_dsi@32e10000, video_bridge

⇥ [2] adv7535@3d, panel

[ ]-Video Link 1

⇥ [0] lcdif@32e00000, video

⇥ [1] mipi_dsi@32e10000, video_bridge

⇥ [2] rm67199_panel, panel

 

...

 

root@imx8mmevk:/proc/device-tree/soc@0/bus@32c00000/mipi_dsi@32e10000/panel@0# cat status

okay<break>

[10:12:16:307] root@imx8mmevk:/proc/device-tree/soc@0/bus@32c00000/mipi_dsi@32e10000/panel@0#

 

...

root@imx8mmevk:~# modetest

trying to open device 'i915'...failed

trying to open device 'amdgpu'...failed

trying to open device 'radeon'...failed

trying to open device 'nouveau'...failed

trying to open device 'vmwgfx'...failed

trying to open device 'omapdrm'...failed

trying to open device 'exynos'...failed

trying to open device 'tilcdc'...failed

trying to open device 'msm'...failed

trying to open device 'sti'...failed

trying to open device 'tegra'...failed

trying to open device 'imx-drm'...done

Encoders:

id⇥ crtc⇥ type⇥ possible crtcs⇥ possible clones⇥

34⇥ 33⇥ DSI⇥ 0x00000001⇥ 0x00000001

 

Connectors:

id⇥ encoder⇥ status⇥ ⇥ name⇥ ⇥ size (mm)⇥ modes⇥ encoders

35⇥ 34⇥ connected⇥ DSI-1 ⇥ 68x121⇥ ⇥ 1⇥ 34

 

The display does absolutely nothing, but did work with the pre loaded android image. can someone please help me to get it working

0 Kudos

2,043 Views
miguel_alonso
NXP Employee
NXP Employee

> [*]-Video Link 0adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c
fail to probe panel device adv7535@3d

The adv7535_mipi2hdmi is the MIPI-HDMI hardware, some setting in uboot is trying to use HDMI instead of DSI panel, this is fixed by using the proper dtb file

Check in uboot if you are using the correct dbt in the fdtfile variable, it sall be imx8mm-evk-rm67199.dtb for OLED1A panel, if you are using the correct DTB file you must have this devices listed

[0] lcdif@32e00000, video
[1] mipi_dsi@32e10000, video_bridge
[2] adv7535@3d, panel

 

Take a look in /proc/device-tree panel status in the board , in my case I am using a iMX8 Mini 

root@imx8mm-lpddr4-evk:~# # cd /proc/device-tree/soc@0/bus@32c00000/mipi_dsi@32e10000/panel@0/

root@imx8mm-lpddr4-evk:~# # cat status
> okay

 

If you are using a prebuild image try to run in the board console, look for DSI pannel 

root@imx8mm-lpddr4-evk:~# modetest 

Encoders:
id crtc type possible crtcs possible clones
34 33 DSI 0x00000001 0x00000001

Connectors:
id encoder status name size (mm) modes encoders
35 34 connected DSI-1 68x121 1 34

 

You can also ran OpenGL benchmark  to test is there is any display recognized in the system

root@imx8mm-lpddr4-evk:~#  glmark2-es2-wayland

 

You must also try with another panel, sometimes it might be a hardware issue.

0 Kudos

2,113 Views
amberworth
Contributor III

I got the IMX8-DSI-OLED1A Panel to load using the imx8mn-evk-rm67191.dtb... sort of.

In uboot 

u-boot=> setenv fdtfile 'imx8mn-evk-rm67191.dtb'

u-boot=> boot

When it comes up, the orientation is off (1080x1920 instead of 1920x1080) and half the screen is the wrong color when I launch weston, but the panel comes up.

0 Kudos

2,121 Views
amberworth
Contributor III

I'm seeing the same but with an imx8mp.

 

0 Kudos