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.

problem with c6accel sample app

Other Parts Discussed in Thread: OMAP3530

Hi,

I'm trying to run the c6accel sample applications. It is build within ti-dvsdk_omap3530-evm_4_01_00_09 (make commends: make c6accel -> make c6accel_install)

When I run this ample app (./c6accel_app) on Android shell, I got inconsistent results:

sometimes it completes all the test functions and shows "successful"; sometimes it completes but shows "pixel mismatch"; sometimes it hangs at some point (usually hangs either in the beginning or when executing signal processing functions)

Why would the execution results be inconsistent? Am I missing something?

 

I use the following comment to install drivers:

insmod cmemk.ko "phys_start=0x8c800000 phys_end=0x8d800000 pools=20x4096 allowOverlap=1"
insmod dsplinkk.ko
insmod lpm_omap3530.ko
rm -rf /dev/dsplink
mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0

 

Thanks!

chuu

  • Hi Chuu,

    Have you recompiled c6accel against a Codec Engine and DSPLink version that are compiled for Android? Android uses a different C library (bionic vs. glibc) and toolchain, and it's not safe to run any application built for Linux on Android.

    There is no supported version of Codec Engine or DSPLink for Android, but there is a hacked version in rowboat used for enabling multimedia, but it's only tested for these purposes and is not generally supported. You can try using it for c6accel however, but note that the multimedia subsystem will load the DSP with a multimedia image currently.

    Regards, Niclas

  • Thanks, Niclas, for the reply. I understand that Android support from TI is not official yet. I do recompiled c6accel against Codec Engine and DSPLink. I have questions regarding memory map configuration: If I just want to run DSPLink sample examples (loop, message, ringio...etc), what files do I need to modify in order to get the memory map configuration correct? And if I want to run C6accel examples, what files I need to modify? I am really confused by the description in http://processors.wiki.ti.com/index.php/Changing_the_DVEVM_memory_map

    Thanks, chuu

     

  • Hi Chuu,

    Note that the Codec Engine and DSPLink versions you use needs to be recompiled against bionic using the android gcc toolchain.

    If you only want to run the DSPLink applications, the wiki topic you are referring to is a bit complex. The DSPLink documentation has more targeted docs for this use case, and the procedure for memory map configuration is the same for Android as it is for Linux.

    Regards, Niclas