[meta-freescale] 3.10.31-beta: gcoHAL_Construct returns -7 (gcvSTATUS_GENERIC_IO)

Lauren Post Lauren.Post at freescale.com
Tue Sep 2 06:32:55 PDT 2014


You can't mix and match 3.10.17 kernel with 3.10.31 graphics unless you take the 3.10.31 graphics driver and put it on 3.10.17 kernel.   The kernel driver and graphics package must align.

That is why you have build issues.

Lauren

-----Original Message-----
From: meta-freescale-bounces at yoctoproject.org [mailto:meta-freescale-bounces at yoctoproject.org] On Behalf Of Alexander Holler
Sent: Monday, September 01, 2014 9:01 AM
To: Otavio Salvador
Cc: meta-freescale at yoctoproject.org
Subject: Re: [meta-freescale] 3.10.31-beta: gcoHAL_Construct returns -7 (gcvSTATUS_GENERIC_IO)


Just checked 3.10.17 and there the size of gcsHAL_INTERFACE is 248, the same as used by the libs in gpu-viv-bin-mx6q-3.10.31-1.1.0-beta. So the libs seem to have been compiled against headers with an old gcsHAL_INTERFACE and are therefor unusable with kernel 3.10.31.

Here is a small test program one can check against kernel 3.10.17 and
3.10.31:

-----------------------------
#include <stdio.h>

#include "/usr/src/linux/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal.h"

int main(void)
{
         printf("Size: %u\n", sizeof(gcsHAL_INTERFACE));
         return 0;
}
-----------------------------

Regards,

Alexander Holler
--
_______________________________________________
meta-freescale mailing list
meta-freescale at yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


More information about the meta-freescale mailing list