Hello,
After my first attempt at flashing the Hikey 960 with images that I compiled from https://wiki.linaro.org/LHG/Build-AndroidTV-For-Hikey, I rendered my Hikey 960 unbootable.
I tried following the recovery mode instructions on https://github.com/96boards-hikey/tools-images-hikey960 and am running into difficulties. I tried this on 2 different machines both running ubuntu. In both cases the board is recognized on /dev/ttyUSB0, but when I run the recovery script I get a series of errors like these:
retry: ack 30, len 1, err 0
retry: ack d, len 1, err 0
retry: ack d, len 1, err 0
retry: ack a, len 1, err 0
retry: ack 73, len 1, err 0
retry: ack 65, len 1, err 0
retry: ack 63, len 1, err 0
retry: ack 64, len 1, err 0
retry: ack 62, len 1, err 0
retry: ack 67, len 1, err 0
retry: ack 20, len 1, err 0
retry: ack 6e, len 1, err 0
retry: ack 6f, len 1, err 0
retry: ack 74, len 1, err 0
retry: ack 20, len 1, err 0
retry: ack 44, len 1, err 0
retry: ack 43, len 1, err 0
retry: ack 55, len 1, err 0
retry: ack 2e, len 1, err 0
retry: ack d, len 1, err 0
retry: ack d, len 1, err 0
retry: ack a, len 1, err 0
retry: ack 53, len 1, err 0
retry: ack 65, len 1, err 0
retry: ack 63, len 1, err 0
retry: ack 44, len 1, err 0
retry: ack 62, len 1, err 0
retry: ack 67, len 1, err 0
retry: ack 56, len 1, err 0
retry: ack 65, len 1, err 0
retry: ack 72, len 1, err 0
retry: ack 20, len 1, err 0
send raw data failure
… and the flash procedure fails.
FYI, when I power up the board, I see this in the serial console:
hikey960 boarid:5301 xloader use UART6
scsysstat_value[16].
clear reset source
last_keypoint0,reboot_type0
secdbg not DCU.
SecDbgVer exit
xloader chipid is: 0x36600110, start at 492ms.
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
Hikey960[5301] no need avs_init.
ddr ft:0xf20332a3,mode:1 target:4
UceLdOk
ch 0 gt_errfail, STATUS:0x00000060
ch 0 gdst_errfail, STATUS:0x00000040
ch 1 gt_errfail, STATUS:0x00000060
ch 1 gdst_errfail, STATUS:0x00000040
ch 2 gt_errfail, STATUS:0x00000060
ch 2 gdst_errfail, STATUS:0x00000040
ch 3 gt_errfail, STATUS:0x00000060
ch 3 gdst_errfail, STATUS:0x00000040
timeout
timeout
timeout
timeout
density: 0x0c0c0c0c,0x00000000,0x0c0c0c0c,0x00000000,0x0c0c0c0c,0x00000000,0x0c0c0c0c,0x00000000
ddr info 0x00000306
400M
685M
1067M
C0R,V0x0000002c e:113
C1R,V0x0000002c e:193
C2R,V0x0000002c e:66
C3R,V0x0000002d e:66
C0R,V0x0000002d e:66
C1R,V0x0000002d e:66
C2R,V0x0000002d e:66
C3R,V0x0000002e e:66
C0R,V0x0000002e e:66
C1R,V0x0000002e e:66
C2R,V0x0000002e e:66
C3R,V0x0000002f e:66
C0R,V0x0000002f e:65
C1R,V0x0000002f e:65
C2R,V0x0000002f e:66
C3R,V0x00000030 e:65
1244M
1866M
C0R,V0x00000016 e:113
C2R,V0x00000016 e:113
C0R,V0x00000017 e:66
C1R,V0x00000017 e:66
C2R,V0x00000017 e:66
iomcu_subsys_init
boot_c0 PROFILE 4