AR# 69600

2017.1/2 Zynq UltraScale+ MPSoC: Yocto MALI libraries with FBdev work-around for Zynq UltraScale+ ES1 Silicon

描述

(Xilinx Answer 67117) describes the Errata in the GPU of the Zynq UltraScale+ ES1 Silicon devices.

Zynq UltraScale+ ES1 Silicon is having issues with running eglfbdev applications with 2017.1/2 MALI fbdev libraries (libmali-xlnx.bb recipe file).

解决方案

This article describes a work-around which can be used to run OpenGL fbdev applications on ES1 Silicon devices.

This work-around does not give a 100% correct behavior, but it is close. There is however a significant software overhead. 

This work-around will be unnecessary in the production silicon.

To fix this issue, follow the steps below:

1) Copy the attached MALI libraries to libgles as shown:

$ cp libMali.so.7.0.fbdev.compiler <yocto-proj-root>/sources/meta-xilinx/recipes-graphics/libgles/files

2) Apply the MALI patch "0001-MALI-400-r7p0-fbdev-libraries-fix-for-ZCU-ES1.patch" to the meta-xilinx layer. 

Make sure you apply the patch with the "--dry-run" option which will check for errors.

$ cd <yocto-proj-root>/sources/meta-xilinx

$ patch -p1 --dry-run < {PATH_TO_PATCH}/0001-MALI-400-r7p0-fbdev-libraries-fix-for-ZCU-ES1.patch

checking file recipes-graphics/libgles/libmali-xlnx_git.bb

checking file recipes-graphics/mali/kernel-module-mali.bb

$ patch -p1 < {PATH_TO_PATCH}/0001-MALI-400-r7p0-fbdev-libraries-fix-for-ZCU-ES1.patch

patching file recipes-graphics/libgles/libmali-xlnx_git.bb

patching file recipes-graphics/mali/kernel-module-mali.bb


3) Build the recipe as follows:

$ bitbake libmali-xlnx

附件

文件名 文件大小 File Type
0001-MALI-400-r7p0-fbdev-libraries-fix-for-ZCU-ES1.patch 2 KB PATCH
libMali.so.7.0.fbdev.compiler 1 MB COMPILER
AR# 69600
日期 08/21/2017
状态 Active
Type 综合文章
器件
Tools
Boards & Kits