In the 2019.1 release, using Yocto or PetaLinux build images for Zynq UltraScale+ devices with libmali and an X11 windowing system returns fatal errors.
It is advised to use a window manager such as matchbox if you need to use X11 as a backend.
It is possible to continue to use Xserver without a window manager if you wish to do so.
glibc has been upgraded in the Yocto Thud release, and sends an abort signal to xserver during the cleanup process which prints the backtrace log on termination.
If you wish to avoid those prints, you can apply the patch to xserver-xorg as a work-around.
PetaLinux:
1) Create an xorg-xserver directory in <plnx-proj-root>/project-spec/meta-user/recipes-graphics
$ mkdir -p <plnx-proj-root>/project-spec/meta-user/recipes-graphics/xorg-xserver/xserver-xorg
2) Copy the attached patch to the above created directory
$ cp 0001-include-privates.h-Exit-if-key-is-not-initialized.patch <plnx-proj-root>/project-spec/meta-user/recipes-graphics/xorg-xserver/xserver-xorg
3) Create an xserver-xorg_%.bbappend file and add the content below:
$ vim <plnx-proj-root>/project-spec/meta-user/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend
4) Clean the sstate cache for the xorg-xserver recipe:
$ petalinux-build -c xorg-xserver -x cleansstate
5) Rebuild the rootfs:
$ petalinux-build
Yocto:
1) Create an xorg-xserver directory in meta-petalinux/recipes-graphics directory.
If this directory exists, then skip this step.
$ mkdir -p meta-petalinux/recipes-graphics/xorg-xserver/xserver-xorg
2) Copy the attached patch to the above created directory.
$ cp 0001-include-privates.h-Exit-if-key-is-not-initialized.patch meta-petalinux/recipes-graphics/xorg-xserver/xserver-xorg
3) Create an xserver-xorg_%.bbappend file and add the below content
$ vim meta-petalinux/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend
4) Clean the sstate cache for the xorg-xserver recipe:
$ bitbake xorg-xserver -c cleansstate
5) Rebuild the rootfs:
$ bitbake petalinux-image-minimal
Note: You will observe the warnings below with X11.
This is just a warning no functional changes, and can be safely ignored:
The XKEYBOARD keymap compiler (xkbcomp) reports:
文件名 | 文件大小 | File Type |
---|---|---|
xorg-xserver.zip | 1 KB | ZIP |
AR# 72363 | |
---|---|
日期 | 05/29/2019 |
状态 | Active |
Type | 综合文章 |
器件 | |
Tools | |
Boards & Kits |