C6Run/C6Accel

Has anyone been able to get C6Run and/or C6Accel working on either the Beagleboard or the Beagleboard-xM? If so, exactly what versions of the Linux kernel and all of the TI support libs did you use and how did you manage to make it all work? I’ve tried what feels like every combination of dsplink vs. syslink and C6Run vs. C6Accel and haven’t had any luck. The most I’ve managed is getting C6Run to compile using syslink for the 2.6.39 kernel, but I get memory errors when I try to run any of the example programs. If both of these are a lost cause, how else have people managed to successfully use the DSP for their programs? Thanks.

Brett:
I have c6run running. Details are here [1]. I’m using the SD image from here [2]. I’m able to compile and run on the Beagle. No need to cross compile. I’m running 2.6.32, but hope to update that sometime in the next month or so.

–Mark

[1] http://elinux.org/EBC_Exercise_09_Using_the_DSP_for_Audio_Processing
[2] http://elinux.org/EBC_Exercise_00_Installing_Angstrom_on_SD

I actually just got your image up and running and was playing with the DSP examples before I saw this reply :P. It looks like just what I need. Thanks!

Mark & Brett,
I am trying to run Image Processing algo on DSP.
1)Can I use these links for that?
2) Before I go for C6run, I need to activate DSPLINK and CODEC, right?
3) I am following Opencv DSP Acceleration assignment. But I am not able to build Angstrom OE because of the limited space on my machine. Do you have any idea, how much time & space required to build Angstrom OE ?
Is it worth to build Angstrom OE on external Hard drive ?

Please let me know, I stucked here for long time.

Mark,

I tried to download image from the given link for couple of times. But I got following message

/home/…/Downloads/ETC2012.img.bz2.part could not be saved, because the source file could not be read.

Try again later, or contact the server administrator.

What I need to do make it work ?

Hmmm… I just downloaded it myself and it worked OK. It’s a 1.6G file. Do you have room for such a large file? How fast/reliable is your network.

I’m guessing the problem isn’t on my end.

–Mark





[ICO]

Hmmm… I just downloaded it myself and it worked OK. It’s a 1.6G file. Do you have room for such a large file? How fast/reliable is your network.

I’m guessing the problem isn’t on my end.

–Mark

Brett:
I have c6run running. Details are here [1]. I’m using the SD image from here [2]. I’m able to compile and run on the Beagle. No need to cross compile. I’m running 2.6.32, but hope to update that sometime in the next month or so.

–Mark

[1] http://elinux.org/EBC_Exercise_09_Using_the_DSP_for_Audio_Processing
[2] http://elinux.org/EBC_Exercise_00_Installing_Angstrom_on_SD

Mark,

I tried to download image from the given link for couple of times. But I got following message

/home/…/Downloads/ETC2012.img.bz2.part could not be saved, because the source file could not be read.

Try again later, or contact the server administrator.

What I need to do make it work ?

Brett:
I have c6run running. Details are here [1]. I’m using the SD image from here [2]. I’m able to compile and run on the Beagle. No need to cross compile. I’m running 2.6.32, but hope to update that sometime in the next month or so.

–Mark

[1] http://elinux.org/EBC_Exercise_09_Using_the_DSP_for_Audio_Processing
[2] http://elinux.org/EBC_Exercise_00_Installing_Angstrom_on_SD

Mark,

I tried to download image from the given link for couple of times. But I got following message

/home/…/Downloads/ETC2012.img.bz2.part could not be saved, because the source file could not be read.

Try again later, or contact the server administrator.

What I need to do make it work ?

Mark,I tried both on Ubuntu & Windows, but failed to download.

on Ubuntu, got error message /home/…/Downloads/ETC2012.img.bz2.part could not be saved, because the source file could not be read.

Try again later, or contact the server administrator.

On Windows, Download automatically gets interrupted.

I have been downloading from this source http://www.rose-hulman.edu/~yoder/Beagle/

First one which is 1.5 G, you told me its 1.6 G. Is this same one you are talking about.

