AnsweredAssumed Answered

Dual Cloned Displays on IMX6Q (Nitrogen6_Max)

Question asked by Anuradha Ranasinghe on Feb 9, 2017
Latest reply on Apr 26, 2019 by 袁 野

Hi All,


I was able to get dual displays (HDMI and LCD) up on IMX6Q above-mentioned board and now trying to get the hdmi display mirrored to LCD. I am running Yocto X11 desktop with kernel 4.1.15. I got the dual display support work with aid of a frame buffer device entry in xorg.conf as follows :


Section "Device"
      Identifier "i.MX Accelerated Framebuffer Device"
      Driver "vivante"
      Option "fbdev" "/dev/fb2"
      Option "vivante_fbdev" "/dev/fb2"
      Option "HWcursor" "false"


Section "Device"
      Identifier "Framebuffer Device0"
      Driver "fbdev"
      Option "fbdev" "/dev/fb0"
      Option "HWcursor" "false"


My fbpanel boot parameters look like :

fb_hdmi = 1280x720M@60

fb_lcd = My-LCD //NTSC type lcd, resolution is 1440x720@60, 24 bit and 27MHz pclk !


For this I am only getting independent displays (both work fine). Is it possible to mirror them by assigning one display device to other's frame buffer overlay (i.e. fb0=hdmi, fb1=lcd) ? Though timing parameters are different for both, can we achieve this ? I am using U-Boot 2016.03-20572-g9ccd9a9. I tried following too :


bootargs_mmc=setenv bootargs ${bootargs} root=/dev/mmcblk1p1 rootwait rw video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24 video=mxcfb1:dev=lcd,My-LCD,if=RGB24


 but no dice ! It seems like, above fbpanel parameters always set the hdmi and lcd to fb2 and fb0 respectively !


Thanks in Advance