[meta-freescale] wandboard-rt & kernel-module-imx-gpu-viv error

Julio Cruz Barroso julio.cruz at smartmatic.com
Wed Jan 20 03:58:34 PST 2016

Hi Otavio, Prabhu,

The previous patch help to build the imx-gpu-viv module for the Linux-wandboard-rt. After testing, there is the following issue:

 [    3.692132] galcore: Unknown symbol swait_prepare_locked (err -22)
 [    3.701981] galcore: Unknown symbol swait_finish_locked (err -22)

These symbols are part of the linux-rt patch. To solve it, the EXPORT_SYMBOL directive was used at /kernel/sched/wait-simple.c. The board is able to show QT application using eglfs (no xorg). Attached the additional patch.


-----Original Message-----
From: Otavio Salvador [mailto:otavio.salvador at ossystems.com.br] 
Sent: Tuesday, January 12, 2016 7:13 PM
To: Julio Cruz Barroso <julio.cruz at smartmatic.com>; Prabhu Sundararaj <prabhu.sundararaj at nxp.com>
Cc: meta-freescale at yoctoproject.org; dominic.sacre at gmx.de
Subject: Re: [meta-freescale] wandboard-rt & kernel-module-imx-gpu-viv error

Hello Julio,

On Tue, Jan 12, 2016 at 4:47 AM, Julio Cruz Barroso <julio.cruz at smartmatic.com> wrote:
> I'm trying to build a core-image-minimal for "wandboard-rt", but an error show-up compiling the module "kernel-module-imx-gpu-viv".
> I found two ways to solve this issue:
> 1. Apply a similar patch proposed by Dominic some months ago 
> ([meta-freescale] [meta-fsl-arm-extra][PATCH] linux-wandboard-rt: Add initial recipe), but this time, for the external module 2. Disable the kernel module and use the built-in. For this, it suggest to use the option defined by Otavio 5 month ago (patch-v2-0-5-dynamically-choose-between-built-in-or-external-vivante-gpu-kernel-driver#post8). MACHINE_USES_VIVANTE_KERNEL_DRIVER_MODULE = "0" in the local.conf file.
> Currently, both sources (module and built-in) have difference and I'm not sure if the applied patch will be enough. Dominic, do you have any comments?

Ideally we ought to fix the kernel module source. Prabhu, is it possible for you to review the patch proposed by Julio? It seems good from my point of view and harmless for normal kernel as well.

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Export-symbols-for-iMX-GPU-VIV-module.patch
Type: application/octet-stream
Size: 987 bytes
Desc: 0001-Export-symbols-for-iMX-GPU-VIV-module.patch
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20160120/f24f106e/attachment.obj>

More information about the meta-freescale mailing list