Problem in communicating with DSP

Hi all,

Iam working on Communicating with the DSP processor using bridgedriver. I was succesfull in compiling the driver and it also created node when inserting the bridgedriver.ko . But when i run the applications Iam getting errors like

root@beagleboard:~/dileepdsp/dspbridge# ./cexec.out ddspbase_tiomap3430.dof64P
DSP device detected !! Trying disable clock iva2_ck with 0 usecount
------------[ cut here ]------------
WARNING: at arch/arm/plat-omap/clock.c:247 clk_disable+0x4c/0x9c()
Modules linked in: bridgedriver
[] (dump_stack+0x0/0x14) from [] (warn_slowpath+0x70/0x8c)
[] (warn_slowpath+0x0/0x8c) from [] (clk_disable+0x4c/0x9c)
r3:60000093 r2:00000000
r7:c0350144 r6:80000013 r5:00000000 r4:c0350144
[] (clk_disable+0x0/0x9c) from [] (CLK_Disable+0xec/0x150 [bridgedriver])
r7:c0350144 r6:bf05a8dc r5:bf05b3e4 r4:00000000
[] (CLK_Disable+0x0/0x150 [bridgedriver]) from [] (run_IdleBoot+0x6c/0x118 [bridgedriver])
r7:d8002000 r6:d8004000 r5:d8306000 r4:c70bfcc8
[] (run_IdleBoot+0x0/0x118 [bridgedriver]) from [] (WMD_BRD_Monitor+0xc0/0xfc [bridgedriver])
r7:c70d0b18 r6:434f5250 r5:c79c2818 r4:c70bfdb8
[] (WMD_BRD_Monitor+0x0/0xfc [bridgedriver]) from [] (PROC_Load+0x24c/0xa48 [bridgedriver])
r5:00008000 r4:bf05b50c
[] (PROC_Load+0x0/0xa48 [bridgedriver]) from [] (PROCWRAP_Load+0x410/0x4b0 [bridgedriver])
[] (PROCWRAP_Load+0x0/0x4b0 [bridgedriver]) from [] (WCD_CallDevIOCtl+0x30/0x48 [bridgedriver])
[] (WCD_CallDevIOCtl+0x0/0x48 [bridgedriver]) from [] (bridge_ioctl+0xd8/0x154 [bridgedriver])
r5:befb1c04 r4:0000000d
[] (bridge_ioctl+0x0/0x154 [bridgedriver]) from [] (vfs_ioctl+0x68/0x78)
r7:c7983f60 r6:00000003 r5:befb1c04 r4:0000000e
[] (vfs_ioctl+0x0/0x78) from [] (do_vfs_ioctl+0x4d8/0x51c)
r5:befb1c04 r4:c7983f60
[] (do_vfs_ioctl+0x0/0x51c) from [] (sys_ioctl+0x40/0x64)
[] (sys_ioctl+0x0/0x64) from [] (ret_fast_syscall+0x0/0x2c)
r7:00000036 r6:befb1c58 r5:00000000 r4:00000000
—[ end trace 71f7885aa4f4c0a2 ]—

ERROR: drivers/dsp/dspbridge/mpu_driver/src/rmgr/common/proc.c, line 1317: Assertion (uBrdState == BRD_LOADED) failed.

Iam very much thankful to them , if any one please help me out this problem…Make me to use DSP successfully.

Regards,
Dileep K Panjala

Even i am trying to test the DSP, but unfortunately the Linux kernel in OE does not have drivers/dsp folder
I downloaded the felipec linux kernel but its not booting at all. (I am using the B5 version board)
Can you tell me which linux kernel are you using and version of the board ?

Regards
Robin

Iam working on Rev B7 board. Iam using Kernel version 2.6.29-rc6-omap1. and Iam using MPU_BRIDGE. I followed the steps given in omappedia Even I faced lot of problems for compiling the dspbridge driver finally I have done it. But Applications giving problems.

Regards,
Dileep

No need for that, the dsplink drivers are built as modules. You can do 'opkg install gstreamer-ti' and it will bring in everything that's needed for dsp accelerated video playback. You can of course build you own dsp app on top of dsplink or codec-engine.

regards,

Koen

Hi Koen,
Thank you for your reply. Iam not using dsplink …Iam using dspbridge driver.
That was succesfully inserted.But when running applications using that driver it is giving problems. My observation with problem was giving oops message with clock_disable() function .

There's your problem :slight_smile: