make defconfig iMX8MQ

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

make defconfig iMX8MQ

2,727件の閲覧回数
Silvarye
Contributor II

Hi,

I want to make imx8mq_evk_config from uboot-imx,

Here, the process that I have follow :

$ git clone https://source.codeaurora.org/external/imx/uboot-imx
$ cd uboot-imx
$ git tag
$ git checkout rel_imx_4.9.51_8mq_ga

$ echo CONFIG_SECURE_BOOT=y >> configs/imx8mq_evk_defconfig
$ echo CONFIG_FAT_WRITE=y >> configs/imx8mq_evk_defconfig
$ echo CONFIG_CMD_DEKBLOB=y >> configs/imx8mq_evk_defconfig
$ echo CONFIG_IMX_OPTEE_DEK_ENCAP=y >> configs/imx8mq_evk_defconfig
$ echo CONFIG_CMD_PRIBLOB=y >> configs/imx8mq_evk_defconfig

And I want to : $ make imx8mq_evk_config for get :

/spl/u-boot-spl.bin

u-boot.bin

u-boot-nodtb.bin

/arch/arm/dts/fsl-imx8mq-evk.dtb

tee.bin

But I have this output : 

HOSTCC scripts/basic/fixdep
/usr/lib/gcc/aarch64-poky-linux/10.2.0/../../../../aarch64-poky-linux/bin/ld: cannot find crtbeginS.o: No such file or directory
/usr/lib/gcc/aarch64-poky-linux/10.2.0/../../../../aarch64-poky-linux/bin/ld: cannot find -lgcc
/usr/lib/gcc/aarch64-poky-linux/10.2.0/../../../../aarch64-poky-linux/bin/ld: cannot find -lgcc_s
collect2: error: ld returned 1 exit status
make[1]: *** [scripts/Makefile.host:99: scripts/basic/fixdep] Error 1
make: *** [Makefile:398: scripts_basic] Error 2

uname -a :

Linux imx8mqevk 5.10.35-lts-5.10.y+gef3f2cfc6010 #1 SMP PREEMPT Tue Jun 8 14:42:10 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux

Someone know how I can troubleshoot that error ? 

Best regards, 

Alexandre.

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

2,722件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Silvarye,

 

You have the 4.9.51 and try to make defconfig to 5.10.35 this is incompatibility and it takes what you have in your linux host 10.2, that the reason why are you receiving- lgcc issues.

 

Regards

 

2,719件の閲覧回数
Silvarye
Contributor II

Hi thanks for your answer, 

So, I have tried with this both versions after reinstall uboot-imx directory :

$ cd uboot-imx

$ git tag | grep 5.10.35

imx_5.10.35_2.0.0_imx8ulp_er
lf-5.10.35-2.0.0

But I have always the same error 

Regards.

 

0 件の賞賛
返信

2,698件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi,

There is no build for MX8ulp as your log

Regards

 

0 件の賞賛
返信