mirror of
https://github.com/dikeckaan/mu300-linux.git
synced 2026-12-06 00:03:00 +00:00
audio-mem-mgr on this board has every Unisoc audio address there is - cmdaddr, smsg-addr, shmaddr-dsp-vbc, offload-addr, ddr32-dma, both iram bases and a dozen more - and lacks only memory-region. audio_mem reads that as two phandles pointing at reserved DDR, and without them audio_mem_alloc(MEM_AUDCP_DSPBIN) has nothing to give sprd_audcp_boot, so the image cannot be written and the DSP never starts. ZTE kept the whole audio description and removed just the reservation, which fits a board built without a speaker. There is also no firmware file to hunt for: sprd_audcp_boot has no request_firmware() at all. Userspace writes the image into the agdsp sysfs attribute in chunks between stop and start. A read-only scan of the F50's super partition for an agdsp-shaped filename turns up slog config and dump-region names only. The encouraging part is the memory map. The F50 reserves up to ae8fffff and then nothing until b0000000, about 23 MiB free, and the two ranges another UMS9620 device uses for audio - 0xaf700000 3 MiB and 0xafa00000 6 MiB - both sit in that hole, the second ending exactly where logobuffer starts. That reads as the right addresses for the SoC family rather than a guess. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017Z17MBkdHmZPvNPNSLxcHk