nxp-imx/mfgtools

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

nxpmichalminarcik opened this issue · 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

what's size of your emmc chip?

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=>

I am not sure. Can you shared your image?

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

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;