imx93 yocto image flashing issue

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

imx93 yocto image flashing issue

跳至解决方案
3,033 次查看
marekb
Contributor III

Hi,

I'm following User guide for building yocto image for imx93 evk: https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf

 

Build pass properly but I have an issues with flashing. I'm trying following way:

sudo ./uuu -b emmc_all imx-boot "imx-image-multimedia-imx93evk.wic"
[sudo] password for marek:
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.21-0-g1f42172

Success 0 Failure 1


1:3 1/ 1 [HID(W):LIBUSB_ERROR_IO ] SDPS: boot -scanterm -f imx-boot -scanlimited 0x800000

 

And also I've tried this way: (using imx-boot-imx93evk-sd.bin-flash_singleboot instead of imx-boot) I got the same result as above.

Also tried it this way:

./uuu -b emmc_all imx-image-multimedia-imx93evk.wic
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.21-0-g1f42172

Success 0 Failure 1


1:3 1/ 1 [HID(W):LIBUSB_ERROR_IO ] SDPS: boot -scanterm -f test-image-multimedia-imx93evk.wic -scanlimited 0x800000

 

When use precompiled imx-boot I can successfully flash and boot board. I'm using latest commit in repo.

 

 

 

0 项奖励
回复
1 解答
2,880 次查看
marekb
Contributor III

Seems issue was that my EVK have iMX93 revision A0 where latest yocto support only iMX93 revision A1. When use older image I can flash an image.

在原帖中查看解决方案

0 项奖励
回复
5 回复数
3,019 次查看
jimmychan
NXP TechSupport
NXP TechSupport

In the deploy folder, the new built image should be like this :

imx-image-multimedia-imx93evk-20231117082311.rootfs.wic.zst

 

Then use the uuu command:

uuu -b emmc_all imx-image-multimedia-imx93evk-20231117082311.rootfs.wic.zst

0 项奖励
回复
3,014 次查看
marekb
Contributor III

Same issue:

sudo ./uuu -b emmc_all fsl-image-qt6-validation-imx-imx93evk.wic.zst 
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.21-0-g1f42172

Success 0 Failure 1

1:3 1/ 1 [HID(W):LIBUSB_ERROR_IO ] SDPS: boot -scanterm -f fsl-image-qt6-validation-imx-imx93evk.wic.zst/* -scanlimited 0x800000
Segmentation fault (core dumped)
0 项奖励
回复
2,886 次查看
gaurav_sharma
NXP Employee
NXP Employee
Assuming you are trying to flash a custom yocto built image,
Can you try flashing one of the pre-built images specifically this one - Linux 6.1.22_2.0.0​ or older [https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for...]?

It is very likely that the image that's built as part of your build is not compatible with the board that you are flashing it on.
0 项奖励
回复
2,881 次查看
marekb
Contributor III

Seems issue was that my EVK have iMX93 revision A0 where latest yocto support only iMX93 revision A1. When use older image I can flash an image.

0 项奖励
回复
2,996 次查看
jimmychan
NXP TechSupport
NXP TechSupport

Please try the demo image. i.MX 93 EVK (Pre-production)

0 项奖励
回复