Flashing i.MX8M Nano EVK using UUU Tool

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

Flashing i.MX8M Nano EVK using UUU Tool

3,365 Views
rohan_mathuria
Contributor I

Hello, 

I am trying to flash i.MX8M Nano EVK using UUU Tool on Ubuntu 16.04. I have configured boot switches to Serial Download Mode and connected USB cable and Power. I am giving following command:

$ sudo ./uuu -b emmc_all <bootloader file .bin> <rootfs file .sdcard.bz2/*>

And I am getting following error:

uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.3.191-5-gbb8cda8

Success 0 Failure 1 
 
 
1:2 1/ 1 [HID(W):LIBUSB_ERROR_TIMEOUT ] SDPS: boot -f <bootloader file .bin>

Thank you,

Rohan M

0 Kudos
11 Replies

1,105 Views
dtony
Contributor III

i.MX8M Nano EVK has two type of memory. 

One is mounted DDR4 using imx-boot-imx8mnddr4evk-sd.bin-flash_ddr4_evk

Another is mounted LPDDR4 using imx-boot-imx8mnevk-sd.bin-flash_evk

 

0 Kudos

1,174 Views
jderoche
Contributor I

I'm facing the same issue but on Windows

Did you solved it?

0 Kudos

3,115 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

The uuu use on Ubuntu is almost same as windows.

0 Kudos

3,115 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Which version of BSP are you using? Are you using the demo images or images you build yourself?

0 Kudos

3,115 Views
rohan_mathuria
Contributor I

I am using Linux 5.4.3_1.0.0, tried with both demo images and images that I built.

0 Kudos

3,115 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Does it work now?

0 Kudos

3,115 Views
rohan_mathuria
Contributor I

No, still facing same issue!

0 Kudos

3,115 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Could you give us your steps?  I will test it on our board for you.

0 Kudos

3,115 Views
rohan_mathuria
Contributor I

Sure!

  1. Set the board to Serial Download Mode by configuring switch SW1101 to 1000
  2. Connected board to computer through USB Type-C cable connected to Serial Download Port J301 
  3. Connected Power to Primary Power In Port J302
  4. Downloaded UUU prebuild images from https://github.com/NXPmicro/mfgtools/releases to directory having images to be flashed
  5. Turned ON the board, it is connected to Ubuntu
  6. In terminal, cd <to this directory having uuu and images to be flashed>
  7. sudo ./uuu -b emmc_all <bootloader.bin> <rootfs file .sdcard.bz2/*>
0 Kudos

3,115 Views
rohan_mathuria
Contributor I

I am using following files to flash:

Bootloader:   u-boot-sd-2019.04-r0.bin

Rootfs:          core-image-minimal-imx8mnevk.sdcard.bz2

0 Kudos

3,115 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Does it work on you side? Sorry for late reply, I have tested it on my board, it works well.

Use the sudo ./uuu -b emmc_all imx-boot-imx8mnevk-sd.bin-flash_ddr4_evk imx-image-full-imx8mnevk.tar.bz2

Screenshot from 2020-08-07 17-28-32.png

0 Kudos