Flashing options for imx93

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

Flashing options for imx93

Jump to solution
704 Views
sbmd_1234
Contributor II

Hi NXP Team,

I am working on i.MX93 EVK board Please tell me the flashing options other than SD card flash in imx93 board for emmc storage?

Thanks

0 Kudos
Reply
1 Solution
647 Views
Harvey021
NXP TechSupport
NXP TechSupport

Test it with: uuu.exe -b emmc_all .\imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot .\imx-image-full-imx93evk.wic

Image downloaded from Embedded Linux for i.MX Applications Processors | NXP Semiconductors

Test board: i.MX93-evk for 11x11

 

Regards

Harvey

View solution in original post

0 Kudos
Reply
13 Replies
688 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi,

Please refer to the document UUU.pdf with uuu tool for how to flash emmc

ex: uuu -b emmc <bootloader>

     uuu -b emmc_all <bootloader> <rootfs.wic.zst/*>

You can also refer to <4 Booting Linux OS> of <IMX_LINUX_USERS_GUIDE.pdf>

 

Regards

Harvey

0 Kudos
Reply
685 Views
sbmd_1234
Contributor II

Hi @Harvey021 

I have tried this but getting a error as : 

./uuu -b emmc_all u-boot.bin imx-image-full-imx93-11x11-lpddr4x-evk-20240829072649.rootfs.wic
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.182-0-gda3cd53

Success 0 Failure 1


3:4-DAAE92E6 1/ 1 [HID(W): LIBUSB_ERROR_TIMEOUT (-7) ] SDPS: boot -scanterm -f u-boot.bin -scanlimited 0x800000


Also please confirm the bootloader binary I tried to flash these 3 bootloader binaries but reporting same error please help.
 
Imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot
u-boot.bin
u-boot-imx93-11x11-lpddr4x-evk.bin

0 Kudos
Reply
683 Views
Harvey021
NXP TechSupport
NXP TechSupport

Should be the one to be flashed - Imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot

 

Regards

Harvey

0 Kudos
Reply
681 Views
sbmd_1234
Contributor II

I have tried this too but same error I am getting what could be the possible reason?

./uuu -b emmc imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.182-0-gda3cd53

Success 0 Failure 1


3:4-DAAE92E6 1/ 1 [HID(W): LIBUSB_ERROR_TIMEOUT (-7) ] SDPS: boot -f imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot


and 


./uuu -b emmc_all imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot imx-image-full-imx93-11x11-lpddr4x-evk-20240829072649.rootfs.wic
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.182-0-gda3cd53

Success 0 Failure 0
Success 0 Failure 1


3:4-DAAE92E6 1/ 1 [HID(W): LIBUSB_ERROR_TIMEOUT (-7) ] SDPS: boot -scanterm -f imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot -sca

 

0 Kudos
Reply
648 Views
Harvey021
NXP TechSupport
NXP TechSupport

Test it with: uuu.exe -b emmc_all .\imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot .\imx-image-full-imx93evk.wic

Image downloaded from Embedded Linux for i.MX Applications Processors | NXP Semiconductors

Test board: i.MX93-evk for 11x11

 

Regards

Harvey

0 Kudos
Reply
632 Views
sbmd_1234
Contributor II

Hi

Thanks this worked for me in the Windows system but need to check in Linux also it was not working.

Regards

Shubham

0 Kudos
Reply
583 Views
Harvey021
NXP TechSupport
NXP TechSupport

Try to run the CLI: sudo uuu -lsusb to check if driver for usb missed with your Linux Host.

 

Regards

Harvey

0 Kudos
Reply
212 Views
sbmd_1234
Contributor II

Hi @harvey 

Actually uuu -lsusb is detecting the board but could not flash 

only this error I am getting : 

3:1-3661BD70 1/ 1 [HID(W): LIBUSB_ERROR_TIMEOUT (-7) ] SDPS: boot -scanterm -f imx-boot-imx91-11x11-lpddr4-evk-sd.bin-flash_singleboot -scan

0 Kudos
Reply
190 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi,

Have a test on host-Ubuntu 20.04-as below for your reference.

Image downloaded from the link https://www.nxp.com/webapp/Download?colCode=L6.6.36_2.1.0_MX93&appType=license 

Cli: sudo uuu -b emmc_all imx-boot-imx93evk-sd.bin-flash_singleboot imx-image-full-imx93evk.wic

or sudo uuu -b emmc_all imx-image-full-imx93evk.wic

Both way work on my side.

Regards

Harvey

0 Kudos
Reply
177 Views
sbmd_1234
Contributor II

Hi,

I am also using ubuntu 20.04 but still the issue is same as I tried to flash the image which you suggested.

My uuu version is: uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.182-0-gda3cd53

is there any specific uuu version that we need to use?

0 Kudos
Reply
166 Views
Harvey021
NXP TechSupport
NXP TechSupport

Should not related to uuu version.

However, the one I tested is 

uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.11-0-g7c0fb61

By the way, what part number is your board?

 

Regards

Harvey

0 Kudos
Reply
163 Views
sbmd_1234
Contributor II

Hi,

I am working on "11 * 11 i.MX93 evk".

But I have also checked in the i.MX91 custom board through Linux I am facing issues with flashing but with windows it is not an issue.

Thanks.

0 Kudos
Reply
157 Views
Harvey021
NXP TechSupport
NXP TechSupport

Would suggest to check your Ubuntu settings and my host is not virtual machine 

To avoid the image to be flashed with some corruption, like that copy from Windows by tools. better download it from Linux platform.

 

Regards

Harvey

 

0 Kudos
Reply