AnsweredAssumed Answered

IMX6Q dual LVDS support in X11

Question asked by zbigniewbauer on Apr 10, 2018
Latest reply on Apr 25, 2018 by jamesbone
Branched to a new discussion

Hi community,

 

It is possible to use two LVDS displays with X11 on iMX6Q sabre platform?


I did try X11 with NXP Yocto Morty release but I'm getting segmentation fault at bootup. Please see attached log file.

 

My platform is Sabresd iMX6Q with two LVDS display (1024x768). I'm using NXP Yocto Morty release with kernel 4.9.11-1.0.0.

 

Yocto build commands:
DISTRO=fsl-imx-x11 MACHINE=imx6qsabresd source fsl-setup-release.sh -b build-sabresd-x11
bitbake fsl-image-qt5

 

U-Boot bootargs:
mmcargs=setenv bootargs console=ttymxc0,115200 root=/dev/mmcblk2p2 rootwait rw video=mxcfb0:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb1:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb2:off video=mxcfb3:off ldb=sep0/1

 

X11 config file (/etc/X11/xorg.conf):
Section "Device"
Identifier "LVDS-1"
Driver "vivante"
Option "fbdev" "/dev/fb0"
Option "vivante_fbdev" "/dev/fb0"
Option "HWcursor" "false"
EndSection

 

Section "Device"
Identifier "LVDS-2"
Driver "vivante"
Option "fbdev" "/dev/fb2"
Option "vivante_fbdev" "/dev/fb2"
Option "HWcursor" "false"
EndSection

 

Section "Monitor"
Identifier "LVDS Monitor-1"
EndSection

 

Section "Monitor"
Identifier "LVDS Monitor-2"
EndSection

 

Section "Screen"
Identifier "LVDS Screen-1"
Monitor "LVDS Monitor-1"
Device "LVDS-1"
EndSection

 

Section "Screen"
Identifier "LVDS Screen-2"
Monitor "LVDS Monitor-2"
Device "LVDS-2"
EndSection

 

Section "ServerLayout"
Identifier "Dual Layout"
Screen 0 "LVDS Screen-1"
Screen 1 "LVDS Screen-2" RightOf "LVDS Screen-1"
Option "Xinerama" "on"
EndSection

 

Any help would be highly appreciated.

 

Thanks,
Z

Attachments

Outcomes