Describe the bug
When the firmware is built with apps/os_linux_overlay.conf any compress operation will leads to a firmware crash on PTL at leasr, MTL/ARL works fine.
To Reproduce
Build firmware for PTL w/ the linux overlay:
./scripts/xtensa-build-zephyr.py -o app/compr/all_codecs.conf -o app/os_linux_overlay.conf ptl
on DUT:
./src/utils/cplay -c0 -d52 -I MP3 <mp3 file>
./src/utils-lgpl/fcplay -c0 -d52 -I AAC <aac file>
./src/utils/cplay -c0 -d52 -I PCM <wav file>
in all cases the fw crashes (works on MTL)
Build firmware for PTL w/o the linux overlay:
./scripts/xtensa-build-zephyr.py -o app/compr/all_codecs.conf ptl
on DUT:
./src/utils/cplay -c0 -d52 -I MP3 <mp3 file>
./src/utils-lgpl/fcplay -c0 -d52 -I AAC <aac file>
./src/utils/cplay -c0 -d52 -I PCM <wav file>
mp3, aac works fine, pcm fails with memory allocation issue (all works fine on MTL)
Reproduction Rate
100%
Expected behavior
The firmware does not crash in case of mp3 and aac, pcm fail with memory allocation.
Impact
Compress is not usable with app/os_linux_overlay.conf, which is the primary configuration for Linux.
Environment
- Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
- Name of the topology file
- Topology: sof-sdca-amp-compr.tplg, sof-sdca-jack-compr.tplg
- Name of the platform(s) on which the bug is observed.
- Platform: PTL as tested, but LNL and WCL might be impacted
Screenshots or console output
without_overlay-pcm-decode.txt
without_overlay-aac-decode.txt
without_overlay-mp3-decode.txt
with_overlay-pcm-decode.txt
with_overlay-aac-decode.txt
with_overlay-mp3-decode.txt
Describe the bug
When the firmware is built with apps/os_linux_overlay.conf any compress operation will leads to a firmware crash on PTL at leasr, MTL/ARL works fine.
To Reproduce
Build firmware for PTL w/ the linux overlay:
on DUT:
in all cases the fw crashes (works on MTL)
Build firmware for PTL w/o the linux overlay:
on DUT:
mp3, aac works fine, pcm fails with memory allocation issue (all works fine on MTL)
Reproduction Rate
100%
Expected behavior
The firmware does not crash in case of mp3 and aac, pcm fail with memory allocation.
Impact
Compress is not usable with app/os_linux_overlay.conf, which is the primary configuration for Linux.
Environment
Screenshots or console output
without_overlay-pcm-decode.txt
without_overlay-aac-decode.txt
without_overlay-mp3-decode.txt
with_overlay-pcm-decode.txt
with_overlay-aac-decode.txt
with_overlay-mp3-decode.txt