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.