Files
mu300-linux/docs
Abdurrahman Kaan DikeçandClaude Opus 5 18481f2d5e audio: correct the record - the AGDSP core is not running
I reported the DSP as running and wrote it into FINDINGS. It is not, and the
mistake was reading a powered domain as an executing one: agdsp_access_enable()
takes the AGDSP up through the PMU whether or not the core has an image to run,
so "wake up done" with no timeout and status core=0 sys=0 say nothing about the
firmware.

The test that does settle it is the DSP's own log. A running AGDSP writes to
/dev/audio_dsp_log over the audio SIPC sblock channel; here a read returns zero
bytes and the kernel says "sblock_receive wait interrupted". mu300-audio-dsp
now reports power-up and running as two separate lines.

This is not a Linux problem. The Android module says so in its own service.sh -
"AudioCP still times out on F50 even with the donor memory layout" - and the
Whale HAL module's README lists bridging cellular RX/TX through AudioRecord/
AudioTrack as explicitly outside what it achieves, which is exactly what a SIP
gateway needs. What works there is media audio and calls over a Bluetooth
headset's SCO link, which bypasses the AGDSP entirely.

Ruled out along the way, each checked rather than assumed: the firmware is
byte-identical to the image Android uses; the memory really is reserved; ldinfo
matches the image size so the whole of it is copied; and the load order does not
matter - writing it with sound@0 unbound, the way Android does, changes nothing.
That last one also makes the old "start reboots the device unless the card is
registered" rule untenable, so it is marked as not reproducible rather than left
standing as an explanation.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Z17MBkdHmZPvNPNSLxcHk
2026-09-21 19:58:26 +03:00
..