Hello Mark,
Finally, I am able to download that image successfully. Its working fine. I am trying to follow your this tutorial

http://elinux.org/EBC_Exercise_09_Using_the_DSP_for_Audio_Processing.

But when I run ./audioThru_arm , its gave me following error

root@beagleboard:~/exercises/audioThru/lab06d_audio_c6run# ./audioThru_arm
Debug: pcm_handle before snd_pcm_open = -1095707712
Debug: pcm_handle after snd_pcm_open = -1095707712
Debug: Using 48000 Hz sampling rate.
Debug: exact_bufsize = 12000
Debug: Opened plughw:1,0
Debug: exact_bufsize = 12000
Debug: Allocated input audio buffer of size 48000 to address 0x2d720
Debug: Allocated output audio buffer of size 48000 to address 0x392a8
Debug: pcm_output_handle before audio_output_setup = 0
Debug: Requesting bufsize = 12000
Debug: pcm_handle before snd_pcm_open = -1095707716
Debug: pcm_handle after snd_pcm_open = -1095707716
Debug: Using 48000 Hz sampling rate.
Debug: exact_bufsize = 2048
Debug: Opened plughw:0,0
Debug: pcm_output_handle after audio_output_setup = 283568
Debug: blksize = 48000, exact_bufsize = 2048
Starting DSP…0.000152 s
Debug: Entering audio_thread_fxn processing loop…
Error: <<<<<<<<<<<<<<< Buffer Underrun >>>>>>>>>>>>>>> err=-32, errcnt=0

and when I run ./audioThru_dsp , it gave me following error

.root@beagleboard:~/exercises/audioThru/lab06d_audio_c6run# ./audioThru_dsp
Debug: pcm_handle before snd_pcm_open = -1094265920
Debug: pcm_handle after snd_pcm_open = -1094265920
Debug: Using 48000 Hz sampling rate.
Debug: exact_bufsize = 12000
Debug: Opened plughw:1,0
Debug: exact_bufsize = 12000
Debug: Allocated input audio buffer of size 48000 to address 0x402f1008
Debug: Allocated output audio buffer of size 48000 to address 0x402fd008
Debug: pcm_output_handle before audio_output_setup = 0
Debug: Requesting bufsize = 12000
Debug: pcm_handle before snd_pcm_open = -1094265924
Debug: pcm_handle after snd_pcm_open = -1094265924
Debug: Using 48000 Hz sampling rate.
Debug: exact_bufsize = 2048
Debug: Opened plughw:0,0
Debug: pcm_output_handle after audio_output_setup = 1076750440
Debug: blksize = 48000, exact_bufsize = 2048
Starting DSP…1.596649 s
Debug: Entering audio_thread_fxn processing loop…
Error: <<<<<<<<<<<<<<< Buffer Underrun >>>>>>>>>>>>>>> err=-32, errcnt=0

What am I doing wrong ? is something missing ? My plan is to run Opencv code on DSP , What steps I need to follow ?

Thanks

Brett:
I have c6run running. Details are here [1]. I’m using the SD image from here [2]. I’m able to compile and run on the Beagle. No need to cross compile. I’m running 2.6.32, but hope to update that sometime in the next month or so.

The TI compiler has been built on ARM, but there is some code in it I’m unlikely to be able to redistribute freely any time soon. Now that GCC 4.7 directly supports the C6x, it would be really interesting to see someone simply build GCC for C6x in OE and build C6Run for everyone using Angstrom, both as a cross-tool like the Qt toolchain and as a native toolchain.

Hy

I try to import C6Accel functionality into an existing CCS5 project. The http://processors.wiki.ti.com/index.php/C6Accel_ARM_user_Documentation describes the procedure for a makefile but i am not able to find the right setup in CCS.
To test the project i inserted a .c file and compiled the project with various setups without succes.
It would be realy nice if one could help me with the proplem.

Regards
Wendelin

p.s.
i add the .c file

/*
* @file C6Accel.c
* @date Mar 28, 2012
* @author kli
* @brief brief description