Hello NXP support team
We are evaluating hifi4 dsp on iMX8MP, so far we are able to compile DSP framework, unit-test, from imx-audio-framework , and confirmed hifi4 dsp can be started/stopped via sysfs interface
But executing of unit-test failed with error message
root@imx8mpevk:~# dsp_test.out -f1 -d16 -itest.mp3 -otest.pcm
****************************************************************
Cadence Audio Framework (Hostless) : 'Decoder'
Build: NON_XTENSA, RTOS: Linux, On: Jan 10 2023 23:53:16
Copyright (c) 2015-2020 Cadence Design Systems, Inc.
Lib Name : Audio Framework (Hostless)
Lib Version : 2.6
API Version : 2.0
****************************************************************
Audio Device Ready
xaf_load_library failed, Error code : -2 (invalid value at src/xaf-fsl-dec-test.c:513)
By looking at unit-test source code and i.MX DSP User's Guide (nxp.com)
I think this is because I am missing DSP codec and DSP codec wrapper libraries,
which needs authorization from NXP marketing or can be downloaded from yocto mirror server
(but so far I am not able to find where to download)
Could you please provide us required DSP codec and codec wrapper libraries
or let us know where to download?
DSP codec & wrapper library: (need authorization from NXP marketing)
/usr/lib/imx-mm/audio-codec/dsp/lib_dsp_codec_wrap.so
/usr/lib/imx-mm/audio-codec/dsp/lib_dsp_mp3_dec.so
/usr/lib/imx-mm/audio-codec/dsp/lib_dsp_aac_dec.so
/usr/lib/imx-mm/audio-codec/dsp/lib_dsp_bsac_dec.so
/usr/lib/imx-mm/audio-codec/dsp/lib_dsp_dabplus_dec.so
/usr/lib/imx-mm/audio-codec/dsp/lib_dsp_drm_dec.so
/usr/lib/imx-mm/audio-codec/dsp/lib_dsp_mp2_dec.so
/usr/lib/imx-mm/audio-codec/dsp/lib_dsp_sbc_dec.so
/usr/lib/imx-mm/audio-codec/dsp/lib_dsp_sbc_enc.so
/usr/lib/imx-mm/audio-codec/dsp/lib_wma10d_wrap_dsp.so
DSP codec wrapper library: (can be downloaded from yocto mirror server)
/usr/lib/imx-mm/audio-codec/dsp/lib_mp3d_wrap_dsp.so
/usr/lib/imx-mm/audio-codec/dsp/lib_aacd_wrap_dsp.so
/usr/lib/imx-mm/audio-codec/dsp/lib_vorbisd_wrap_dsp.so
/usr/lib/imx-mm/audio-codec/dsp/lib_nbamrd_wrap_dsp.so
/usr/lib/imx-mm/audio-codec/dsp/lib_wbamrd_wrap_dsp.so
(listed in “7.2 Binary files in Linux OS rootfs” of i.MX DSP User's Guide (nxp.com) )
Thanks,
Jiada
According to the i.MX DSP User's Guide documentation our problem was solved, thank you very much。
I have already mailed to you, pls check the mail
Hi @joanxie , Can you also send me a copy of the NXP's codec library ? I am stuck in the similar fashion. I could not locate the libraries or the Yocto mirror site. My platform is also a iMX8 MP EVK.
Thankyou
pls create a new case for your request
if you still have issue about this, pls create a new case for this, and uploaded detailed your use case information