[meta-ti] pvrsrvkm failing on kernel 3.14.26 for am3359

Carlos Hernandez ceh at ti.com
Fri Jan 9 05:33:37 PST 2015


Diego,

The commit shown below should fix the issue.

Carlos

commit b35aa2398f8347e51dc29acc9bf1cc64e672ec22
Author: Pantelis Antoniou <panto at antoniou-consulting.com>
Date:   Wed Jan 7 13:52:08 2015 +0000

     arm: Export cache flush management symbols when !MULTI_CACHE

     When compiling a kernel without CONFIG_MULTI_CACHE enabled the
     dma access functions end up not being exported. Fix it.

     Signed-off-by: Pantelis Antoniou <panto at antoniou-consulting.com>
     Signed-off-by: Tomi Valkeinen <tomi.valkeinen at ti.com>

diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c
index 1e8b030..c6a9a61 100644
--- a/arch/arm/kernel/setup.c
+++ b/arch/arm/kernel/setup.c
@@ -1080,3 +1080,12 @@ const struct seq_operations cpuinfo_op = {
         .stop   = c_stop,
         .show   = c_show
  };
+
+/* export the cache management functions */
+#ifndef MULTI_CACHE
+
+EXPORT_SYMBOL(__glue(_CACHE,_dma_map_area));
+EXPORT_SYMBOL(__glue(_CACHE,_dma_unmap_area));
+EXPORT_SYMBOL(__glue(_CACHE,_dma_flush_range));
+
+#endif


On 01/09/2015 05:41 AM, Diego Sueiro wrote:
> Folks,
>
> I have recently updated my meta-ti daisy branch and noticed that 
> omap3-sgx-modules are not being loaded.
>
> Here is the log for 3.14.26 kernel (from meta-ti commit 
> 1d46274416c3b50808590963bdb6c157d9d7c745):
>
>     pvrsrvkm: Unknown symbol v7_dma_map_area (err 0)
>     pvrsrvkm: Unknown symbol v7_dma_flush_range (err 0)
>     insmod: ERROR: could not insert module
>     /lib/modules/3.14.26/kernel/drivers/gpu/pvr/pvrsrvkm.ko: Unknown
>     symbol in module
>     Could not find pvrsrvkm driver
>
>
> The 3.14.25 kernel version (from meta-ti commit 
> 31348244882a8defb640af75119ba275d9915f09) is OK.
>
> I'm using the default kernel configuration.
>
>
> Regards,
>
> --
> *dS
> Diego Sueiro
>
> Administrador do Embarcados
> www.embarcados.com.br 
> <http://www.embarcados.com.br/?utm_source=assinatura_diego&utm_medium=e-mail&utm_campaign=Assinatura%20Email%20Diego>
>
> /*long live rock 'n roll*/
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-ti/attachments/20150109/78cf94bf/attachment.html>


More information about the meta-ti mailing list