imx6dl parallel RGB display could not work on linux5.4.3

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

imx6dl parallel RGB display could not work on linux5.4.3

594 Views
xi-huashan
Contributor I

Hi,all

   I'm using a imx6dl custom board with  RGB parallel lcd. The lcd can work correctly on kernel 4.1.15,  u-boot bootargs like this:

console=tty1 console=ttymxc0,115200 root=/dev/mmcblk1p2 rw video=mxcfb0:dev=lcd,CLAA-WVGA,if=RGB565

CLAA-WVGA display setting could be found in mxc_lcdif.c: 

"CLAA-WVGA", 57, 800, 480, 37037, 40, 60, 10, 10, 20, 10,
But when i try linux5.4.3_1.0.0_2.0.0, LCD display nothing:(Backlight OK)
dmesg | grep fb
[ 0.405838] mxc_sdc_fb fb@0: NO mxc display driver found!
[ 0.405934] mxc_sdc_fb fb@1: NO mxc display driver found!
[ 0.406015] mxc_sdc_fb fb@2: NO mxc display driver found!
And i can't find CLAA-WVGA display setting, there is no mxc_lcdif.c in 5.4.3, how it decided the lcd's infomation?
Kindly help , thanks .
Qiu
below settings in dtsi file:
mxcfb1fb@0 {
        compatible = "fsl,mxc_sdc_fb";
        disp_dev = "lcd";
        interface_pix_fmt = "RGB666";
        mode_str ="CLAA-WVGA";
        default_bpp = <16>;
        int_clk = <0>;
        late_init = <0>;
        status = "okay";
    };

    mxcfb2fb@1 {
        compatible = "fsl,mxc_sdc_fb";
        disp_dev = "hdmi";
        interface_pix_fmt = "RGB24";
        mode_str ="1920x1080M@60";
        default_bpp = <24>;
        int_clk = <0>;
        late_init = <0>;
        status = "okay";
    };

    mxcfb3fb@2 {
        compatible = "fsl,mxc_sdc_fb";
        disp_dev = "ldb";
        interface_pix_fmt = "RGB666";
        default_bpp = <16>;
        int_clk = <0>;
        late_init = <0>;
        status = "okay";
    };

    mxcfb4fb@3 {
        compatible = "fsl,mxc_sdc_fb";
        disp_dev = "ldb";
        interface_pix_fmt = "RGB666";
        default_bpp = <16>;
        int_clk = <0>;
        late_init = <0>;
        status = "disabled";
    };
    lcd@0 {
        compatible = "fsl,lcd";
        ipu_id = <0>;
        disp_id = <0>;
        default_ifmt = "RGB565";
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_ipu1>;
        status = "okay"        
         }; 
Labels (2)
0 Kudos
2 Replies

540 Views
igorpadykov
NXP Employee
NXP Employee

Hi qiu

rgb lcds for i.MX6SDL/DQ are supported by boundary devices, one can look at

its L5.4 bsp:

https://boundarydevices.com/configuring-i-mx6-machines-different-screens-nitrogen6x-sabre-lite/ 

GitHub - boundarydevices/linux-imx6 at boundary-imx_5.4.x_1.0.0-pass1 

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

0 Kudos

540 Views
xi-huashan
Contributor I

ok,i'll refer to it, thanks a lot.

0 Kudos