AnsweredAssumed Answered

Android 9.2.3.4 :Missing imx8mn/media_codecs_no_vpu.xml

Question asked by MOHIT SINGH on Jun 10, 2020
Latest reply on Jun 12, 2020 by MOHIT SINGH

I am trying to build for evk_8mn-userdebug with following flag enabled.

#Enable this to config 1GB ddr on evk_imx8mn
LOW_MEMORY := true

 

It looks like media_codecs_no_vpu.xml is not present.

 

1005/1005] including vendor/nxp/linux-firmware-imx/firmware/Android.mk ...
build/make/core/Makefile:28: warning: overriding commands for target `out/target/product/evk_8mn/root/init.rc'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `out/target/product/evk_8mn/root/init.rc'
build/make/core/Makefile:28: warning: overriding commands for target `out/target/product/evk_8mn/vendor/etc/media_codecs.xml'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `out/target/product/evk_8mn/vendor/etc/media_codecs.xml'
ninja: error: 'vendor/nxp/fsl-proprietary/media-profile/imx8mn/media_codecs_no_vpu.xml', needed by 'out/target/product/evk_8mn/vendor/etc/media_codecs.xml', missing and no known rule to make it
15:47:32 ninja failed with: exit status 1

 

# Copy media_codecs.xml for 1GB evk_imx8mn board
#ifeq ($(LOW_MEMORY),true)
#PRODUCT_COPY_FILES += \
# $(FSL_PROPRIETARY_PATH)/fsl-proprietary/media-profile/imx8mn/media_codecs_no_vpu.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml
#endif

 

cheers,

mohit

Outcomes