From: "ext Guo Tang" <tangguo77@gmail.com>
Subject: Re: [beagleboard] Re: How to get DSP working in beagleboard?
Date: Sat, 20 Sep 2008 23:26:42 -0700 (PDT)
<snip>
> When I tried to run ./ping.out, I get error "missing libbridge.so.2".
> Then I compiled mpu_api from dspbridge_LDP_v1.4.tar.gz package (Is this
> the right one to work with the 09-13 bridge driver?), copy the resulting
> libbridge.so to target, then ln -s libbridge.so libbridge.so.2.
>
> Run ./ping.out
>
> [root@beagleboard /dspbridge_binaries]# ./ping.out
> DSP device detected !!
> DSPNode_Allocate failed: 0x80008008
>
> Any suggestion on where could be wrong?
How about setting memory reservation for 6MB from 128MB ram in advance
as below?
It does not work. But I think it might because I am not in the latest
version of l-o tree, not the dspbridge driver.
I updated to the latest l-o version. Then applied your 0913 patches, then
picked up the usb fixed from mans' tree (the beagle-10 tag).
Author: Mans Rullgard <mans@mansr.com>
usb: musb: fix something
This makes USB work on the Beagleboard. I don't know why.
The result is a little strange.
If I load the module this following way, ping.out will fail
[root@beagleboard /dspbridge_binaries]# modprobe bridgedriver
phys_mempool_base=0 base_img=baseimage.dof
[root@beagleboard /dspbridge_binaries]# ./ping.out
DSP device detected !!
DSPNode_Allocate failed: 0x8000801d
Load a different base image
modprobe bridgedriver phys_mempool_base=0
base_img=ddspbase_tiomap3430.dof64P
DSP device detected !!
DSPNodeCreate succeeded
DSPNode_registerNotify succeeded
DSPNode_run succeeded
Ping: Id 1.000000 Msg 0.000000 Mem 15408.000000
Ping: Id 1.000000 Msg 1.000000 Mem 15408.000000
...
It works!
But it is very unstable, if I run ping.out several times, I will ended up
with a really bad system crash with tons of the following logging in
console.
irq -33, desc: c0331cf8, depth: 0, count: 0, unhandled: 0
->handle_irq(): c0071500, handle_bad_irq+0x0/0x228
->chip(): 00000000, 0x0
->action(): 00000000
...
Any idea on how to fix this?
If the base image will make a difference here, where can I download the
ddbase_tiomap3430.dof64P image in your original instruction?
Another thing, your 0920 patch seems cannot be applied. I got the
following errors.
Applying: BRIDGE: Remove paths in header comment
error: arch/arm/plat-omap/include/dspbridge/_chnl_sm.h: does not exist in
index
error: arch/arm/plat-omap/include/dspbridge/_dcd.h: does not exist in
index
error: arch/arm/plat-omap/include/dspbridge/brddefs.h: does not exist in
index
I found in the tarball, you have two patches named 0001-xxx
0001-BRIDGE-Kconfig-Entry.patch
0001-BRIDGE-Remove-paths-in-header-comment.patch
Is the second 0001 there by mistake? Take the second one out seems solved
the
problem.
Thanks,
Guo