imx6ul-evk lcd could not working

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

imx6ul-evk lcd could not working

跳至解决方案
3,973 次查看
fresxc
Contributor I

Hi,all

   I'm using the imx6ul-evk board, The lcd could not work. The log is following:

21c8000.lcdif supply lcd not found, using dummy regulator

mxsfb 21c8000.lcdif: failed to find mxc display driver

mxsfb 21c8000.lcdif: initialized

my DT:

&lcdif {
   pinctrl-names = "default";
   pinctrl-0 = <&pinctrl_lcdif_dat
                     &pinctrl_lcdif_ctrl>;
   display = <&display0>;
   status = "okay";

   display0: display {
      bits-per-pixel = <32>;
      bus-width = <24>;

      display-timings {
         native-mode = <&timing0>;
         timing0: timing0 {
            clock-frequency = <65000000>;
            hactive = <1024>;
            vactive = <768>;
            hback-porch = <220>;
            hfront-porch = <40>;
            hsync-len = <48>;
            vback-porch = <21>;
            vfront-porch = <7>;
            vsync-len = <60>;

            hsync-active = <0>;
            vsync-active = <0>;
            de-active = <0>; // 1: DE mode
            pixelclk-active = <0>;
         };
      };

   };

};

Could any one help me to solve this issue?

Thanks

Fresxc

标签 (2)
0 项奖励
回复
1 解答
2,063 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Fresxc

this specific error one can debug in driver probe function using Chapter 12
ELCDIF Frame Buffer Driver attached Linux Manual.

However easier way to check if it is working ok in uboot.

uboot-imx.git - Freescale i.MX u-boot Tree 

Best regards
igor

在原帖中查看解决方案

0 项奖励
回复
7 回复数
2,063 次查看
liangmu
Contributor I

Hi Fresxc,

How do you solve the problem that uboot can be used and kernel does not display?

Leon

0 项奖励
回复
2,063 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Fresxc

what bsp used in the case, could you try with L4.1.15

http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/?h=imx_4.1.15_1.0.0_ga

http://www.nxp.com/webapp/Download?colCode=L4.1.15_1.1.0_LINUX_DOCS&Parent_nodeId=133769948107170617... 

Is it working in uboot, enabled in include/configs/mx6ul_14x14_evk.h   

with #define CONFIG_VIDEO 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
2,063 次查看
fresxc
Contributor I

Hi,Igor

Yes, i'm using L4.1.15_1.2.0. How can i fix the following error?

mxsfb 21c8000.lcdif: failed to find mxc display driver

Thanks

Fresxc

0 项奖励
回复
2,064 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Fresxc

this specific error one can debug in driver probe function using Chapter 12
ELCDIF Frame Buffer Driver attached Linux Manual.

However easier way to check if it is working ok in uboot.

uboot-imx.git - Freescale i.MX u-boot Tree 

Best regards
igor

0 项奖励
回复
2,063 次查看
fresxc
Contributor I

Hi Igor

The LCD is working well on iMX6Q-SABRESD and the same kernel. 

I do not know how can i check it in uboot, do you have any way?

 

Thanks

Fresxc

0 项奖励
回复
2,063 次查看
igorpadykov
NXP Employee
NXP Employee

for test in uboot please change lcd_panel_info_t with custom lcd parameters in
http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/board/freescale/mx6ul_14x14_evk/mx6ul_1...
and rebuild uboot using attached document Chapter 1 Porting U-Boot

Best regards
igor

0 项奖励
回复
2,063 次查看
fresxc
Contributor I

Hi Igor

It is working well in uboot and kernel now. Although the error is there. I will debug the error message later.

Thanks for your help!

Fresxc

0 项奖励
回复