Setup Xorg 1.14 for i.MX6

Document created by Prabhu Sundararaj Employee on Aug 12, 2013Last modified by Prabhu Sundararaj Employee on Sep 8, 2015
Version 3Show Document
  • View in full screen mode

LTIB does not support X11 acceleration, since the packages are too old.

Ubuntu 11.10 prebuilt image part of i.MX6 BSP has Xorg version 1.10.4.

Yocto 1.4 has Xorg version 1.11.4. This document is based on Yocto 1.4.1 yocto and Freescale BSP 3.5.7 Alpha release.

 

Few simple steps to enable 1.14.0.

 

1. Let us consider your Yocto directory is  $(rootfs_builder)

2. Edit vi sources/meta-fsl-arm/conf/machine/include/imx-base.inc

     PREFERRED_VERSION_xserver-xorg_mx6 = "2:1.14.0"

3.Edit vi sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_3.5.7-1.0.0.bb

     SRC_URI = "${FSL_MIRROR}/xserver-xorg-video-imx-viv-${PV}.tar.gz \

           file://Makefile-fix-cross-compile.patch \

                   file://0001-add-compat.h.patch"


4. Copy the attached Makefile-fix-cross-compile.patch into sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/.

5. In the build directory, delete the tmp directory. Otherwise there will be build errors (I did not found easy way)

6. bitbake fsl-image-x11

7. Now the image is ready to flash.

8. Boot the board with the newly built image.

9. Check the Xorg version log in /var/log/Xorg.0.log. It will be 1.14.0.

10. Before executing any of the X11-EGL application, export VIV_DESKTOP=0 to the terminal.

 

You can see the application running. There are some known issues related to performance in 3.5.7 Alpha release.

Outcomes