[meta-freescale] [meta-fsl-arm][PATCH] kernel-module-imx-gpu-viv: Upgrade to 5.0.11.p7.1 for 3.14.38-6QP_ga release

Otavio Salvador otavio.salvador at ossystems.com.br
Tue Sep 22 15:19:36 PDT 2015


Hello Neena,

I am very disappointed by the test process you guys been doing.

When you pinged me in the chat, I asked you to check if the module was
working at runtime and you said you were going to test it before
sending it to the mailing list and I trusted you.

On Tue, Sep 22, 2015 at 5:02 PM, Neena Busireddy
<neena.busireddy at freescale.com> wrote:
> - Package name is changed to kernel-module-imx-gpu-viv.
> - Patch platform-Fix-kernel-version-check-for-3.14-based-ker.patch is no longer required
>   as the fix has been applied upstream.
> - Upgrade to graphics version 5.0.11.p7.1
> - Makefile patch will be included in next release.
>
> Signed-off-by: Neena Busireddy <neena.busireddy at freescale.com>

I merged the patch and the first build:

DEBUG: Executing shell function do_compile
NOTE: make -j 2 -e MAKEFLAGS=
KERNEL_SRC=/home/otavio/src/yocto/build/tmp/work-shared/imx6sxsabresd/kernel-source
KERNEL_PATH=/home/otavio/src/yocto/build/tmp/work-shared/imx6sxsabresd/kernel-source
KERNEL_VERSION=3.14.52-fslc+g4bae14a CC=arm-oel-linux-gnueabi-gcc
-mno-thumb-interwork -marm -fuse-ld=bfd
LD=arm-oel-linux-gnueabi-ld.bfd   AR=arm-oel-linux-gnueabi-ar
O=/home/otavio/src/yocto/build/tmp/work-shared/imx6sxsabresd/kernel-build-artifacts
make -C /home/otavio/src/yocto/build/tmp/work-shared/imx6sxsabresd/kernel-source
M=/home/otavio/src/yocto/build/tmp/work/imx6sxsabresd-oel-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.1-r0/kernel-module-imx-gpu-viv-5.0.11.p7.1/kernel-module-imx-gpu-viv-src
AQROOT=/home/otavio/src/yocto/build/tmp/work/imx6sxsabresd-oel-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.1-r0/kernel-module-imx-gpu-viv-5.0.11.p7.1/kernel-module-imx-gpu-viv-src
make[1]: Entering directory
'/home/otavio/src/yocto/build/tmp/work-shared/imx6sxsabresd/kernel-source'
  LD      /home/otavio/src/yocto/build/tmp/work/imx6sxsabresd-oel-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.1-r0/kernel-module-imx-gpu-viv-5.0.11.p7.1/kernel-module-imx-gpu-viv-src/built-in.o
  CC [M]  /home/otavio/src/yocto/build/tmp/work/imx6sxsabresd-oel-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.1-r0/kernel-module-imx-gpu-viv-5.0.11.p7.1/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/gc_hal_kernel_device.o
  CC [M]  /home/otavio/src/yocto/build/tmp/work/imx6sxsabresd-oel-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.1-r0/kernel-module-imx-gpu-viv-5.0.11.p7.1/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/gc_hal_kernel_linux.o
  CC [M]  /home/otavio/src/yocto/build/tmp/work/imx6sxsabresd-oel-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.1-r0/kernel-module-imx-gpu-viv-5.0.11.p7.1/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/gc_hal_kernel_math.o
  CC [M]  /home/otavio/src/yocto/build/tmp/work/imx6sxsabresd-oel-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.1-r0/kernel-module-imx-gpu-viv-5.0.11.p7.1/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/gc_hal_kernel_os.o
  CC [M]  /home/otavio/src/yocto/build/tmp/work/imx6sxsabresd-oel-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.1-r0/kernel-module-imx-gpu-viv-5.0.11.p7.1/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/gc_hal_kernel_debugfs.o
  CC [M]  /home/otavio/src/yocto/build/tmp/work/imx6sxsabresd-oel-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.1-r0/kernel-module-imx-gpu-viv-5.0.11.p7.1/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/gc_hal_kernel_allocator.o
  CC [M]  /home/otavio/src/yocto/build/tmp/work/imx6sxsabresd-oel-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.1-r0/kernel-module-imx-gpu-viv-5.0.11.p7.1/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/allocator/default/gc_hal_kernel_allocator_dmabuf.o
  CC [M]  /home/otavio/src/yocto/build/tmp/work/imx6sxsabresd-oel-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.1-r0/kernel-module-imx-gpu-viv-5.0.11.p7.1/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/gc_hal_kernel_probe.o
  CC [M]  /home/otavio/src/yocto/build/tmp/work/imx6sxsabresd-oel-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.1-r0/kernel-module-imx-gpu-viv-5.0.11.p7.1/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.o
/home/otavio/src/yocto/build/tmp/work/imx6sxsabresd-oel-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.1-r0/kernel-module-imx-gpu-viv-5.0.11.p7.1/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c:81:31:
fatal error: linux/busfreq-imx.h: No such file or directory
 #include <linux/busfreq-imx.h>
                               ^
compilation terminated.
/home/otavio/src/yocto/build/tmp/work-shared/imx6sxsabresd/kernel-source/scripts/Makefile.build:308:
recipe for target
'/home/otavio/src/yocto/build/tmp/work/imx6sxsabresd-oel-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.1-r0/kernel-module-imx-gpu-viv-5.0.11.p7.1/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.o'
failed
make[3]: *** [/home/otavio/src/yocto/build/tmp/work/imx6sxsabresd-oel-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.1-r0/kernel-module-imx-gpu-viv-5.0.11.p7.1/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.o]
Error 1
/home/otavio/src/yocto/build/tmp/work-shared/imx6sxsabresd/kernel-source/Makefile:1278:
recipe for target
'_module_/home/otavio/src/yocto/build/tmp/work/imx6sxsabresd-oel-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.1-r0/kernel-module-imx-gpu-viv-5.0.11.p7.1/kernel-module-imx-gpu-viv-src'
failed
make[2]: *** [_module_/home/otavio/src/yocto/build/tmp/work/imx6sxsabresd-oel-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.1-r0/kernel-module-imx-gpu-viv-5.0.11.p7.1/kernel-module-imx-gpu-viv-src]
Error 2
Makefile:133: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory
'/home/otavio/src/yocto/build/tmp/work-shared/imx6sxsabresd/kernel-source'
Makefile:6: recipe for target 'all' failed
make: *** [all] Error 2
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at
/home/otavio/src/yocto/build/tmp/work/imx6sxsabresd-oel-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.1-r0/temp/log.do_compile.15869)

This is THE SAME BUILD FAILURE that the removed patch fixed.

You did not build it against 3.14 kernel; you must have tried it
against a 3.10 kernel, if any test has been executed, and this is
disappointing.

Long story short, kernel module support is merged in master and
broken. I have ported the 3.14 build fix (single line change). Please
do a proper test now and check if anything is broken.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list