i.mx6 dual display

Dual display operation on a Freescale i.mx6 Linux device

Recently I evaluated Yocto for the Freescale i.mx6 processor. I received a tremendous amount of information from the Open Source community and I want to gracefully contribute back the condensed information to the community.

Prepare for dual display operation (1 HDMI, 1 LVDS) in U-Boot (interrupt the boot process by a keystroke):

setenv mmcargs setenv bootargs console=\${console},\${baudrate} root=\${mmcroot} video=mxcfb0:dev=hdmi,[email protected],if=RGB24 video=mxcfb1:dev=ldb,[email protected],if=RGB666

Boot and login to the system and start for example the cinematicexperience demo on HDMI:

cd /usr/share/cinematicexperience-1.0
export QT_QPA_EGLFS_FB=”/dev/fb0″
./Qt5_CinematicExperience -platform eglfs &

Then on LVDS:

echo 0 > /sys/class/graphics/fb2/blank
export QT_QPA_EGLFS_FB=”/dev/fb2″
./Qt5_CinematicExperience -platform eglfs -plugin tslib

(Howto build a Yocto image with cinematicexperience can be seen in Embedded Linux on the Freescale i.mx6 Sabre SD (Yocto, QT 5.3)).

Thanks https://diceus.com/ for providing additional information.