This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x sgx drivers for Android 4.4 kitkat

Hi,

-We are using 3.12.9 Android Kernel with 4.4.4 Kit Kat on am335xevm Beaglebone , I want to have a hardware rendered SGX drivers so i tried to use SGX drivers of Android 4.2 JB from git://git.gitorious.org/rowboat/hardware-ti-sgx.git.

When I tried to use these SGX drivers I have encountered the following errors. 

eurasiacon/binary2_omap4430_android_release/target/kbuild/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.o' failed

eurasiacon/build/linux2/kbuild/kbuild.mk:57: recipe for target 'kbuild' failed

Makefile.KM.Android:14: recipe for target 'buildkernel' failed


I would like to know whether TI's SGX release of RN_5_00_00_01_alpha can be used for the above? As the Release is for SDK.

  • Hi Mahesh,

    I would not expect this release to work on Android KK 4.4.4. It seems to be a Linux SDK, and Android requires different API than standard Linux systems as far as graphics are concerned.

  • Thank you Adeneo Embedded Support team,
    - Is there any recent release that supports 3.12.y android kernel with KK 4.4.4 on AM335x, or is there any procedure that can be followed to make linux SDK SGX work for KK with 3.12.y android kernel.
    - As of now we are trying to use "git://git.gitorious.org/rowboat/hardware-ti-sgx.git " i.e used for 4.2 JB with 3.2 kernel released by TI long back. I would like to know whether our trail of using the same for KK 4.4.4 with 3.12.y will succeed for the same or must wait for TI release for KK.
  • Hi Mahesh,

    There is currently no release for KK on AM335x, nor procedure to have linux_SDK_SGX work on Android (and the second one is unlikely to happen).
    There were some changes in Android API between JB and KK which makes the SGX SDK not compatible, and require some adaptation.
    The easiest would be to wait until the AM335x KK BSP is officially released.