HiSilicon Hikey 970 - Shunya Desktop Image For HiKey970

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
➜  binaries sudo ./hikey_idt -c config
Config name: config
0: Image: ./sec_usb_xloader.img Downalod Address: 0x22000
1: Image: ./sec_usb_xloader2.img Downalod Address: 0x60049000
2: Image: ./l-loader.bin Downalod Address: 0x16800000
Serial port open successfully!
Start downloading ./sec_usb_xloader.img@0x22000...
file total size 122880
downlaod address 0x22000
Finish downloading
Start downloading ./sec_usb_xloader2.img@0x60049000...
file total size 40960
downlaod address 0x60049000
Finish downloading
Start downloading ./l-loader.bin@0x16800000...
file total size 1179648
downlaod address 0x16800000
Finish downloading
➜ binaries cd ../
➜ Hikey970-shunya-desktop-image-0.1 sudo ./binaries/recovery-flash.sh
./binaries/recovery-flash.sh: 7: [: unexpected operator
Config name: ....../Hikey970-shunya-desktop-image-0.1/binaries/config
....../Hikey970-shunya-desktop-image-0.1/binaries/hikey_idt: option requires an argument -- 'p'
Usage: hikey_idt -c config
Flashing ptable
Sending 'ptable' (24 KB) OKAY [ 0.001s]
Writing 'ptable' OKAY [ 0.005s]
Finished. Total time: 0.007s
Sending 'xloader' (164 KB) OKAY [ 0.005s]
Writing 'xloader' OKAY [ 0.009s]
Finished. Total time: 0.014s
Sending 'fastboot' (1152 KB) OKAY [ 0.034s]
Writing 'fastboot' OKAY [ 0.056s]
Finished. Total time: 0.091s
Sending 'fip' (1224 KB) OKAY [ 0.036s]
Writing 'fip' OKAY [ 0.058s]
Finished. Total time: 0.098s
Sending 'boot' (65536 KB) OKAY [ 2.143s]
Writing 'boot' OKAY [ 0.418s]
Finished. Total time: 2.590s
Please be patient...
Sending sparse 'userdata' 1/6 (131068 KB) OKAY [ 5.894s]
Writing 'userdata' OKAY [ 0.674s]
Sending sparse 'userdata' 2/6 (131068 KB) OKAY [ 4.250s]
Writing 'userdata' OKAY [ 0.740s]
Sending sparse 'userdata' 3/6 (131068 KB) OKAY [ 4.039s]
Writing 'userdata' OKAY [ 0.687s]
Sending sparse 'userdata' 4/6 (131068 KB) OKAY [ 4.029s]
Writing 'userdata' OKAY [ 0.670s]
Sending sparse 'userdata' 5/6 (131068 KB) OKAY [ 3.526s]
Writing 'userdata' OKAY [ 0.672s]
Sending sparse 'userdata' 6/6 (66608 KB) OKAY [ 1.827s]
Writing 'userdata' OKAY [ 0.346s]
Finished. Total time: 27.425s