Hello,
I am working on an IMX8M Mini, and I recently started to used fully partionned .wic.bz2 image instead of sdcard.bz2.
Flashing my emmc with uuu is not functional on my Linux laptop (Ubuntu 18.04 - 64bit) with .wic.bz2 image. This is working fine with a Windows laptop so I know my .wic.bz2 is correctly built. I had no trouble to flash on my Linux when I used .sdcard.bz2 image.
uuu command used is: sudo ${UUU_DIR}/uuu -v -b emmc_all \
${BIN_DIR}imx-boot-smarthub-hw-sd.bin-flash_evk \
${BIN_DIR}winegard-smarthub-smarthub-hw.wic.bz2
Here is the output of uuu:
Wait for Known USB Device Appear...
New USB Device Attached at 1:91
1:91>Start Cmd:FB: ucmd setenv fastboot_dev mmc
1:91>Okay (0.012s)
1:91>Start Cmd:FB: ucmd setenv mmcdev ${emmc_dev}
1:91>Okay (0s)
1:91>Start Cmd:FB: ucmd mmc dev ${emmc_dev}
1:91>Okay (0.097s)
1:91>Start Cmd:FB: flash -raw2sparse all /mnt/dev/1_Projects/SMARTHUB/bin/winegard-smarthub-smarthub-hw.wic.bz2/*
16775680terminate called without an active exception
Aborted
Version used is: libuuu_1.4.138-0-g051a8fe, uuu_version 1.2.39
Below the output of U-Boot if it helps:
u-boot=> fastboot USB0
switch to partitions #0, OK
mmc1(part 0) is current device
Starting download of 16776232 bytes
..........................................................................
.....................................................
downloading of 16776232 bytes finished
writing to partition 'all'
sparse flash target is mmc:1
writing to partition 'all' for sparse, buffer size 16776232
Flashing sparse image at offset 0
Flashing Sparse Image
........ wrote 16776192 bytes to 'all'
Starting download of 16776244 bytes
..........................................................................
.....................................................
downloading of 16776244 bytes finished
writing to partition 'all'
sparse flash target is mmc:1
writing to partition 'all' for sparse, buffer size 16776244
Flashing sparse image at offset 0
Flashing Sparse Image
........ wrote 16776192 bytes to 'all'
Does anyone know if there is some restrictions on Linux side with the uuu tool ? Are they any patch to fix it ?
Thanks for your help