Hello,
I try to make work DSP bridge on a custom OMAP3530
board with Android Froyo. I have kernel omap-pm 2.6.32 with DSP bridge. I
manage to load the driver, and even run the ping application downloaded here:
http://dev.omapzoom.org/?p=tidspbridge/userspace-dspbridge.git;a=tree;f=binaries;
I'm using these binaries:
https://gforge.ti.com/gf/project/openmax/frs/
"Android_DSP_Binaries_5.1"
The OMX userspace is coming directly from the original Android Froyo git repository (at kernel.org). I haven't changed anything, just enabled the OMX_HARDWARE flag.
Unfortunately. I'm getting the following error:
[ 145.972351] dspbridge_init: 600000 bytes @ 81f00000
[ 146.032653] proc_load: Processor Loaded /lib/dsp/baseimage.dof
[ 146.036895] proc_start: dsp in running state
[ 146.036926] DSP Bridge driver loaded
[ 172.243072] wcd_call_dev_io_ctl: Incompatible dspbridge ioctl number
I/ActivityManager( 103): Starting activity: Intent {
act=android.intent.action.VIEW
dat=content://media/external/video/media/2 typ=video/mp4
cmp=com.cooliris.media/.MovieView }
I/RenderView( 388): OnPause RenderView com.cooliris.media.RenderView@43ff4838
D/omx_interface( 64): TIOMXInterface: creating interface
D/omx_interface( 64): Calling DLOPEN on OMX_CORE_LIBRARY (libOMX_Core.so)
D/omx_interface( 64): DLOPEN SUCCEEDED (libOMX_Core.so)
D/omx_interface( 64): TIOMXInterface: library lookup success
D/TIOMX_CORE( 64): init count = 1
V/VideoMioOMAPFB( 64): Creating Vendor(OMAPFB) Specific MIO component
V/VideoMioOMAPFB( 64): AndroidSurfaceOutputOMAPFB::AndroidSurfaceOutputOMAPFB
D/TIOMX_CORE( 64): Found component OMX.TI.Video.Decoder with refCount 0
I/TI_Video_Decoder( 64): TI Video Decoder
D/TI_Video_Decoder( 64): VIDDEC_SendCommand: Received request from omx client to change state to 2
D/TI_Video_Decoder( 64): Handle request for state transition: 1 => OMX_StateIdle
D/TI_Video_Decoder( 64): VIDDEC_InitDSP_Mpeg4Dec():7384 LCML_InitMMCodec Failed!...80001009
D/TI_Video_Decoder( 64): VIDDEC_HandleCommand():2584 LCML Error 1
E/PVOMXVidDecNode( 64): Ln 1373 OMX_EventError nData1 -2147479543 nData2 2
W/MediaPlayer( 388): info/warning (1, 26)
I/ActivityManager( 103): Displayed activity com.cooliris.media/.MovieView: 554 ms (total 554 ms)
I/MediaPlayer( 388): Info (1,26)
D/dalvikvm( 103): GC_FOR_MALLOC freed 25211 objects / 1242808 bytes in 114ms
I/CacheService( 388): Starting CacheService
I/CacheService( 388): Preparing DiskCache for all thumbnails.
I/CacheService( 388): DiskCache ready for all thumbnails.
D/TI_Video_Decoder( 64): VIDDEC_GetState():2334 VIDDEC_GetState timed out
D/TIOMX_CORE( 64): Found matching pHandle(0x78d50) at index 1 with refCount 1
E/PlayerDriver( 64): Command PLAYER_PREPARE completed with an error or info PVMFErrProcessing
W/PlayerDriver( 64): PVMFInfoErrorHandlingComplete
E/MediaPlayer( 388): error (1, -18)
E/MediaPlayer( 388): Error (1,-18)
D/VideoView( 388): Error: 1,-18
obviously, the ioctl number error is a concern but I'm wondering if it's the problem or not. Why do I get this InitMMCodec Failed? Any idea?
Note that I manage to make work DSP bridge through gstreamer/gst-dsp on Angstrom though I'm running different DSP binaries.
Grégoire