I’m trying to recover a HiKey960, but running hikey_idt seem to fail.
Log is:
Config name: config
Port name: /dev/ttyUSB1
0: Image: ./sec_usb_xloader.img Downalod Address: 0x20000
1: Image: ./sec_uce_boot.img Downalod Address: 0x6a908000
2: Image: ./sec_fastboot.img Downalod Address: 0x1ac00000
Serial port open successfully!
Start downloading ./sec_usb_xloader.img@0x20000...
file total size 99648
downlaod address 0x20000
Finish downloading
Start downloading ./sec_uce_boot.img@0x6a908000...
file total size 23680
downlaod address 0x6a908000
retry: ack 0, len 0, err 0
retry: ack 0, len 0, err 5
retry: ack 0, len 0, err 5
...
retry: ack 0, len 0, err 5
send raw data failure
retry: ack 0, len 0, err 5
...
retry: ack 0, len 0, err 5
send raw data failure
Finish downloading
The board’s console prints this;
hikey960 boarid:5301 xloader use UART6
scsysstat_value[8].
clear reset source
last_keypoint1,reboot_type107
secdbg not DCU.
SecDbgVer exit
xloader chipid is: 0x36600110, start at 56710ms.
Build Date: Jun 20 2017, 20:37:08
[clock_init] ++
hikey960 [hikey960_clk_init]
hi3660 [clk_setup]
[clock_init] --
storage type is UFS
ufs retry: 6 count v_tx:0 v_rx:0
ufs set v_tx:0 v_rx:0
UfsHostInit -2
UfsRetry:6 ret:-2 gear:3
ufs retry: 5 count v_tx:3 v_rx:0
ufs set v_tx:3 v_rx:0
UfsHostInit -2
UfsRetry:5 ret:-2 gear:3
ufs retry: 4 count v_tx:0 v_rx:3
ufs set v_tx:0 v_rx:3
UfsHostInit -2
UfsRetry:4 ret:-2 gear:3
ufs retry: 3 count v_tx:2 v_rx:0
ufs set v_tx:2 v_rx:0
UfsHostInit -2
UfsRetry:3 ret:-2 gear:3
ufs retry: 2 count v_tx:0 v_rx:2
ufs set v_tx:0 v_rx:2
UfsHostInit -2
UfsRetry:2 ret:-2 gear:2
ufs retry: 1 count v_tx:1 v_rx:0
ufs set v_tx:1 v_rx:0
UfsHostInit -2
UfsRetry:1 ret:-2 gear:1
ufs retry: 0 count v_tx:0 v_rx:1
ufs set v_tx:0 v_rx:1
UfsHostInit -2
UfsRetry:0 ret:-2 gear:0
StorageInit,ret:-2
storage init fail.
system_reset start
Does anybody have an idea what is failing here?