Hi, Santosh,
We have tried flashing the image the UFS, the flowing messages are from my DOS prompt:
D:\aiot8391p2>genio-flash
Genio Tools: v1.7.0a5
Raw Image:
name: UFS Disk Image (Sparse Image)
machine: Unspecified
WARNING:aiot:DEVICE_NOT_OPENED
WARNING:aiot:Board control failed. Possible causes are:
- This is not a Genio 350/700 EVK, nor a Pumpkin board.
- The board port UART0 is not connected.
- The UART0 port is being opened by another tool, such as TeraTerm on Windows.
You can now manually reset the board into DOWNLOAD mode.
INFO:aiot:Continue flashing…
Looking for MediaTek SoC matching USB device 0e8d:0003
Opening COM6 using baudrate=115200
Connected to MediaTek SoC: hw_code[0x8189]
Sending bootstrap to address: 0x2001000
Jumping to bootstrap at address 0x2001000 in AArch64 mode
erasing mmc0
< waiting for any device >
Erasing ‘mmc0’ FAILED (remote: ‘Partition does not exist.’)
fastboot: error: Command failed
Traceback (most recent call last):
File “”, line 198, in _run_module_as_main
File “”, line 88, in run_code
File "C:\Users\odin\AppData\Local\Programs\Python\Python312\Scripts\genio-flash.exe_main.py", line 7, in
File “C:\Users\odin\AppData\Local\Programs\Python\Python312\Lib\site-packages\aiot\flashtool.py”, line 149, in main
tool.execute()
File “C:\Users\odin\AppData\Local\Programs\Python\Python312\Lib\site-packages\aiot\flashtool.py”, line 115, in execute
self.run_worker(image, args)
File “C:\Users\odin\AppData\Local\Programs\Python\Python312\Lib\site-packages\aiot\flashtool.py”, line 144, in run_worker
flasher.flash_worker(image=image, args=args)
File “C:\Users\odin\AppData\Local\Programs\Python\Python312\Lib\site-packages\aiot\flash.py”, line 196, in flash_worker
self.flash(args.targets)
File “C:\Users\odin\AppData\Local\Programs\Python\Python312\Lib\site-packages\aiot\flash.py”, line 148, in flash
self.flash_group(target)
File “C:\Users\odin\AppData\Local\Programs\Python\Python312\Lib\site-packages\aiot\flash.py”, line 97, in flash_group
self.erase_partition(partition)
File “C:\Users\odin\AppData\Local\Programs\Python\Python312\Lib\site-packages\aiot\flash.py”, line 63, in erase_partition
self.fastboot.erase(partition)
File “C:\Users\odin\AppData\Local\Programs\Python\Python312\Lib\site-packages\aiot\fastboot.py”, line 128, in erase
return self._run_command(command)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\odin\AppData\Local\Programs\Python\Python312\Lib\site-packages\aiot\fastboot.py”, line 31, in _run_command
subprocess.run(command, check=True)
File “C:\Users\odin\AppData\Local\Programs\Python\Python312\Lib\subprocess.py”, line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command ‘[‘fastboot’, ‘erase’, ‘mmc0’]’ returned non-zero exit status 1.
//———————————————————
And there are some errors in the UART0 console messages:
===============================================================================
Dram Type= LPDDR5, Freq= 1544, FreqGroup= 1600, CH_1, rank 1
fsp= 0, odt_onoff= 0, Byte mode= 662448, Lat mode= 306452, DivMode= 0, ByteSwap=0
[3200][CH1][RK1][RX] Bit0 Center 85 (35 ~ 135) 662560
[3200][CH1][RK1][RX] Bit1 Center 87 (35 ~ 139) 662560
[3200][CH1][RK1][RX] Bit2 Center 93 (39 ~ 147) 662560
[3200][CH1][RK1][RX] Bit3 Center 99 (47 ~ 151) 662560
[3200][CH1][RK1][RX] Bit4 Center 111 (59 ~ 163) 662560
[3200][CH1][RK1][RX] Bit5 Center 111 (59 ~ 163) 662560
[3200][CH1][RK1][RX] Bit6 Center 103 (55 ~ 151) 662560
[3200][CH1][RK1][RX] Bit7 Center 101 (47 ~ 155) 662560
[3200][CH1][RK1][RX] Bit8 Center 101 (47 ~ 155) 662560
[3200][CH1][RK1][RX] Bit9 Center 91 (39 ~ 143) 662560
[3200][CH1][RK1][RX] Bit10 Center 103 (51 ~ 155) 662560
[3200][CH1][RK1][RX] Bit11 Center 97 (51 ~ 143) 662560
[3200][CH1][RK1][RX] Bit12 Center 87 (35 ~ 139) 662560
[3200][CH1][RK1][RX] Bit13 Center 87 (35 ~ 139) 662560
[3200][CH1][RK1][RX] Bit14 Center 89 (39 ~ 139) 6MI] Dram manu id is 255
[EMI] (16+16)+(16+16) setting, CONA=0xf053f154
[EMI] Vcore -1, Vmddr -1
[Dramc_Top] dramc_set_vcore_voltage :725000
Restore Vcore = -1
check_dramc_voltage_after_k: Read voltage: Vdd1 = -1, Vcore = -1, Vddq = -1, Vmddr = -1, Vdd2H = -1, Vdd2L = 0
[MEM] Memory size: 0x200000000
[MEM] mt_mem_init(): done
[DA] gpio_trap_value : 0x0
[DA] storage_tpye: UFS
device descriptor length = 0x59
power descriptor length = 0x62
interconnect descriptor length = 0x6
configuration descriptor length = 0xe6
unit descriptor length = 0x2d
geometry descriptor length = 0x57
[UFS] UFS version 3.10
[UFS] ufs_get_device_info: Device Desc:
59 0 0 0 0 0 3 4 1 1 1 7f 0 1 f 0
3 10 4 31 0 1 3 4 1 45 16 1a 2 0 0 b3
7 20 b2 fd 20 0 96 a1 e0 17 2 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
2 3 b3 1 0 0 0 0 0
[UFS] Unipro version= 5
TW Reduction = 1, TW Type = 0
Shared WB Buffer AU = 0x0
ud0_base_offset = 22, ud_config_len = 26
[UFS] get unit serial number string len 0x18
[UFS] vendor id : 0x145
[UFS] ufs id : SDINFDO4-128G
[UFS] ufs fwver: 2218
[UFS] ufs serial number: f1a0103341d28320af249621
[UFS] dev_quirk = 0x0
opcode 0x1 for idn 1 failed, err = 251
[UFS] failed reading ufshcd_read_desc_param. desc_id 1 param_offset 0 desc_len 230 ret 251
[UFS] err: ufs_check_lu_cfg: read config descr error: 251
hba->dev_info.bootable: 0x1
[UFS] info: LU Configuration Check OK. Bootable UFS
[UFS] info: Boot LU Configuration Check OK. Active Boot LU: LU0
opcode 0x1 for idn 1 failed, err = 251
[UFS] failed reading ufshcd_read_desc_param. desc_id 1 param_offset 0 desc_len 230 ret 251
[UFS] err: ufs_check_lu_cfg: read config descr error: 251
bug: active_num_lu shall not be 0[UFS] info: HS-G1-2
[UFS] Sense Data: ASC=29, ASCQ=3
[UFS] err: task response error = 1
[UFS] err: ufs_get_lu_size: ufshcd_queuecommand err
[UFS] err: ufs_get_lu_size(0) fail, ret -5
starting app fitboot
block devices:
fastboot_init()
[USB] U2 pullup D+
[USB] HS (2) is detected
[USB] usb_online: 1
fastboot: processing commands
fastboot: getvar:has-slot:mmc0[len:20]
fastboot:[download_base:0xffff000300000000][download_size:0x0]
fastboot:[cmd:getvar:]-[arg:has-slot:mmc0]
fastboot: getvar:partition-type:mmc0[len:26]
fastboot:[download_base:0xffff000300000000][download_size:0x0]
fastboot:[cmd:getvar:]-[arg:partition-type:mmc0]
fastboot: erase:mmc0[len:10]
fastboot:[download_base:0xffff000300000000][download_size:0x0]
fastboot:[cmd:erase:]-[arg:mmc0]
cmd_erase mmc0
Partition does not exist.
How can I fix that?
Thanks.
Odin.
In additional, here are the jumper settings on our board.