iMX8MP uboot imx-mkimage build error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX8MP uboot imx-mkimage build error

1,656 Views
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!

Labels (1)
0 Kudos
Reply
4 Replies

1,615 Views
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 Kudos
Reply

1,601 Views
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 Kudos
Reply

1,594 Views
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 Kudos
Reply

1,597 Views
Harvey021
NXP TechSupport
NXP TechSupport

You are welcome, yes, that one is needed

 

Regards

Harvey

0 Kudos
Reply