This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DS-5 gator driver does not compile for Android 3.4.39 Kernel

I have a Samsung Galaxy Note 10.1 2014 Edition (Model number: SMP-P600) and I'm trying to get the DS-5 suite working with it.

I downloaded the source for the kernel from the offical Samsung site http://opensource.samsung.com/

Buildling the Kernel with the neccessary configuration options worked fine, but when I try to build the gator driver I get a missing header error:

gator_iks.c:15:44: fatal error: trace/events/power_cpu_migrate.h: No such file or directory

Is this particular android kernel not supported by the DS-5 suite? Any help would be appreciated.

Kind Regards

Benjamin Thaut

Parents
  • To fix this issue, please disable IKS (which maps multiple physical CPUs to a single OS visible logical CPU) support by modifying gator.h and change

    #define GATOR_IKS_SUPPORT       defined(CONFIG_BL_SWITCHER)

    to

    #define GATOR_IKS_SUPPORT       0

    This is because the Samsung kernel uses a different implementation or version of IKS than Linaro provides. Only the Linaro version of IKS is supported by gator. After this change you should be able to compile and run gator. However the CPU hardware counters will not be reliable because at any point the physical CPU corresponding to the logical CPU may change.

Reply
  • To fix this issue, please disable IKS (which maps multiple physical CPUs to a single OS visible logical CPU) support by modifying gator.h and change

    #define GATOR_IKS_SUPPORT       defined(CONFIG_BL_SWITCHER)

    to

    #define GATOR_IKS_SUPPORT       0

    This is because the Samsung kernel uses a different implementation or version of IKS than Linaro provides. Only the Linaro version of IKS is supported by gator. After this change you should be able to compile and run gator. However the CPU hardware counters will not be reliable because at any point the physical CPU corresponding to the logical CPU may change.

Children
No data