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

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

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

Jump to solution
759 Views
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

 

 

0 Kudos
Reply
1 Solution
630 Views
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

 

View solution in original post

0 Kudos
Reply
6 Replies
717 Views
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 Kudos
Reply
696 Views
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 Kudos
Reply
661 Views
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 Kudos
Reply
644 Views
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 Kudos
Reply
631 Views
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 Kudos
Reply
609 Views
Bob_NXP_user
Contributor III

Thank you, now it works!

Regards,

Bob

0 Kudos
Reply