imx-mkimage for building flash.bin for iMX93 u-boot

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

imx-mkimage for building flash.bin for iMX93 u-boot

Jump to solution
1,328 Views
abt
Contributor II

Hi,

I can build the WIC file for the i.MX93 EVK using Yocto. I am trying now to build the flash.bin (u-boot) file for the same platform outside Yocto. Can anyone point out where to find the imx-mkimage sources that will include support for iMX9? 

I am able to build successfully the u-boot.bin and related artifacts using u-boot source tree (https://github.com/u-boot/u-boot.git) with these commands:
make imx93_11x11_evk_defconfig
make

However, I am getting a Makefile errors when I try building the flash.bin:
make flash.bin
...

make[1]: *** No rule to make target 'u-boot.cnt'. Stop.
make: *** [Makefile:1520: u-boot.cnt] Error 2

Any idea how to build a single flash.bin, with no Yocto support, so it can be deployed to an eMMC or an SD.

Any input appreciated.

Thanks!

0 Kudos
1 Solution
1,212 Views
joanxie
NXP TechSupport
NXP TechSupport

refer to the release note

joanxie_0-1693200792171.png

you can use this command to download

wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/<package file name>

you can find container images there

View solution in original post

0 Kudos
3 Replies
1,286 Views
joanxie
NXP TechSupport
NXP TechSupport

the imx-mkimage is from:

https://github.com/nxp-imx/imx-mkimage/tree/lf-6.1.22_2.0.0

pls refer to the chapter 4.5.13 How to build imx-boot image by using imx-mkimage

https://www.nxp.com.cn/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf

0 Kudos
1,261 Views
abt
Contributor II

Under section 4.5.13, for i.MX 93 in Step 3, it says: Copy the image of Sentinel firmware container mx93a0-ahab-container.img to imx-mkimage/iMX9/

I used mx93a0-ahab-container.img from the Yocto build results and was able to successfully build and deploy flash.bin.

Is there a way to build mx93a0-ahab-container.img artifact independently, outside of Yocto?

0 Kudos
1,213 Views
joanxie
NXP TechSupport
NXP TechSupport

refer to the release note

joanxie_0-1693200792171.png

you can use this command to download

wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/<package file name>

you can find container images there

0 Kudos