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

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

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

跳至解决方案
1,406 次查看
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 项奖励
1 解答
1,290 次查看
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 项奖励
3 回复数
1,364 次查看
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 项奖励
1,339 次查看
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 项奖励
1,291 次查看
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 项奖励