I'm working on porting Android ICS (4.0.3) to a omap3-based device, which is very closed to BeagleBoard in components and layout. This custom board uses OMAP3715 and TPS60950. The interface path for Hifi between codec and OMAP is via McBSP2.
However, the audio part always crashes when I push a number key in phone app. But it can play single .wav file without error.
The crash always happens with error message "obtainBuffer timed out (is the CPU pegged?"
I've working on this issue for several weeks, all I found is that the file hardware/ti/omap/audio/audio_hw.c seems to be written for OMAP4 platform.
I doubt there's some constants need to be changed, such as ABE_BASE_FRAME_COUNT, SHORT_PERIOD_MULTIPLIER, PLAYBACK_PERIOD_COUNT.......
Has ICS ever been tested on any omap3 platform?
Any suggestion is pleased, thanks in advance.