mfgtools icon indicating copy to clipboard operation
mfgtools copied to clipboard

Flashing .FFU file: write_sparse_image: Request would exceed partition size!

Open nxpmichalminarcik opened this issue 2 years ago • 5 comments

Hi all,

I'm trying to flash .FFU file (Windows Full Flash Update) via UUU tool.

In the case of the .ffu file with Windows IoT Core (size 936 MB) everything is fine, but if I flash the .ffu file with Windows IoT Enterprise (size 6 900 MB) I get an error at the end: write_sparse_image: Request would exceed partition size!

I am currently testing with an i.MX 8M Mini board.

Do I need to change the partition size or work with .ffu files in another way?

I am attaching the logs.

Thanks in advance for your help Michal

Mini_ffu_cmd_Enterprise.txt putty_log_mini_Enterprise.txt putty_log_mini_Core.txt Mini_ffu_cmd_Core.txt

nxpmichalminarcik avatar May 24 '23 11:05 nxpmichalminarcik

what's size of your emmc chip?

nxpfrankli avatar May 24 '23 13:05 nxpfrankli

Sandisk sdinbdg4-32g

u-boot=> mmc info Device: FSL_SDHC Manufacturer ID: 45 OEM: 100 Name: DG403 Bus Speed: 52000000 Mode: MMC High Speed (52MHz) Rd Block Len: 512 MMC version 5.1 High Capacity: Yes Capacity: 29.1 GiB Bus Width: 8-bit Erase Group Size: 512 KiB HC WP Group Size: 8 MiB User Capacity: 29.1 GiB WRREL Boot Capacity: 4 MiB ENH RPMB Capacity: 4 MiB ENH Boot area 0 is not write protected Boot area 1 is not write protected u-boot=>

nxpmichalminarcik avatar May 25 '23 05:05 nxpmichalminarcik

I am not sure. Can you shared your image?

nxpfrankli avatar May 25 '23 13:05 nxpfrankli

Frank, I just shared an image with you. You should get an email where you can access the files. Thank you for your help.

nxpmichalminarcik avatar May 26 '23 07:05 nxpmichalminarcik

Do you have ffu format spec? Your file dwDiskAccessMethod using 1 and 9, which is not supportted yet. I supposed 1 is from current, not sure what's 9 means.

typedef struct _DISK_LOCATION { uint32_t dwDiskAccessMethod; uint32_t dwBlockIndex; } FFU_DISK_LOCATION;

nxpfrankli avatar May 30 '23 15:05 nxpfrankli