[imx8qm] modify the default SCFW configuration compile error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

[imx8qm] modify the default SCFW configuration compile error

1,813件の閲覧回数
ts_ki
Contributor II

hello,

we needed to use Can protocol in Android auto (imx8qm_car2) with Flexcan

but found cortex M4 core is holding flexcan so 

need to modify the default SCFW configuration to move Flexcan

we followed refered to 

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/System-Controller-Firmware-101-Resource-...

but encountered compile error at bellow step

--------------------------------------------------------------------------------------------------

on mkimage (with the flags set modification above):

make SOC=iMX8QM flash‍‍‍‍

------------------------------------------------------------------------------------------

error message was 

-> 

ki@ki:~/android_build/vendor/nxp-opensource/imx-mkimage$ make SOC=iMX8QM flash‍‍‍‍
include misc.mak
include m4.mak
include android.mak
include test.mak
include autobuild.mak
include rev_a.mak
include alias.mak
make[1]: ***  No rule to make target 'flash‍‍‍‍'. Stop.
Makefile:25: recipe for target 'flash‍‍‍‍' failed
make: *** [flash‍‍‍‍] Error 2

 

If you help let me know reason, it would be very thankful!

0 件の賞賛
返信
4 返答(返信)

1,807件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

you can refer to the document as below:

"https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX8-Boot-process-and-creating-a-bootab...

use clone command to download the mkimage tool from

"https://source.codeaurora.org/external/imx/imx-mkimage"

then copy your built images there, then use the make command to generate

1,788件の閲覧回数
ts_ki
Contributor II

I successed to compile and output flash.bin file with refered documents.

but in this doc, there is only way of SD Card for download to board.

Is there any other way to download SCFW image (flash.sh) with

uuu_imx_android_flash.sh or fastboot_imx_flashall.sh?

I tried just move new scfw_tcm.bin file to my project /vendor/nxp-opensource/imx-mkimage/iMX8QM

and builded but result is same, cannot see can0 in board's /dev folder

am i somthing missed?

0 件の賞賛
返信

1,765件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

pls refer to the chapter  SCFW configuration of android user guide, download the android user guide version you need

"https://www.nxp.com/design/software/embedded-software/i-mx-software/android-os-for-i-mx-applications..."

0 件の賞賛
返信

1,804件の閲覧回数
ts_ki
Contributor II

Very thankful for your fast reply

i'll try soon and answer the result !

0 件の賞賛
返信