Error in building imx-boot image for iMX93 11x11 EVK using imx-mkimage

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

Error in building imx-boot image for iMX93 11x11 EVK using imx-mkimage

跳至解决方案
1,057 次查看
Bob_NXP_user
Contributor III

Hello everyone,

I'm tryng to build the imx-boot image by using imx-mkimage, following the steps I found for i.MX 93 A1 in Linux Users Guide (from 39/166 to 40/166):

https://www.nxp.com/doc/IMX_LINUX_USERS_GUIDE

I succesfully build u-boot.bin and u-boot-spl.bin (GitHub - nxp-imx/uboot-imx at lf_v2023.04) and I and I copied them in imx-mkimage/iMX93 (source: GitHub - nxp-imx/imx-mkimage: i.MX Mkimage Bootloader Tool 6.6.3_1.0.0).

In the same folder I put bl31.bin, generated from  GitHub - nxp-imx/imx-atf: i.MX ARM Trusted firmware together with mx93a1-ahab-container.img (u-boot/doc/board/nxp/imx93_11x11_evk.rst at master · u-boot/u-boot · GitHub) . So the final content of the folder is this:

immagine (2).jpg

When it comes to run the command:

make SOC=iMX93 flash_singleboot

The output gives the following error:

immagine (3).jpg

Can anyone help me with this issue? I can't figure out what is going on.

Thanks, in advance,

Bob

 

 

标记 (4)
0 项奖励
回复
1 解答
928 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi,

This is another issue missing DDR firmware.

Follow the steps as below.

wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.23.bin

chmod +x firmware-imx-8.23.bin

./firmware-imx-8.23.bin

copy missing ddr firmware from -> firmware-imx-8.23/firmware/ddr/synopsys/

 

Regards

Harvey

 

在原帖中查看解决方案

0 项奖励
回复
6 回复数
1,015 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi @Bob_NXP_user 

It seems that the commit number has not been generated. please make sure your download. Have a run "git rev-parse --short=8 HEAD >> src/build_info.h" to see what it is.

 

Regards

Harvey

0 项奖励
回复
994 次查看
Bob_NXP_user
Contributor III

Hello @Harvey021 ,

Thanks for responding,

I tried the command you suggested and this is the output:

 

immagine (4).jpg

Can you tell me what I have to do next?

Thanks,

Bob

0 项奖励
回复
959 次查看
Harvey021
NXP TechSupport
NXP TechSupport

This seems to be a problem with your git.

or did you download the imx-mkimage in git clone?

 

Regards

Harvey

0 项奖励
回复
942 次查看
Bob_NXP_user
Contributor III

Hello,

I tried to do the gitclone command as you suggested:

git clone https://github.com/nxp-imx/imx-mkimage.git

immagine (5).jpg

The download terminated succesfully, then I moved all the necessary files into iMX93 folder. Then I execute: 

make SOC=iMX93 flash_singleboot

this command returns:

immagine (6).jpg

How can i go ahead?

Regards,

Bob

0 项奖励
回复
929 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi,

This is another issue missing DDR firmware.

Follow the steps as below.

wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.23.bin

chmod +x firmware-imx-8.23.bin

./firmware-imx-8.23.bin

copy missing ddr firmware from -> firmware-imx-8.23/firmware/ddr/synopsys/

 

Regards

Harvey

 

0 项奖励
回复
907 次查看
Bob_NXP_user
Contributor III

Thank you, now it works!

Regards,

Bob

0 项奖励
回复