Android7.1.1 HDMI+MIPI DUAL DISPLAY

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

Android7.1.1 HDMI+MIPI DUAL DISPLAY

1,603 Views
baozhuliu
Contributor III

Hi   all

      The related content of dts file is :

mxcfb1: fb@0 {
compatible = "fsl,mxc_sdc_fb";
disp_dev = "lcd";
interface_pix_fmt = "BGR24";
mode_str = "E-LCD";
default_bpp = <24>;
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 = <32>;
int_clk = <1>;//0
late_init = <0>;
status = "disabled";
};
mxcfb3: fb@2 {
compatible = "fsl,mxc_sdc_fb";
disp_dev = "mipi_dsi";
interface_pix_fmt = "RGB888";
mode_str ="TRULY-WVGA";
default_bpp = <24>;
int_clk = <1>;
late_init = <0>;
status = "okay";
};
mxcfb4: fb@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 = "BGR24"; //RGB565
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ipu1>;
status = "okay";//okay lbz
};

&mipi_dsi {
dev_id = <0>;//0 lbz
disp_id = <1>;
lcd_panel = "TRULY-WVGA";
disp-power-on-supply = <&reg_mipi_dsi_pwr_on>;
resets = <&mipi_dsi_reset>;
status = "okay";//okay lbz
};

   I use the imx6qp,base on the android7.1.1 OS , then  I try those cmd to the board ,but the result  is bad:

1.

(1)setenv bootargs console=ttymxc0,115200 androidboot.console=ttymxc0 consoleblank=0 vmalloc=128M init=/init video=mxcfb3:off video=mxcfb0:dev=hdmi,1280x720M@60,bpp=32 video=mxcfb2:off video=mxcfb1:off androidboot.hardware=freescale cma=448M androidboot.selinux=permissive androidboot.dm_verity=disabled

(2)setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb1:dev=lcd,E-LCD,if=BGR24,bpp=16,blank video=mxcfb0:off video=mxcfb2:off vmalloc=400M androidboot.console=ttymxc0 androidboot.hardware=freescale androidboot.selinux=permissive androidboot.dm_verity=disabled no_console_suspend pwm_backlight=DISP4

(3)setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:dev=lcd,E-LCD,if=BGR24,bpp=16,blank video=mxcfb1:off video=mxcfb2:off vmalloc=400M androidboot.console=ttymxc0 androidboot.hardware=freescale androidboot.selinux=permissive androidboot.dm_verity=disabled no_console_suspend pwm_backlight=DISP4

 these cmds  can make the lcd device work normally.

2.

(1)setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb1:off video=mxcfb2:off video=mxcfb0:dev=mipi_dsi,TRULY-WVGA,if=RGB24,bpp=16 vmalloc=128M cma=512M androidboot.console=ttymxc0 androidboot.hardware=freescale androidboot.selinux=permissive androidboot.dm_verity=disabled no_console_suspend pwm_backlight=DISP4

(2)setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:off video=mxcfb2:off video=mxcfb1:dev=mipi_dsi,TRULY-WVGA,if=RGB24,bpp=16 vmalloc=128M cma=512M androidboot.console=ttymxc0 androidboot.hardware=freescale androidboot.selinux=permissive androidboot.dm_verity=disabled no_console_suspend pwm_backlight=DISP4

 those cmds can make the mipi device work normally.

3.

setenv bootargs console=ttymxc0,115200 androidboot.console=ttymxc0 consoleblank=0 vmalloc=128M init=/init video=mxcfb0:dev=hdmi,1280x720M@60,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off androidboot.hardware=freescale cma=448M androidboot.selinux permissive androidboot.dm_verity=disabled

That cmd can make the HDMI device work naormally.

4.setenv bootargs console=ttymxc0,115200 androidboot.console=ttymxc0 consoleblank=0 vmalloc=128M init=/init video=mxcfb1:dev=hdmi,1280x720M@60,bpp=32 video=mxcfb0:dev=mipi_dsi,TRULY-WVGA,if=RGB24,bpp=16 video=mxcfb2:off video=mxcfb3:off androidboot.hardware=freescale cma=448M androidboot.selinux permissive androidboot.dm_verity=disabled

That cmd can make the HDMI+MIPI  work normally,but it effect the usb mount unsuccessfully and the hdmi can have a split screen phenomenon.

Looking forward to your reply!

0 Kudos
3 Replies

639 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

I set the dual display configuration using an LDVS and a HDMI display. Those are the bootargs that I used:

u-boot -> setenv bootcmd boota mmc2

u-boot-> setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxc fb1:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 video=mxcfb2:off video=mxcfb3:off vmalloc=128M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=448M buildvariant=user

u-boot-> saveenv

u-boot-> reset

Try changing the LDVS bootargs with your mipi bootargs and see if it works.

Best Regards,

Diego.

0 Kudos

639 Views
baozhuliu
Contributor III

   I have tried to do it with your cmd,but it have no work.The result is as same

0 Kudos

639 Views
diegoadrian
NXP Employee
NXP Employee

I will escalate your issue. Because, unfortunately, I don't have a MIPI screen. So, I cannot test your issue by myself.

But, can you please explain, where are you exactly having this problem?

Best Regards,

Diego.

0 Kudos