Portenta X8 flash with uuu : invalid syntax?

I spent the better part of the day building the images to flash the Portenta X8 with, and have already performed the steps to flash it (i.e. the boot partitions are empty now).

I got to the step that tells me to run uuu full_image.uuu, and that results in the following error:

uuu (Universal Update Utility) for nxp imx chips -- lib1.4.193
Wait for Known USB Device Appear...
Error: fail open file: >../lmp-partner-arduino-image-portenta-x8.wic

  1. There is a file that begins with ../lmp-partner-arduino-image-portenta-x8, but it does not end in .wic; it is a tarball.
  2. There are no .wic files anywhere in my home directory
  3. Is this a typo, a bug in the build scripts, or a mistake I made somewhere during the build process?

Contents of full_image.uuu:

uuu_version 1.2.39

SDP: boot -f imx-boot-mfgtool

SDPV: delay 1000
SDPV: write -f u-boot-mfgtool.itb
SDPV: jump

FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev} 1; mmc erase 0 0x2000
FB: flash -raw2sparse all ../lmp-partner-arduino-image-portenta-x8.wic
FB: flash bootloader ../imx-boot-portenta-x8
FB: flash bootloader2 ../u-boot-portenta-x8.itb
FB: flash bootloader_s ../imx-boot-portenta-x8
FB: flash bootloader2_s ../u-boot-portenta-x8.itb
FB: flash sit ../sit-portenta-x8.bin
FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0
FB: done

What am I supposed to do, change .wic to .tar.gz? Extract the tarball and change this entry? I am very upset that I have gotten to this step only to encounter this kind of complete show-stopper (and now I can't touch or unplug my board).

Looks like I get to learn this file format now unless someone magically appears to save the day!

Hey there,

as far as i remember the file was called:
../lmp-partner-arduino-image-portenta-x8.wic.gz

which also must be unpacked using

gzip -d <filename> 

Then run the uuu command again.

1 Like