aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/imx-dsp/imx-dsp_1.2.0.bb
AgeCommit message (Collapse)Author
2022-09-02imx-dsp: Upgrade 1.2.0 -> 2.0.0Tom Hochstein
Fixes: 1afdb74 MMFMWK-9126 dsp_wrapper: Switch to sw aac/aacp decoder with multi chan 89f44f8 MMFMWK-9123-7 unit_test: fsl-rend: Add pcm gain d5ff750 MMFMWK-9123-6 unit_test: fsl-dec: Add pcm gain 024ec32 MMFMWK-9123-5 unit_test:src: Add source file for parser pcm info f073481 MMFMWK-9123-4 dsp_framework: Makefile: Add pcm gain to build d44697e MMFMWK-9123-3 Change CODEC_PCM_DEC to CODEC_PCM_GAIN fcdcded MMFMWK-9123-2 common: library_load: Add check lib type 98e594d MMFMWK-9123-1 dsp_framework: main: Enlarge worker_thread_scratch_size 78029ab MMFMWK-9122: fix warning with yocto toolchain 2c5f489 MMFMWK-9122: switch to use yocto toolchain cb76f5e MMFMWK-9121 libxa_af_hostless: sysdeps:linux: Add check for exit thread a5c2f24 MMFMWK-9119: dsp_framework: Use production configuration for 8QM and 8QXP f941878 MMFMWK-9117-2 dsp_framework: fsl-render: Remove checking rate for render 8ffdbbb MMFMWK-9117-1 unit_test: fsl-render: Add to get real dec format 3eae49a MMFMWK-9114-4: dsp_framework: render: fix noise issue after suspend eeb9918 MMFMWK-9114-3: dsp_framework: hifi-dpf: add dead wait after suspend cc43096 MMFMWK-9114-2: dsp_framework: render: free memory to avoid memory leak e130ea1 MMFMWK-9114-1: dsp_framework: render: fix render can't work 67aa852 MMFMWK-9115 dsp_wrapper: Go to send output buffer when received init done 7cda1fc MMFMWK-9109 dsp_framework: unia-codec: Set codec id when load codec wrap 91ad2c9 MMFMWK-9113 dsp_framework: Add consumed len for getpara 3d2167c MMFMWK-9112 common: xaf-fsl-api: Fix no output if do reset before decoding 195faaf MMFMWK-9111-3 dsp_wrapper: fix android build issue 2aff770 MMFMWK-9111-2 common: fix android build issue 04ccf6d MMFMWK-9111-1 libxa_af_hostless: fix android build issue 5dba863 MMFMWK-9110 dsp_wrapper: fix get wrong value from dsp 0ddf545 MMFMWK-9107-2 dsp_wrapper: fix build warning 82685ed MMFMWK-9107-1 dsp_framework: render: fix build warning 1c60ffe MMFMWK-9104 dsp_framework: unia-codec: Ignore some codec decoding errors 9d63a74 MMFMWK-9108 build_dsp: Fix unit test name is not correct when install 11b653e MMFMWK-9105-2 dsp_wrapper: Add check codec library installed or not 464ae43 MMFMWK-9105-1 common: Move macro CORE_LIB_PATH to header b9c186f MMFMWK-9103 dsp_wrapper: Fix decoding timeout after received eos db0ac54 MMFMWK-9099 dsp_wrapper: Add channel num check for aac codec 956832e MMFMWK-9100 common: library_load: Add check lib_info section pool 159f7cf MMFMWK-9098 dsp_framework: unia-codec: Clear codec struct when init f193eca dsp_framework: unia-codec: fixed memory size for chan_map_table 3ce22f9 Makefile: don't remove the tflm_imx8ulp.bin 25ccff0 Add TFLM DSP firmware binary 2803042 Remove TFLM dependency from test 0e3ba22 MMFMWK-9093-2 dsp_wrapper: Process fatal error from event 6dbba43 MMFMWK-9093-1 dsp_framework: unia-codec: Add fatal error for decoding 3fac033 Integrate TFLM 5681b5b common: xf-fsl-ipc: fix addr issue on munmap b2907c8 dsp_framework: Enlarge dsp local mem ceb3574 dsp_wrapper: fix seek error when comp status is XAF_EXEC_DONE 61a0b00 dsp_wrapper: Adjust msg flow d145008 Revert "hifi-dpf: xa-class-audio-codec: Only purse input port if msg from proxy" fac3a35 dsp_framework: enlarge mem fa0697c dsp_framework: memory: Add success check for xf_uniacodec_malloc ec02b01 dsp_wrapper: fix codec data c01e084 dsp_wrapper: do not set codec data again if already set f7fc455 dsp_wrapper: fix decoding error when end of stream c3cd468 dsp_framework: unia-codec: init input_over, clear out_size 27f6a7a dsp_wrapper: Add wma channel layouts 271e820 common: xaf-fsl-api: Add error process 0c5da67 Revert "common: xf-fsl-ipc: fix reference counter issue" b6f8ad7 dsp_wrapper: fix some wma streams seek error b268d78 hifi-dpf: xa-class-audio-codec: Only purse input port if msg from proxy edee928 dsp_wrapper: set wma alway is framed ccb49dc dsp_wrapper: Remove offset_copy b6d2e50 release:build_dsp: Generate software link 3e4057a Makefile.am Add dsp_rend_test.out 6398123 release: Add build_dsp 88f9736 Add SCR 731e9e7 Add README 3dde879 EULA: Add EULA.txt V32 56d7b47 dsp_wrapper: Add DEBUG macro to print info 3a4cbc5 dsp_wrapper: remove printf dd1ef59 common: xf-fsl-ipc: fix reference counter issue c9253c9 libxa_af_hostless:hifi-dpf: Remove check frame_size * sample_size 3f62eb2 dsp_wrapper: bugfix: Move mem_exit to xaf-fsl-api 805a7df dsp_framework: fix not enough buffer when loading a796d8b dsp_wrapper: Add aac channel map in local d58d51f dsp_wrapper: fix some ogg streams can't play ed8ef02 Makefile: build DSP_WRAPPER b6213bf testxa_af_hostless: xaf-mem-test: move mem_obj_t to xaf_adev_config_t 6b3f824 dsp_wrapper: fix outputformat error 4cf6f0b host-apf: Change xf_g_ap to local var 56fe689 dsp_wrapper: process decode err b3c00e0 dsp_wrapper: remove printf 71002fe dsp_wrapper: Remove returned val process 408ae00 common: xaf-fsl-api: Add process XF_EVENT msg c9af2d0 dsp_wrapper: Add support event msg 245f4ea dsp_framework: unia-codec: fix outbuf size is not correct 7476b62 dsp_framework: Move rpmsg_response to xf-core 197befd dsp_framework:plugins:unia-codec: Avoid to report narmal returned val 3ddf693 unit_test: Makefile: Remove XA_DISABLE_EVENT 40a10d3 dsp_wrapper: Makefile: Remove XA_DISABLE_EVENT 149187f dsp_framework: Makefile: Remove XA_DISABLE_EVENT 42c8b42 common: xaf-fsl-api: fix wrong val convert c482b5e host-apf: xf-proxy: fix wrong buffer address bc618a7 dsp_framework: plugins: unia-codec: Add reset buf cmd c781b46 dsp_wrapper: Add reset dsp cmd in reset func 5d2145e common: fsl_unia: Add cmd UNIA_RESET_BUF 037ae78 dsp_framework: fix end of stream error in bypass mode 1cd2cc0 dsp_framework: unia-codec: Add set decoding fatal error a127078 unit_test: rend: Add set cmd line param 05239b0 unit_test: rend: Support all codecs in rend bb987cf dsp_framework: fix multi instances issue cf07fed dsp_framework: set framework in bypass mode 0302efe dsp_wrapper: set chan map 71824c1 dsp_framework: set chan map d2d3b09 dsp_framework: enlarge the local buffer size 128097d dsp_wrapper: Add dsp_wrapper 35d6abb xf-proxy: Add xf_flush function 1c7b002 unit_test: Add to support more codecs ca3aabe unit_test: Add support to build dsp_rend_test 3430046 unit_test: initial xaf-fsl-mp3-dec-rend-test.c 18f9aea dsp_framework: Add renderer and peripherals driver 8b9e95a dsp_framework: initial xa-fsl-renderer.c f1afdb0 unit_test: Add support MP3 decoder 6182802 unit_test: initial xaf-fsl-dec-test.c 5a19ec6 unit_test: initial xaf-fsl-api.c 0430abf dsp_framework: integrated unified audio codec plugin 8db1736 dsp_framework: Enable the basic rpmsg communication 9747302 rpmsg-lite: Add rpmsg-lite 2a2ab7b XAF: xa_hifi_af_hostless_lib_2_6_api_2_0_src.xws Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-03-31mx8dx: Normalize MACHINEOVERRIDES implementationTom Hochstein
The imx8dx-mek machine is similar to imx8qxp-mek and so the mx8qxp override was included in the MACHINEOVERRIDES hierarchy. This is non-standard, and the rework of the SOC overrides didn't handle it properly, leading to a build break: ``` Log data follows: | DEBUG: Executing shell function do_compile | NOTE: 8QX boot binary build | cp: failed to access '/home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/git/iMX8DX/scfw_tcm.bin': Not a directory | WARNING: /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636:179 exit 1 from 'cp /home/aquino/src/ossystems/oel-platform/build/tmp/deploy/images/imx8dx-mek/imx-boot$ tools/scfw_tcm.bin /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/git/iMX8DX/scfw_tcm.bin' | WARNING: Backtrace (BB generated script): | #1: compile_mx8x, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 179 | #2: do_compile, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 151 | #3: main, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 189 ERROR: Task (/home/aquino/src/ossystems/oel-platform/sources/meta-freescale/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_compile) failed with exit code '1' ``` Fix the problem by removing mx8qxp from the mx8dx hierarchy and adapting existing mx8qxp overrides appropriately. Fixes: #1027 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-02-21Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador
Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and mainline-bsp. So, for example, the mx8mq override is split into: - imx-generic-bsp: compatible with every i.MX SoC and both BSP variants - imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP - imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP - mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants - mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP - mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP - mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants - mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP - mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP - mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants - mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP - mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP The extender mechanism is responsible for extending the override list to include the generic overrides. We can then use the three different variants to handle the metadata correctly. Generically speaking, the conversion mainly was automated (with a lot of back and forth until getting it right). To convert an existing layer, the following script can be used: ```sh git ls-files classes recipes-* \ | xargs sed -i \ -e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \ -e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \ -e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \ -e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \ \ -e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \ -e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \ -e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(vf\w*\),:\1-generic-bsp,g' \ -e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \ -e 's,\(vf\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf\w*\)),|\1-generic-bsp),g' \ -e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(imx\) ,:\1-nxp-bsp ,g' \ -e 's,(\(imx\)),(\1-nxp-bsp),g' \ -e 's,\(imx\)|,\1-nxp-bsp|,g' \ -e 's,|\(imx\)),|\1-nxp-bsp),g' for d in $(find -type d | egrep '/mx[6-8]w*'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/imx$'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/mx[5s]w*'); do git mv $d $d-generic-bsp done ``` Fixes: #791. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2022-01-17imx-dsp: add recipeNate Drude
As per NXP BSP: https://source.codeaurora.org/external/imx/meta-imx/tree/meta-bsp/recipes-multimedia/imx-dsp?h=hardknott-5.10.72-2.2.0 Signed-off-by: Nate Drude <nate.d@variscite.com>