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

Alexander Holler holler at ahsoftware.de
Mon Sep 1 07:01:07 PDT 2014


Am 01.09.2014 14:59, schrieb Alexander Holler:
> Am 01.09.2014 14:36, schrieb Otavio Salvador:
>> On Sun, Aug 31, 2014 at 4:50 PM, Alexander Holler
>> <holler at ahsoftware.de> wrote:
>>> Am 30.08.2014 22:06, schrieb Alexander Holler:
>>> Don't know if and when I will spend the time to search further, but if I
>>> will found out why, I'll send an update to this mail.
>>
>> You seem to not be using Yocto Project-based system so in this case it
>> may be anything which we already fixed in past. In either case,
>> 3.10.31 is being included in master-next and has not yet been tested
>> (as still has build errors) so I'd wait for this before porting it to
>> other distribution.
>
> I haven't had much luck with 3.10.17 too and I definitely don't want to
> use Yocto. It doesn't met my requirements. And I can fix build errors
> myself, provided that I can build myself. Unfortunately that isn't the
> case for gpu-viv-bin-mx6q where gcoHAL_Construct() seems to be hidden.
>
> Which is why I'm asking for help here. There doesn't seem to be another
> mailing list available in regard to i.mx6, just forums or similiar.
>
> Anyway, thanks for the answer.

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


More information about the meta-freescale mailing list