DSP - Please please somebody reply me

Hi,

I am trying to use the DSP of my C4 beagleboard following the
instructions on
http://code.google.com/p/opencv-dsp-acceleration/wiki/Instruction_For_Building_Examples
I walked through steps one to five successfully and I copied the
necessary files from Open Embedded to my Angstrom SD-Card; i.e.,
dsplinkk.ko, lpm_omap3530.ko, cmemk.ko, ./loadmoudles.sh, ./
unloadmoudles.sh, remote_ti_platforms_evm3530_opencv.xv5T,
c6accel_omap3530.x64P, and libopencvdsp.so at appropriate places.

After successfully running ./loadmoudles.sh, I tried ./
remote_ti_platforms_evm3530_opencv.xv5T. Since then, it keeps giving
me the following error:

./remote_ti_platforms_evm3530_opencv.xv5T: symbol lookup error:
./ remote_ti_platforms_evm3530_opencv.xv5T: undefined symbol:
CMEM_init.

I googled this error but did not manage to find anything. Does anybody
know what I can do about this problem?

Thanks in advance for your help,
Nastaran

I think you should rebuild the cmem, deplink and other drivers based on kernel which you used current.

2011/7/10 nastaran nemati <nastaran.nemati@gmail.com>

Hi,

Thanks for your reply. Do you mean I should redo all the five steps in the mentioned website from the scratch
and use the new dsplinkk.ko, lpm_omap3530.ko, cmemk.ko files?
I did not encounter to any errors during the installation of my open embedded and opencv on it. Why would these files have problems?

Thanks again for your help,
Nastaran

Why don't you just copy the necessary ipks instead of the individual
files? That'll make sure you have all the dependencies.

Also check your kernel logs for more clues, but from the looks of it,
it seems to be a dynamic linker issue.

Also, if you're just getting started, it may be a good idea to build
an image such as one at: http://narcissus.angstrom-distribution.org
with the necessary components.

You can then fiddle with it once its up and running.

thanks,
Joel

Dear Joel,

Thank you for your reply.
Have you yourself used the DSP core on the beagleboard? Could you please explain more about your solution? While following instructions included in http://code.google.com/p/opencv-dsp-acceleration/wiki/Instruction_For_Building_Examples I did not encounter to any ipk files. I need to install openembedded on my PC’s linux and after installing dsp opencv related files on it I should transfer some files to my beagle board. I checked the Narcissus page, there are some related packages but not all of them.

I would appreciate it if you provide me with more details.
Thanks again,
Nastaran

Dear Joel,
Thank you for your reply.
Have you yourself used the DSP core on the beagleboard? Could you please

No I haven't done any OpenCV development before.

transfer some files to my beagle board. I checked the Narcissus page, there
are some related packages but not all of them.

Can you let us know what these packages are? I would appreciate it.

CMEM_init appears to be in the patch that you applied in Step 3 in the
wiki instructions:
http://opencv-dsp-acceleration.googlecode.com/svn/trunk/dsp_opencv/patch/opencvdsp.diff

Further digging revealed that the symbol comes from the CMEM library
and is installed by the package ti-linuxutils. I suspect you could be
using the wrong version of the library. That should give you a start.

HTH,
Joel