Hello!
I'm trying to use the next script for UUU that flashes U-Boot and rootfs image to eMMC:
uuu_version 1.2.39
SDP: boot -f u-boot.imx
FB: flash mmc0boot0 u-boot.bin
FB: flash mmc0boot1 u-boot.bin
FB: ucmd mmc partconf ${mmcdev} 1 1 0
FB: flash -raw2sparse mmc0 core-image-minimal.wic
FB: acmd reset
FB: done
This script successfully flashes u-boot to mmc0boot0 and mmc0boot1,
but can't flash WIC image to eMMC's user area:
USB EHCI 1.00
Starting download of 450560 bytes
...
downloading of 450560 bytes finished
........ wrote 450560 bytes to EMMC_BOOT1
Starting download of 450560 bytes
...
downloading of 450560 bytes finished
........ wrote 450560 bytes to EMMC_BOOT2
Starting download of 16769064 bytes
..........................................................................
.....................................................
downloading of 16769064 bytes finished
fastboot_mmc_flash_write: updating MBR, Primary and Backup GPT(s)
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
fastboot_mmc_flash_write: invalid GPT - refusing to write to flash
Logs from UUU:
uuu uuu.zip
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.72-0-g8e9e189
Success 0 Failure 1
5:12 4/ 6 [invalid GPT partition ] FB: flash -raw2sparse mmc0 core-image-minimal.wic
WIC image:
Disk /tmp/core-image-minimal.wic: 392.63 MiB, 411697152 bytes, 804096 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: CD05058F-4EEF-484A-A93A-7586FB4F8203
Device Start End Sectors Size Type
/tmp/core-image-minimal.wic1 2048 4095 2048 1M Linux reserved
/tmp/core-image-minimal.wic2 4096 804061 799966 390.6M Linux root (ARM)
U-Boot version is 2021.04
Any ideas on how to solve this issue?