[meta-freescale] [PATCH v4 0/8] Graphics updates for L4.9.11-1.0.0 BSP Release plus Weston 2.0

Tom Hochstein tom.hochstein at nxp.com
Wed Dec 13 15:22:23 PST 2017


Hi Stefan,

Thanks for checking on it. There is a corresponding patchset to meta-freescale-distro.

https://lists.yoctoproject.org/pipermail/meta-freescale/2017-October/021545.html

Tom

-----Original Message-----
From: Stefan Agner [mailto:stefan at agner.ch] 
Sent: Wednesday, December 13, 2017 4:41 PM
To: Tom Hochstein <tom.hochstein at nxp.com>
Cc: meta-freescale at yoctoproject.org
Subject: Re: [meta-freescale] [PATCH v4 0/8] Graphics updates for L4.9.11-1.0.0 BSP Release plus Weston 2.0

Hi Tom,

Tested the patchset on the rocko branch with the current linux-fslc
branch 4.9-1.0.x-imx Linux kernel.

To build the fsl-image-multimedia I had to fix some package names in
packagegroup-fsl-tools-gpu.bb, namely:
imx-gpu-viv-g2d -> imx-gpu-g2d
imx-gpu-viv-tools-apitrace -> imx-gpu-apitrace

However, the package imx-gpu-sdk seems not to compile:

| arm-fslc-linux-gnueabi-g++  -march=armv7-a -mthumb -mfpu=neon
-mfloat-abi=hard
--sysroot=/bui[45/19690]-community-bsp-rocko/build/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/imx-gpu-sdk/2.3.2-r0/recipe-sysroot
  -O2 -pipe -g -feliminate-unused-debug-types
-fdebug-prefix-map=/build/ags/fsl-community-bsp-ro
cko/build/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/imx-gpu-sdk/2.3.2-r0=/usr/src/debug/imx-gpu-sdk/2.3.2-r0
-fdebug-prefix-map=/build/ags/fsl-community-bsp-rocko/build/tmp/work/armv7at2hf-neon-mx6qdl-
fslc-linux-gnueabi/imx-gpu-sdk/2.3.2-r0/recipe-sysroot-native=
-fdebug-prefix-map=/build/ags/fsl-community-bsp-rocko/build/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/imx-gpu-sdk/2.3.2-r0/recipe-sysroot=
  -fvisibility-inlines-hidden -Wall -fPIC -DPIC -std=c++11 -g  -pthread
-DFSL_PLATFORM_YOCTO -fno-strict-
aliasing -fno-optimize-sibling-calls  -DLINUX
-I/build/ags/fsl-community-bsp-rocko/build/tmp/work/armv7at
2hf-neon-mx6qdl-fslc-linux-gnueabi/imx-gpu-sdk/2.3.2-r0/recipe-sysroot/usr/include
-I/inc -Iinclude -o ob
j/Yocto/Release/source/G2DEmulation.o -c source/G2DEmulation.cpp        
                                
| arm-fslc-linux-gnueabi-ar rcu obj/Yocto/Release/libG2DEmulation.a
obj/Yocto/Release/source/G2DEmulation.o                                 
                                                                     
