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.

BB-xM + DSPLink + C6Accel + OpenCV

Other Parts Discussed in Thread: OMAP3530

Hi all, this is my first post in this forum and before decide to write here I read a lot of articles/posts/papers/etc...

Well I'm working with a Beagleboard-xM rev. C (if need more detail is here: http://beagleboard.org/static/BBxMSRM_latest.pdf) and with an host pc with Ubuntu 11.04 64bit. My aim is to use the DSP core to accelerate the opencv feature extraction algorithm.

Well, after several attempts I build an Angstrom base-image with ti-codec-engine and OpenCV-2.2 libs using the OpenEmbedded & bitbake tools.

The result is:

  1. I can cross-compile an application (i.e. nano) from my host pc to ARM on BB-xM and it works fine
  2. I can cross-compile an opencv application (i.e. image-converter) from my host pc to ARM on BB-xM and it works fine
  3. I can load dsplink, cmem and lpm_omap3530 modules without error or warning, execute provided examples (like messagegpp, ...) and all works fine

After building and installing ti-c6accel-1_01_00_03-r102c in BB-xM I tryed to launch

 ./c6accel_app 

and all test are ok.

Now, all examples/test that I tryed are successed but how can I run the opencv algorithm from the DSP?

Hope I've been clear.

  • Giacomo,

    The support for OpenCV has been de-emphasized so we can`t help you beyond providing you instructions to compile OpenCV for Cortex-A8 and C6000 devices. The experimental base port we had created supported only C674x DSP based devices so this didn`t include OMAP3 family of devices.

    I have sent you a separate private message on this. Please read that and let me know if you any other questions.

    Regards,

    Rahul

  • Hi Rahul,

    I re-built dsplink 1.65.00.03 manually and I reconfigured CFG_OMAP3530_SHMEM.c and dsplink-omap3530-base.tci to use 512MB. In particular I reserved 256MB for Linux and the rest of 256MB to DSPLink, dedicating 230MB for DDRALGHEAP Memory.

    All is gone fine, but I notice a performance deterioration: before this configuration, the example messagegpp take ~270 usec for each message. Now 346 usec. I was wrong or it's normal?

    I think I've already read something about this deterioration, but I don't remember.

    Thanks a lot

  • Hello ,

            Recently ,I am studying this question.After reading your discription, I found you have solved most the problems.Can you describe the steps od this project in details .

    My email address is :liuhuangbao5@sohu.com.Hope to get your reply soon.Thank you very much !

                                                                                                                                                                                                                        huangbao

  • Sir,

          Recently, I am focusing on using C6Accel,but I don't know how to builing it .Can you tell me the steps on how to build C6Accel and use it in detail .I also reqest you tell me the depencies of C6Accel. I do hope you can reply me as soon as possible !

         Thank you very much !

    Best wishes for you !

                                                                                                                  Liuhuangbao

  • Hi Liuhuangbao,

    I'm sorry but I still haven't worked with C6Accel. I read that this tool can help me, but now I'm studying how I can use DSPLink for create a communication between ARM and DSP.

  • Hi everyone
    I am working on a embeeded systems project and specialy on the board devkit8500d/a (OMAP TI (ARM + DSP))
    In this project i’m using the OPENCV for reading the pictures captured by a usb webcam how is connected to the board already cited in the begenning .
    So i need a tutorial about a static compilation of the c++ codes based on the OPENCV for an ARM Cortex A8 architecture, and you have to know that i have already done the cross compilation of the OPENCV library, also the compilation of the application that i want to implement in the platform and it’s working.
    Thanks to help me to resolve my problem.