How to configure the uboot args and device tree when configuring the DISP0_DAT0-17 parallel output ports for rgb666 display?

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

How to configure the uboot args and device tree when configuring the DISP0_DAT0-17 parallel output ports for rgb666 display?

718 Views
edwardfu
Contributor I

Hi, team, I want  i.MX6 output RGB666 format via parallel DISP0_DAT0-23 ports, and my display interface is:

DISP0_DAT0:DISP0_DAT5 - B0-B5
DISP0_DAT6:DISP0_DAT11 - G0-G5
DISP0_DAT12:DISP0_DAT17 - R0-R5

and my uboot args is:

video=mxcfb0:dev=lcd,HUD-WVGA,if=RGB666,bpp=16

device tree configuration is:

mxcfb1: fb@0 {
        compatible = "fsl,mxc_sdc_fb";
        disp_dev = "lcd";
        interface_pix_fmt = "RGB666";
        mode_str ="HUD-WVGA";
        default_bpp = <18>;
        int_clk = <0>;
        late_init = <0>;
        status = "disabled";
    };

lcd@0 {
        compatible = "fsl,lcd";
        ipu_id = <0>;
        disp_id = <0>;
        default_ifmt = "RGB666";
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_ipu1>;
        status = "okay";
    };

But, when application development engineer runs a QT program, the Red and Blue color reverse and the Green color is OK.

I don`t know how to resolve it.

Thank you very much!

Labels (1)
Tags (1)
0 Kudos
1 Reply

561 Views
igorpadykov
NXP Employee
NXP Employee

Hi Edward

what bsp used in the case, please try fsl-image-qt5 image described in

Table 1. Freescale Yocto project images using nxp releases described in

https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-6ser...

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

0 Kudos