Problem with loading i.MX8MQ EVK firmware through UUU

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

Problem with loading i.MX8MQ EVK firmware through UUU

跳至解决方案
2,948 次查看
BadLagger1985
Contributor I

Hello,

I am working with i.MX8MQ EVK board and try to load firmware into on-board emmc. Firmware was built with Yocto Project  imx-5.4.47-2.2.0.xml. I created sd-card with dd and it works fine. But when I try using uuu to load this firmware into on-board emmc (before that i set up dip SW802 1-off, 2-on; and SW801 1,2-off, 3-on 4-off) I get:

$sudo ./uuu -b emmc u-boot-sd-2020.04-r0.bin
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.127-0-g08c58c9

Success 0 Failure 1


1:9 1/ 1 [Cannot find valid IVT header ] SDP: boot -f u-boot-sd-2020.04-r0.bin

 

I tryed to add in my local.cfg:

UBOOT_CONFIG = "mfgtool"

 

and rebuilt it, but after that the result stay the same:

$sudo ./uuu -b emmc u-boot-mfgtool-2020.04-r0.bin
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.127-0-g08c58c9

Success 0 Failure 1


1:9 1/ 1 [Cannot find valid IVT header ] SDP: boot -f u-boot-mfgtool-2020.04-r0.bin

I thing that I should to add IVT header on my u-boot image before loading it. But I cann't find any information about the simple way to do that. Can anyone give me right direction (at least) to solve this little problem?

0 项奖励
回复
1 解答
2,931 次查看
BadLagger1985
Contributor I

Ok! Thanks, Igor. I found solution. The problem was in my stupid mistake. For uuu should used  imx-boot-imx8mqevk-sd.bin-flash_evk loader from yocto deploy folder . And working version of terminal command looks as:

sudo ./uuu -b emmc_all imx-boot-imx8mqevk-sd.bin-flash_evk imx-image-full-imx8mqevk.wic

在原帖中查看解决方案

2 回复数
2,938 次查看
igorpadykov
NXP Employee
NXP Employee
0 项奖励
回复
2,932 次查看
BadLagger1985
Contributor I

Ok! Thanks, Igor. I found solution. The problem was in my stupid mistake. For uuu should used  imx-boot-imx8mqevk-sd.bin-flash_evk loader from yocto deploy folder . And working version of terminal command looks as:

sudo ./uuu -b emmc_all imx-boot-imx8mqevk-sd.bin-flash_evk imx-image-full-imx8mqevk.wic