[meta-ti] [PATCH v2 2/2] omap3-sgx-modules 5.01.01.01: add Darren's patches to work with 3.14 kernel

Cody P Schafer dev at codyps.com
Wed Apr 22 14:57:56 PDT 2015


On Thu, Jul 31, 2014 at 5:33 PM, Denys Dmytriyenko <denis at denix.org> wrote:
> From: Denys Dmytriyenko <denys at ti.com>
>
> Signed-off-by: Denys Dmytriyenko <denys at ti.com>
> ---
> v2 - update patch #4 to not break builds against 3.12 kernel
>
>  ...SDK-Make-5_01_01_01-work-against-3.14-LTS.patch |  52 +++++++
>  ...x-use-platform-data-to-provide-reset-info.patch | 121 ++++++++++++++++
>  ...class-am335x-am437x-fix-mutex-deadlock-wa.patch | 153 +++++++++++++++++++++
>  ...-make-it-building-against-ti-linux-3.14.y.patch |  45 ++++++
>  .../omap3-sgx-modules_5.01.01.01.bb                |   7 +-
>  5 files changed, 377 insertions(+), 1 deletion(-)
>  create mode 100644 recipes-bsp/powervr-drivers/omap3-sgx-modules-5.01.01.01/0001-PoC-GFX-SDK-Make-5_01_01_01-work-against-3.14-LTS.patch
>  create mode 100644 recipes-bsp/powervr-drivers/omap3-sgx-modules-5.01.01.01/0002-SGX-linux-use-platform-data-to-provide-reset-info.patch
>  create mode 100644 recipes-bsp/powervr-drivers/omap3-sgx-modules-5.01.01.01/0003-SGX-displayclass-am335x-am437x-fix-mutex-deadlock-wa.patch
>  create mode 100644 recipes-bsp/powervr-drivers/omap3-sgx-modules-5.01.01.01/0004-SGX-linux-make-it-building-against-ti-linux-3.14.y.patch
>
[snip]

It looks like the new 5.01.01.02 also needs some of these patches:

| /home/cody/obj/y/tmp/work/beaglebone-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.02-b/Graphics_SDK_5_01_01_02/GFX_Linux_KM/services4/srvkm/env/linux/module.c:411:2:
error: implicit declaration of function 'reset_control_clear_reset'
[-Werror=implicit-function-declaration]
|   ret = reset_control_clear_reset(rstc);
|   ^
| /home/cody/obj/y/tmp/work/beaglebone-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.02-b/Graphics_SDK_5_01_01_02/GFX_Linux_KM/services4/srvkm/env/linux/module.c:471:17:
error: implicit declaration of function 'reset_control_is_reset'
[-Werror=implicit-function-declaration]
|                  ret = reset_control_is_reset(rstc);
|                  ^
| /home/cody/obj/y/tmp/work/beaglebone-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.02-b/Graphics_SDK_5_01_01_02/GFX_Linux_KM/services4/srvkm/env/linux/module.c:399:32:
warning: unused variable 'pdata' [-Wunused-variable]
|   struct gfx_sgx_platform_data *pdata = dev->platform_data;
|                                 ^
| cc1: some warnings being treated as errors
| /home/cody/obj/y/tmp/work-shared/beaglebone/kernel-source/scripts/Makefile.build:257:
recipe for target
'/home/cody/obj/y/tmp/work/beaglebone-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.02-b/Graphics_SDK_5_01_01_02/GFX_Linux_KM/services4/srvkm/env/linux/module.o'
failed


More information about the meta-ti mailing list