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,1280x720M@60,if=RGB24 video=mxcfb1:dev=ldb,1280x720M@60,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)).

4 thoughts on “i.mx6 dual display”

    1. Hi Ali, thanks for mentioning Fedora. Indeed I see more and more embedded Linux projects that aren’t based on a classical stripped-down system (Vanilla, Yocto etc.) but on PC distributions, mostly Debian. Using the build process and package management of the ‘big’ distros can also have advantages for embedded systems. Just for clarification, this guide cannot be used for Android. I will have a look at Fedora again, since I allways liked it but haven’t used it anymore since a decade.

  1. Need to run two qt5 applications on HDMI and LVDS screens simultaneously. I am using Nitrogen6x saber-lite board(yocto jethro).

    If there are any related docs and posts can anyone reply with those.
    Help me in this.

    Thanks in Advance.

    1. Hi Guru,

      I need to run two qt5 applications on HDMI and LVS simultaneously too.I have been looking for any docs and post but I didn’t find them. Did you finally find them? Where?

      Thanks in advance;

Leave a Reply

Your email address will not be published. Required fields are marked *