IMX6Q parallel display issue in custom board

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

IMX6Q parallel display issue in custom board

Jump to solution
1,393 Views
ASTRIHK
Contributor III

I have modified the boot arguments as below

setenv bootargs console=ttymxc0,115200 androidboot.console=ttymxc0 consoleblank=0 init=/init video=mxcfb2:dev=lcd,CLAA-WVGA@60,bpp=32,if=RGB24 video=mxcfb1:off video=mxcfb0:off video=mxcfb3:off vmalloc=400M androidboot.hardware=freescale cma=384M mtdparts=gpmi-nand:16m(bootloader),16m(bootimg),16m(recovery),-(root) ubi.mtd=4

and modified a little bit in imx6qdl-sabresd.dtsi

mxcfb3: fb@2 {

        compatible = "fsl,mxc_sdc_fb";

        disp_dev = "lcd";

        interface_pix_fmt = "RGB24";

        mode_str ="CLAA-WVGA";

        default_bpp = <16>;

        int_clk = <0>;

        late_init = <0>;

        status = "disabled";

    };

    lcd@0 {

        compatible = "fsl,lcd";

        ipu_id = <0>;

        disp_id = <0>;

        default_ifmt = "RGB24";

        pinctrl-names = "default";

        pinctrl-0 = <&pinctrl_ipu1_1>;

        status = "okay";

    };

However, no signal is output on VSYNCH, HSYNCH & DISP0_CLK. Please kindly advise. Below is my debug print message, lcdif_probe & lcdif_init have been entered.

mxc_mipi_dsi 21e0000.mipi: i.MX MIPI DSI driver probed

MIPI DSI driver module loaded

+++++++++++++++++++++++++++++mxc_lcdif_probe++++++++++++++++++++++

+++++++++++++++++++++++++++++lcd_get_of_property++++++++++++++++++++++

mxc_sdc_fb fb.28: Can't get fb option for mxcfb0!

mxc_sdc_fb fb.29: Can't get fb option for mxcfb1!

+++++++++++++++++++++++++++++lcdif_init++++++++++++++++++++++

mxc_sdc_fb fb.30: registered mxc display driver lcd

Console: switching to colour frame buffer device 100x30

mxc_sdc_fb fb.31: Can't get fb option for mxcfb3!

imx-sdma 20ec000.sdma: no iram assigned, using external mem

imx-sdma 20ec000.sdma: loaded firmware 1.1

imx-sdma 20ec000.sdma: initialized

pfuze100-regulator 1-0008: Full lay: 2, Metal lay: 1

pfuze100-regulator 1-0008: FAB: 0, FIN: 0

pfuze100-regulator 1-0008: pfuze100 found.

Labels (1)
0 Kudos
1 Solution
945 Views
ASTRIHK
Contributor III

Fixed by changing the sync variable from FB_SYNC_CLK_LAT_FALL to FB_SYNC_CLK_IDLE_EN.

View solution in original post

0 Kudos
6 Replies
945 Views
ASTRIHK
Contributor III

Solved.

0 Kudos
945 Views
jimmychan
NXP TechSupport
NXP TechSupport

Could you share to me how you solve the problem?

0 Kudos
945 Views
ASTRIHK
Contributor III

Although LCD driver can be ported, an abnormal vertical line is shown on the left hand side of the LCD. I'm sure that the LCD resolution (480*854) is set correctly.  Please kindly advise.

0 Kudos
946 Views
ASTRIHK
Contributor III

Fixed by changing the sync variable from FB_SYNC_CLK_LAT_FALL to FB_SYNC_CLK_IDLE_EN.

0 Kudos
945 Views
ASTRIHK
Contributor III

I still used 'RGB24', then related signals could be measured.

0 Kudos
945 Views
jimmychan
NXP TechSupport
NXP TechSupport

have you try interface_pix_fmt = "RGB565"?

0 Kudos