Genio 520-EVK "Partition does not exist" error while flashing

Title: Genio 520-EVK (P2V3, just unboxed) — genio-flash “Partition does not exist” on mmc0 (UFS), sparse data transfers OK but write fails

Board: Genio 520-EVK (P2V3), brand new / just unboxed. Boots into its shipped OS normally.
Host: Windows, Python 3.14, Genio Tools v1.7.1.
Image: the official Android UFS raw image listed for G520-EVK(P2V3) — aiot8391p2_64_bsp …_user_raw. Extracted files: ufs_lu2.bin, ufs_lu0_lu1.bin, lk.bin, placed in a genio-520-evk folder.
Cable: confirmed in the connector silk-screened “USB 3.2 P0 Download”. UART0 also connected (FTDI on COM3).
Boot Selection switches: never touched since unboxing (factory default; the download table lists this board as booting from UFS).

Symptom:
Connection, download mode, and fastboot all work. Sparse image DATA transfers successfully (Sending ‘mmc0’ returns OKAY). The failure is only at the Writing step: the partitions mmc0 / mmc0boot0 / mmc0boot1 report size 0 and “Partition does not exist.” Same result with erase-mmc, plain genio-flash, and genio-flash --skip-erase.

genio-flash --skip-erase output:
Connected to MediaTek SoC: hw_code[0x8189]
Sending bootstrap to address: 0x2001000
Jumping to bootstrap at address 0x2001000 in AArch64 mode
flashing mmc0=ufs_lu2.bin
< waiting for any device >
Warning: skip copying mmc0 image avb footer (mmc0 partition size: 0, mmc0 image size: 8740929536).
Invalid sparse file format at header magic
Sending sparse ‘mmc0’ 1/8 (262141 KB) OKAY [ 13.869s]
Writing ‘mmc0’ FAILED (remote: ‘Partition does not exist.’)
flashing mmc0boot0=ufs_lu0_lu1.bin
Sending ‘mmc0boot0’ (2048 KB) OKAY
Writing ‘mmc0boot0’ FAILED (remote: ‘Partition does not exist.’)
flashing mmc0boot1=ufs_lu0_lu1.bin
Sending ‘mmc0boot1’ (2048 KB) OKAY
Writing ‘mmc0boot1’ FAILED (remote: ‘Partition does not exist.’)
Rebooting OKAY

Already confirmed:

  • v1.7.1 (above the v1.7 minimum for Genio 520).
  • Correct UFS image for G520-EVK(P2V3) per the Android download table.
  • Correct “USB 3.2 P0 Download” port.
  • SoC connects (hw_code 0x8189), bootstrap jumps, fastboot reaches the board (remote: responses), sparse data transfers OKAY.
  • Board is healthy — boots its shipped OS normally.
  • Boot Selection DIP switches never moved from factory.

The only failing step is the partition write, because the targets report size 0 / do not exist.

Environment note: on Python 3.14, which the docs flag as a known-issue Windows platform (they recommend 3.12). Flashing reaches the board and transfers data, so likely unrelated, but flagging it.

Is there something I am missing during the steps?

Dear Ashish,
Please refer to the link below for details on a similar reported issue.

Thanks,
Santosh Chavare

Hi Santosh,

I checked the forum post earlier. Looks like the issue was not reproducible. I followed the procedure and I am still stuck at the same point.

Forum reply draft — ready to post to your thread (topic 2868)

Hi Ashish,

Could you please confirm if the Box boots into its shipped OS normally?

If possible, kindly share the relevant boot logs for our review. Additionally, please refer to the document below (Boot Mode Selections) to verify the jumper settings, as the Android images are UFS‑based:

MT8391 MT8371 Evaluation Kit User Guide

Best regards,
Santosh

Hi Ashish,

Do you need any further support with this?

Thanks,
Santosh

If no further assistance is needed, we will close this issue.

Hi Santosh,
I still can’t flash the stock android image, but was able to flash the stock Yocto image on the EVK.

-Ashish

Hi Ashish,

Could you please verify whether the Yocto image is configured for UFS or eMMC? Also, please provide the boot logs and a photo of the current jumper settings. For your reference, please check the document below to ensure the jumper configuration :

MT8391 MT8371 Evaluation Kit User Guide

Thanks,
Santosh

Hi Ashish,

Do you have any updates on this?

Thanks,
Santosh