Porting Android Automotive - scfw_tcm.bin not found

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Porting Android Automotive - scfw_tcm.bin not found

1,638 次查看
eburley
Contributor III

I am porting Android Automotive from the imx8qm_mek board to our custom board.

I have build a custom scfw_tcm.bin file, as described in the Android_Auto_User_Manual, sec 8.7.

I placed the resulting bin file in  ${MY_ANDROID}/vendor/nxp/fsl-proprietary/uboot-firmware/
imx8q_car/mx8qx-custom-scfw-tcm.bin

How do I tell the build scripts to copy this file to /vendor/nxp-opensource/uboot-imx/scfw_tcm.bin during the build process?

When I build, I get the warning "...scfw_tcm.bin' not found, resulting binary is not-functional".

Somehow neither my new file or the original mx8qm-scfw-tcm.bin file are being used.

 

标记 (1)
0 项奖励
回复
2 回复数

1,617 次查看
eburley
Contributor III

No luck.  I tried:

PRODUCT_COPY_FILES += \
$(FSL_PROPRIETARY_PATH)/fsl-proprietary/uboot-firmware/imx8q_car/mx8qm-custom-scfw-tcm.bin:$(UBOOT_IMX_PATH)/uboot-imx/scfw_tcm.bin \
$(FSL_PROPRIETARY_PATH)/fsl-proprietary/uboot-firmware/imx8q_car/mx8qm-custom-scfw-tcm.bin:$(UBOOT_IMX_PATH)/uboot-imx/mx8qm-custom-scfw-tcm.bin

and

PRODUCT_COPY_FILES += \
$(FSL_PROPRIETARY_PATH)/fsl-proprietary/uboot-firmware/imx8q_car/mx8qm-custom-scfw-tcm.bin:scfw_tcm.bin \
$(FSL_PROPRIETARY_PATH)/fsl-proprietary/uboot-firmware/imx8q_car/mx8qm-custom-scfw-tcm.bin:mx8qm-custom-scfw-tcm.bin

 

The only thing that's worked so far is to copy the files manually and set them to read only so they don't get wiped by the clean phase.  Then it will compile.

0 项奖励
回复

1,629 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

@eburley 

Follow below code in mek_8q_car2.mk

 

PRODUCT_COPY_FILES += \
    $(FSL_PROPRIETARY_PATH)/fsl-proprietary/uboot-firmware/imx8q_car/xen:xen

 

0 项奖励
回复