| arm-fslc-linux-gnueabi-ar: `u' modifier ignored since `D' is the
default (see `U')                     
| arm-fslc-linux-gnueabi-ranlib obj/Yocto/Release/libG2DEmulation.a     
                                
| ok                                                                    
                                
| /bin/sh: fmt: command not found                                       
                                
| /bin/sh: fmt: command not found                                       
                                
| /bin/sh: fmt: command not found                                       
                                
| source/g2d_test.cpp:23:10: fatal error: g2d.h: No such file or
directory                               
|  #include "g2d.h"                                                     
                                
|           ^~~~~~~                                                     
                                
| compilation terminated.                                               
                                
| arm-fslc-linux-gnueabi-g

Is this known?

Without imx-gpu-sdk the image seems to build fine.

--
Stefan


On 2017-12-07 18:30, Tom Hochstein wrote:
> This patchset contains the graphics changes for the i.MX GA release
> L4.9.11-1.0.0, plus an update to work with an i.MX fork of
> Weston 2.0. GPU drivers are updated to version 6.2.2.p0, with
> changes documented in the individual commit.
> 
> v4
> - rebase to fix xf86-video-imxfb-vivante build break
> 
> v3
> - eglinfo, libdrm, piglit, xserver-xf86-config: Removed v2
> patches that were pushed (Otavio)
> - imx-gpu-apitrace: Moved patch files to git repo (Otavio)
> - imx-gpu-viv: Restored v5 recipe due to CMA regression (Gary),
> regression to be addressed separately (MGS-3436)
> - libepoxy: Moved fix to OE-core (Otavio)
> 
> v2
> - systemd-gpuconfig: Retracted patch
> - imx-gpu-viv: Added systemd init, including Fabio's input on systemd-gpuconfig
> - core-image-weston: Retracted patch
> - libepoxy: Fixed build breaks, per Otavio's request
> - weston: Add 2.0 base recipe since master has moved to 3.0
> 
> Tom Hochstein (8):
>   imx-gpu-apitrace: Move apitrace out of imx-gpu-viv v6
>   imx-gpu-g2d: Move imx-gpu-g2d out of imx-gpu-viv v6
>   imx-gpu-viv: Upgrade to 6.2.2.p0
>   mesa: Remove parts provided by imx-gpu-viv v6
>   xf86-video-imxfb-vivante: Upgrade to 6.2.2.p0
>   gtk+3: Use egl pkgconfig for build setup
>   weston: Switch to 2.0 with i.MX fork
>   weston-init: Fix weston 2.0 startup for pam, systemd case
> 
>  conf/machine/include/imx-base.inc                  |    8 +-
>  recipes-graphics/gtk+/gtk+3_%.bbappend             |    7 +-
>  .../imx-gpu-apitrace/imx-gpu-apitrace_7.1.0.bb     |   23 +
>  .../imx-gpu-g2d/imx-gpu-g2d_6.2.2.p0.bb            |   36 +
>  recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc     |  315 ++++
>  .../imx-gpu-viv/imx-gpu-viv_6.2.2.p0-aarch32.bb    |   12 +
>  recipes-graphics/mesa/mesa_%.bbappend              |   20 +-
>  recipes-graphics/wayland/weston-init.bbappend      |   23 +
>  recipes-graphics/wayland/weston-init/weston.config |    2 +
>  .../wayland/weston-init/weston.service             |   37 +
>  ...-configuration-option-for-no-input-device.patch |  112 --
>  ...2-ccc-Add-GPU-VIV-support-for-weston-1.11.patch |  135 --
>  ...1-configure.ac-Fix-wayland-protocols-path.patch |    2 +-
>  .../wayland/weston/0001-make-error-portable.patch  |   12 +-
>  .../0001-shared-include-stdint.h-for-int32_t.patch |   23 -
>  ...ch-Provide-a-default-version-that-doesn-t.patch |   52 +-
>  ...1-ccc-Enable-g2d-renderer-for-weston-1.11.patch | 1605 --------------------
>  ...ld-Add-clone-mode-support-for-multi-displ.patch |  104 --
>  ...68-xwld-System-can-not-boot-up-to-desktop.patch |   44 -
>  ...ld-G2D-compositor-build-failed-in-slevk-b.patch |  146 --
>  .../weston/0006-Link-compositor-to-egl.patch       |   12 -
>  ...d-Fix-crash-when-run-with-no-input-device.patch |   47 -
>  recipes-graphics/wayland/weston_1.11.1.bb          |  113 --
>  recipes-graphics/wayland/weston_1.11.1.bbappend    |   46 -
>  recipes-graphics/wayland/weston_2.0.0.bb           |  113 ++
>  recipes-graphics/wayland/weston_2.0.0.bbappend     |   35 +
>  .../xorg-driver/xf86-video-imxfb-vivante.inc       |   14 +-
>  .../xf86-video-imxfb-vivante_5.0.11.p8.6.bb        |   10 -
>  .../xf86-video-imxfb-vivante_6.2.2.p0.bb           |    9 +
>  .../kernel-module-imx-gpu-viv_6.2.2.p0.bb          |   16 +
>  30 files changed, 687 insertions(+), 2446 deletions(-)
>  create mode 100644 recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_7.1.0.bb
>  create mode 100644 recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.2.2.p0.bb
>  create mode 100644 recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
>  create mode 100644 recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.2.p0-aarch32.bb
>  create mode 100644 recipes-graphics/wayland/weston-init.bbappend
>  create mode 100644 recipes-graphics/wayland/weston-init/weston.config
>  create mode 100644 recipes-graphics/wayland/weston-init/weston.service
>  delete mode 100644
> recipes-graphics/wayland/weston/0001-Add-configuration-option-for-no-input-device.patch
>  delete mode 100644
> recipes-graphics/wayland/weston/0001-MGS-2352-ccc-Add-GPU-VIV-support-for-weston-1.11.patch
>  delete mode 100644
> recipes-graphics/wayland/weston/0001-shared-include-stdint.h-for-int32_t.patch
>  delete mode 100644
> recipes-graphics/wayland/weston/0002-MGS-2521-ccc-Enable-g2d-renderer-for-weston-1.11.patch
>  delete mode 100644
> recipes-graphics/wayland/weston/0003-MGS-1783-xwld-Add-clone-mode-support-for-multi-displ.patch
>  delete mode 100644
> recipes-graphics/wayland/weston/0004-MGS-1668-xwld-System-can-not-boot-up-to-desktop.patch
>  delete mode 100644
> recipes-graphics/wayland/weston/0005-MGS-1724-xwld-G2D-compositor-build-failed-in-slevk-b.patch
>  delete mode 100644
> recipes-graphics/wayland/weston/0006-Link-compositor-to-egl.patch
>  delete mode 100644
> recipes-graphics/wayland/weston/0007-xwayland-Fix-crash-when-run-with-no-input-device.patch
>  delete mode 100644 recipes-graphics/wayland/weston_1.11.1.bb
>  delete mode 100644 recipes-graphics/wayland/weston_1.11.1.bbappend
>  create mode 100644 recipes-graphics/wayland/weston_2.0.0.bb
>  create mode 100644 recipes-graphics/wayland/weston_2.0.0.bbappend
>  delete mode 100644
> recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_5.0.11.p8.6.bb
>  create mode 100644
> recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_6.2.2.p0.bb
>  create mode 100644
> recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.2.p0.bb
> 
> -- 
> 1.9.1


More information about the meta-freescale mailing list