Dual display LVDS and HDMI yocto i.MX6 Dual

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

Dual display LVDS and HDMI yocto i.MX6 Dual

1,626 Views
wangtsungli
Contributor IV

Hi Community,

I'm working on i.MX6 Dual sabre-SD and build QT wayland by yocto project.

I want to display both hdmi and lvds.

below is my dts settings.

mxcfb1: fb@0 {
compatible = "fsl,mxc_sdc_fb";
disp_dev = "ldb";
interface_pix_fmt = PANEL_PIX_FMT;
default_bpp = <PANEL_DEF_BPP>;
int_clk = <0>;
late_init = <0>;
status = "okay";
};

mxcfb2: fb@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";
};

&hdmi_core {
ipu_id = <0>;
disp_id = <1>;
status = "okay";
};

&dcic1 {
dcic_id = <0>;
dcic_mux = "dcic-hdmi";
status = "okay";
};

&dcic2 {
dcic_id = <1>;
dcic_mux = "dcic-lvds1";
status = "okay";
};

&ldb {
status = "okay";
PANEL_LDB_MODE;
lvds-channel@0 {

crtc = "ipu1-di0";
fsl,data-mapping = PANEL_DATA_MAPPING;
fsl,data-width = <PANEL_DATA_WIDTH>;
primary;
status = "okay";
display-timings {
native-mode = <&timing0>;
timing0: hsd100pxn1 {
clock-frequency = <PANEL_FREQ>;
hactive = <PANEL_XRES>;
vactive = <PANEL_YRES>;
hback-porch = <PANEL_LEFT_MARGIN>;
hfront-porch = <PANEL_RIGHT_MARGIN>;
vback-porch = <PANEL_UPPER_MARGIN>;
vfront-porch = <PANEL_LOWER_MARGIN>;
hsync-len = <PANEL_HSYNC_LEN>;
vsync-len = <PANEL_VSYNC_LEN>;
};
};
};

lvds-channel@1 {

crtc = "ipu1-di1";
fsl,data-mapping = PANEL_DATA_MAPPING;
fsl,data-width = <PANEL_DATA_WIDTH>;
status = "okay";
display-timings {
native-mode = <&timing1>;
timing1: hsd100pxn1 {
clock-frequency = <PANEL_FREQ>;
hactive = <PANEL_XRES>;
vactive = <PANEL_YRES>;
hback-porch = <PANEL_LEFT_MARGIN>;
hfront-porch = <PANEL_RIGHT_MARGIN>;
vback-porch = <PANEL_UPPER_MARGIN>;
vfront-porch = <PANEL_LOWER_MARGIN>;
hsync-len = <PANEL_HSYNC_LEN>;
vsync-len = <PANEL_VSYNC_LEN>;

};
};
};
};

And below is my kernel command line settings

#define BOOT_ENV_VIDEO "bootargs= console=ttymxc0,115200 video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:dev=hdmi, 1920x1080M@60,bpp=32 video=mxcfb2:off video=mxcfb3:off consoleblank=0 \0"

All this settings can work perfectly on i.MX6 Quad sabre-SD with Android 6.0.

But both LVDS and HDMI can not work on i.MX6 Dual sabre-SD with QT-wayland.

Is Quad and Dual settings are different?

How can I solve this problem?

Thanks in Advanced!

0 Kudos
1 Reply

786 Views
igorpadykov
NXP Employee
NXP Employee

Hi tsung

probably there is confusion, as there is no " i.MX6 Dual sabre-SD", probably you meant

"DualLite" which is different from "Quad". One can try with Demo Images on below link

Linux Binary Demo Files for "i.MX 6DualLite, i.MX 6Solo"

and use p.31 attached Linux Guide for specifying lcds.

i.MX Software|NXP 

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

0 Kudos