i.MX8M display with EDP panel

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

i.MX8M display with EDP panel

10,075 Views
lizboxy
Contributor I

由于采用i.MX8M要适配多尺寸的屏幕,需要用到EDP屏。

但现在碰到显示的问题:使用dual lane edp 屏幕开机一直显示 No EDID function

我的设备树如下, 附件是SCH,请帮忙确认这是硬件还是软件哪里的问题?能否给点建议?谢谢!

&hdmi {

             compatible = "fsl,imx8mq-dp";

            lane_mapping = <0xc6>;

            fsl,edp; edp_link_rate = <0x6>;

            edp_num_lanes = <0x2>;

            status = "okay";

};

0 Kudos
Reply
32 Replies

6,005 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Confirmed with upcoming L5.4.70_2.3.2 release that DP works using:

  • imx-boot-imx8mqevk-sd.bin-flash_dp_evk
  • imx8mq-evk-dp.dtb
  • setting video_off=y on u-boot

video_off=y disables u-boot imx8mq hdmi support letting the kernel to properly start DP driver instead.

Regards

0 Kudos
Reply

6,022 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

你的问题解决了吗?

From software team feedback:

Can you share DPCD and EDID dumps for the edp panel? Is it possible to share panel with us?

0 Kudos
Reply

5,997 Views
lizboxy
Contributor I

还是点不亮,请看下附件里屏的规格。

之前固件和软件有没有适配过EDP的屏?这种屏,像京东方的,还挺多的,不限与这个屏幕,只要是13.3寸都可以。

请帮忙再看看给点建议哈,谢谢!

0 Kudos
Reply

5,993 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

是DP固件的问题,专家那边的回复:

Confirmed with upcoming L5.4.70_2.3.2 release that DP works using:

  • imx-boot-imx8mqevk-sd.bin-flash_dp_evk
  • imx8mq-evk-dp.dtb
  • setting video_off=y on u-boot

video_off=y disables u-boot imx8mq hdmi support letting the kernel to properly start DP driver instead.

过段时间L5.4.70_2.3.2会放出来,到时候您再试试,不行我再去提内部case。

0 Kudos
Reply

5,694 Views
Xinguo_Li
Contributor I

hi, nxf65025 

我也同样的使用的这款2lanes的eDP屏,硬件连接按照链接Solved: i.MX8 Display Port Interface - NXP Community 里面的方法修改的,在i.MX8MQ的EVK上使用官方提供的镜像测试了4.14.98到最新的5.10.9的镜像,都是能正确完成初始化,缺不能点亮显示。

0 Kudos
Reply

5,689 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

你把log私发给我看看

0 Kudos
Reply

6,030 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

R&D feedback:

PLL IP limitation. It couldn't support  clock rate 147800 kHz.

0 Kudos
Reply

6,003 Views
lizboxy
Contributor I

So could you confrim the MAX support  clock rate? And how we can handle it?

0 Kudos
Reply

6,207 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

update:

Seems that HDMI Display port depends on signed_dp_imx8m.bin binary; by default when boot image is generated it includes signed_hdmi_imx8m.bin as default;

Try by using imx-boot-imx8mqevk-sd.bin-flash_dp_evk as boot image

For creating an SD card image using UUU:

uuu -b sd_all imx-boot-imx8mqevk-sd.bin-flash_dp_evk imx-image-multimedia-imx8mqevk.wic.bz2

0 Kudos
Reply

6,162 Views
lizboxy
Contributor I

这个是否跟目前用的屏幕是2 lane 有关?内核默认是4 laneDP

 有看到其他人报一样的错,但他们是4lane 可以正常工作,而2lane 会报错。

https://community.nxp.com/t5/i-MX-Processors/imx8mq-Dual-Lane-DisplayPort/m-p/1043148#M153614

是否就是这个问题?如果是,如何修改?谢谢!

0 Kudos
Reply

6,149 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

软件那边还没回复

i.mx8mq-evk-dp.dts中将i.mx8mq-evk.dts中lane-mapping值从0xe4改成了0xc6

你试一下将i.mx8mq-evk-dp.dts的lane-mapping改为0xe4

 

参考edp.dts:https://github.com/boundarydevices/linux-imx6/blob/boundary-imx_5.4.x_2.3.0/arch/arm64/boot/dts/free... 

0 Kudos
Reply

6,110 Views
lizboxy
Contributor I

目前看打印信息没有报错了,也可以读到是DP连接了,就是没有信号输出,还有那些需要确认的吗?有没有办法可以强制输出dp信号。全部打印信息如附档,还请继续建议,谢谢!

 

root@imx8mqevk:~# cd /sys/class/drm  

root@imx8mqevk:/sys/class/drm# ls

card0  card0-DP-1  card1  renderD128  ttm  version

root@imx8mqevk:/sys/class/drm# cat card0

cat: card0: Is a directory

root@imx8mqevk:/sys/class/drm# cd card0

root@imx8mqevk:/sys/class/drm/card0# ls

card0-DP-1  consumers  dev  device  power  subsystem  suppliers  uevent

root@imx8mqevk:/sys/class/drm/card0# cd ..

root@imx8mqevk:/sys/class/drm# ls

card0  card0-DP-1  card1  renderD128  ttm  version

root@imx8mqevk:/sys/class/drm#

0 Kudos
Reply

6,098 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

能把edp屏幕的datasheet发给我吗

0 Kudos
Reply

6,099 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

软件那边在debug,他们update后我会继续更新

0 Kudos
Reply

6,185 Views
lizboxy
Contributor I

在u-boot里用的就是这个DP固件,或者说这个固件有没有更新?怎样更新?还请建议,谢谢!

另外,

[drm] Mode: 1920x1080p147800;

imx-dcss 32e00000.display-controller: Pixel clock set to 147789 kHz instead of 147800 kHz.

不是已经读出来是147800了还要用147789去代替147800

0 Kudos
Reply

6,348 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

你试一下在uboot里添加

"drm.debug=0x7" 

系统会进入调试模式,如果不行分享一下log

0 Kudos
Reply

6,338 Views
lizboxy
Contributor I

"drm.debug=0x7"这句话是添加在Uboot 哪里?

0 Kudos
Reply

6,329 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

setenv bootargs drm.debug=0x7

 

saveenv

0 Kudos
Reply

6,346 Views
lizboxy
Contributor I

请帮忙看下硬件SCH有没有问题?

0 Kudos
Reply

6,340 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

硬件没问题

0 Kudos
Reply