iMX8MP uboot imx-mkimage build error

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

iMX8MP uboot imx-mkimage build error

1,660 次查看
zhangzm
Contributor II

imx-mkimage source code branch is: lf-6.6.3_1.0.0
iMX8MP imx-mkimage build flash.bin, had below error:

make SOC=iMX8MP flash_ddr4_evk, log is:
Compiling mkimage_imx8
Line30
PLAT=imx8mp HDMI=no
Compiling mkimage_imx8
cc -O2 -Wall -std=c99 -static ../iMX8M/mkimage_imx8.c -o mkimage_imx8 -lz
make[1]: *** No rule to make target 'u-boot-spl.bin', needed by 'u-boot-spl-ddr4.bin'. Stop.
make: *** [Makefile:27: flash_ddr4_evk] Error 2

How can I solve it?
Thanks!

标签 (1)
0 项奖励
回复
4 回复数

1,619 次查看
Harvey021
NXP TechSupport
NXP TechSupport

To build the target, some files that missed are necessary, here the one u-boot-spl.bin is required. The section <For i.MX 8M EVK, to build imx-boot image by using imx-mkimage, perform the following steps:> of IMX_LINUX_USERS_GUIDE.pdf provides steps and details for the target build.

 

Regards

Harvey

 

 

0 项奖励
回复

1,605 次查看
zhangzm
Contributor II
Thank you!
I have found a solution. To build imx8mp flash.bin, firmware-imx-8.10/firmware/ddr/synopsys/ddr4_*_202006* is also required.
Refer to: https://github.com/nxp-imx/uboot-imx/blob/7376547b9e424b2d0f42dfe96394168c781ca297/doc/board/nxp/imx....
0 项奖励
回复

1,598 次查看
zhangzm
Contributor II
I compiled flash.bin because I was using version 7.2. We must use the 8.10 version of the ddr firmware, flash.bin, compiled OK.
0 项奖励
回复

1,601 次查看
Harvey021
NXP TechSupport
NXP TechSupport

You are welcome, yes, that one is needed

 

Regards

Harvey

0 项奖励
回复