Trying to get DSP to work with Linaro

113 views
Skip to first unread message

TheAlphaNerd

unread,
Feb 10, 2012, 3:36:52 AM2/10/12
to Beagle Board
http://elinux.org/BeagleBoardUbuntu#DSP states that I need as a
requirement a Kernel built with: "CONFIG_TIDSPBRIDGE=m" .

How would I got about building and installing TIDSPBRIDGE ???

Robert Nelson

unread,
Feb 10, 2012, 10:33:12 AM2/10/12
to beagl...@googlegroups.com

First check, might be enabled:

voodoo@beagle-xma-512mb:~$ zcat /proc/config.gz | grep TIDSP
CONFIG_TIDSPBRIDGE=m
CONFIG_TIDSPBRIDGE_MEMPOOL_SIZE=0x600000
# CONFIG_TIDSPBRIDGE_DEBUG is not set
CONFIG_TIDSPBRIDGE_RECOVERY=y
# CONFIG_TIDSPBRIDGE_CACHE_LINE_CHECK is not set
CONFIG_TIDSPBRIDGE_WDT3=y
CONFIG_TIDSPBRIDGE_WDT_TIMEOUT=5
# CONFIG_TIDSPBRIDGE_NTFY_PWRERR is not set
# CONFIG_TIDSPBRIDGE_BACKTRACE is not set

For building linaro's kernel, linaro.org has some hints..

https://wiki.linaro.org/Resources/HowTo/PackageYourOwnKernel

Regards,
--
Robert Nelson
http://www.rcn-ee.com/

TheAlphaNerd

unread,
Feb 10, 2012, 12:51:06 PM2/10/12
to Beagle Board
So now this is where things get a little bit hairy. I have recompiled
the kernel following the instructions on the linaro wiki. Using zcat
I am able to confirm that the tidspbridge module has been enabled
including all the above mentioned configurations. I have followed the
steps from the beagle ubuntu wiki on installing dsp utilizing your
scirpt.

dsp-test works, although I am getting an error message to my main
console of procwrap_Detach: deprecated despbridge loctl

Now I've tried to setup ALSA...

supo apt-get instal alsa-base alsa-utils

this installation goes fine (or so it would seem). Until I try and
launch the alsa mixer... when I try
linaro@speaker-bot:~$ alsamixer
cannot open mixer: No such file or directory

just in case it was a permissions error I tried to verify that linaro
was added to the audio group and also tried running command as root

root@speaker-bot:/home/linaro# alsamixer
cannot open mixer: No such file or directory

cat /proc/asound/cards is listing no soundcards as available... so
perhaps there is a step I missed in the setup

On Feb 10, 10:33 am, Robert Nelson <robertcnel...@gmail.com> wrote:
> On Fri, Feb 10, 2012 at 2:36 AM, TheAlphaNerd <myles.bor...@gmail.com> wrote:
> >http://elinux.org/BeagleBoardUbuntu#DSPstates that I need as a

TheAlphaNerd

unread,
Feb 10, 2012, 1:57:28 PM2/10/12
to Beagle Board
So I've made a little bit of progress (I think)

I ran apt-get install oss-compat and now my lsmod looks like this

linaro@speaker-bot:~$ lsmod
Module Size Used by
bridgedriver 183438 0
mailbox_mach 5143 0
mailbox 5788 2 bridgedriver,mailbox_mach
mousedev 10624 0
snd_soc_twl4030 37248 0
snd_soc_core 113794 1 snd_soc_twl4030
snd_pcm_oss 44144 0
snd_mixer_oss 14847 1 snd_pcm_oss
snd_pcm 83041 3
snd_soc_twl4030,snd_soc_core,snd_pcm_oss
snd_timer 20972 1 snd_pcm
snd 67219 5
snd_soc_core,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
snd_page_alloc 5419 1 snd_pcm

although I am still having the problem with alsamixer not working, and
with no list of soundcards...

> launch the alsa mixer... when I try
> linaro@speaker-bot:~$ alsamixer
> cannot open mixer: No such file or directory
>
> just in case it was a permissions error I tried to verify that linaro
> was added to the audio group and also tried running command as root
>
> root@speaker-bot:/home/linaro# alsamixer
> cannot open mixer: No such file or directory
>
> cat /proc/asound/cards is listing no soundcards as available... so
> perhaps there is a step I missed in the setup
>
> On Feb 10, 10:33 am, Robert Nelson <robertcnel...@gmail.com> wrote:
>
>
>
>
>
>
>
> > On Fri, Feb 10, 2012 at 2:36 AM, TheAlphaNerd <myles.bor...@gmail.com> wrote:
> > >http://elinux.org/BeagleBoardUbuntu#DSPstatesthat I need as a
Reply all
Reply to author
Forward
0 new messages