Trying to build SCU FW binary using SCU porting kit

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

Trying to build SCU FW binary using SCU porting kit

2,266 次查看
Ramprakash
Contributor II

Hi All,

I am trying to create a SCU FW binary by using the SCU Porting Kit. I have followed all the steps mentioned in the following link:

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

But when i try to build the file SCU by using the command 

"make qx R=b0 B=myboard" i get the following error:

/bin/bash: /gcc-arm-none-eabi-*/bin/arm-none-eabi-gcc: No such file or directory
/bin/bash: /gcc-arm-none-eabi-*/bin/arm-none-eabi-gcc: No such file or directory
/bin/bash: /gcc-arm-none-eabi-*/bin/arm-none-eabi-gcc: No such file or directory
Generating platform/board/mx8qx_myboard/dcd/imx8qx_dcd_1.2GHz.h
/bin/bash: /gcc-arm-none-eabi-*/bin/arm-none-eabi-cpp: No such file or directory
Makefile:465: recipe for target 'platform/board/mx8qx_myboard/dcd/imx8qx_dcd_1.2GHz.h' failed
make: *** [platform/board/mx8qx_myboard/dcd/imx8qx_dcd_1.2GHz.h] Error 127

I have set path in the bashrc file

export TOOLS=/home/nikola/workspace/TCU_NXP/arm-gnu-embedded_toolchain

what am I missing here? I am building the SCU in ubuntu 16.4 system for i.MX8QX board.

Thanks and Regards,

Ramprakash

 

0 项奖励
回复
4 回复数

2,252 次查看
jimmychan
NXP TechSupport
NXP TechSupport

Which version of the porting kit are you using?

0 项奖励
回复

2,199 次查看
Ramprakash
Contributor II

Hi @jimmychan ,

I am trying to use SCU v1.3 and my linux version is 4.14.98.

Thanks and Regards,

Ramprakash

0 项奖励
回复

2,179 次查看
jimmychan
NXP TechSupport
NXP TechSupport

Hello,

 

According to the Makefile, the CROSS_COMPILE is:

CROSS_COMPILE = $(TOOLS)/gcc-arm-none-eabi-*/bin/arm-none-eabi-

 

So, please check the PATH of the "TOOLS" that you export is correct.

0 项奖励
回复

2,169 次查看
Ramprakash
Contributor II

Hi @jimmychan ,

I did set the environment variable TOOLS in bashrc file and I am able to access the same from the command line by using the command "echo $TOOLS" but the same is not reflected when I try to run the make file. 

I did a workaround where I hardcoded the TOOLS variable in the makefile with the path and it worked. Do you have any idea why the TOOLS is not recognized when running the make file without hardcoding it.

 

Thanks and Regards,

Ramprakash

0 项奖励
回复