We got the HiKey960, board for some testing. However, we are running into issues.
In the process of AOSP fastboot interrupted in the middle of it and I got this output
target reported max download size of 524288000 bytes sending ‘xloader’ (151 KB)…
OKAY [ 0.013s]
writing ‘xloader’…
FAILED (remote: No such partition.)
finished. total time: 0.016s
target reported max download size of 524288000 bytes sending ‘ptable’ (196 KB)…
OKAY [ 0.018s]
writing ‘ptable’…
FAILED (remote: Error flashing partition.) finished. total time: 0.020s target reported max download size of 524288000 bytes sending ‘fastboot’ (3346 KB)…
OKAY [ 0.214s]
writing ‘fastboot’…
OKAY [ 0.121s]
finished. total time: 0.335s
rebooting into bootloader…
OKAY [ 0.001s]
finished. total time: 0.051s
< waiting for device > The process of the fastboot interrupted in the middle of it and I got this output
target reported max download size of 524288000 bytes sending ‘xloader’ (151 KB)…
OKAY [ 0.013s]
writing ‘xloader’…
FAILED (remote: No such partition.)
finished. total time: 0.016s
target reported max download size of 524288000 bytes sending ‘ptable’ (196 KB)…
OKAY [ 0.018s]
writing ‘ptable’…
FAILED (remote: Error flashing partition.) finished. total time: 0.020s target reported max download size of 524288000 bytes sending ‘fastboot’ (3346 KB)…
OKAY [ 0.214s]
writing ‘fastboot’…
OKAY [ 0.121s]
finished. total time: 0.335s
rebooting into bootloader…
OKAY [ 0.001s]
finished. total time: 0.051s
< waiting for device >
I have tried to recover the board by using the recovery mode.
However, there is no “ttyUSB devices” available after connecting the MicroUSB to my Host PC and powering the board on.
Here is my dmeg log.
[72124.769092] usb 7-1: new full-speed USB device number 19 using uhci_hcd
[72124.924204] usb 7-1: New USB device found, idVendor=12d1, idProduct=3609, bcdDevice= 0.00
[72124.924210] usb 7-1: New USB device strings: Mfr=1, Product=4, SerialNumber=0
[72124.924215] usb 7-1: Product: \xffffffe3\xffffff84\xffffffb0㌲㔴㜶㤸
[72124.924219] usb 7-1: Manufacturer: 䕇䕎䥎
I connected UART YP-01 adapter to the HiKey board’s DGND, UART3_RX, UART3_TX to my Host PC
|J1802-01|DGND|
|J1802-13|UART3_RX|
|J1802-11|UART3_TX|
And got the following dmegs
[73208.325204] usb 7-2: new full-speed USB device number 20 using uhci_hcd
[73208.484366] usb 7-2: New USB device found, idVendor=067b, idProduct=2303, bcdDevice= 3.00
[73208.484373] usb 7-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[73208.484377] usb 7-2: Product: USB-Serial Controller
[73208.484381] usb 7-2: Manufacturer: Prolific Technology Inc.
[73208.486516] pl2303 7-2:1.0: pl2303 converter detected
[73208.498664] usb 7-2: pl2303 converter now attached to ttyUSB0
So now I get ttyUSB0 through the UART
Using this readme “Board Recovery for HiKey960 - 96Boards”
I have tried to recover the board but unsuccessful. I get the following output after running
sudo ./hikey_idt -c config -p /dev/ttyUSB0
this command
Config name: config
Port name: /dev/ttyUSB0
0: Image: hisi-sec_usb_xloader.img Downalod Address: 0x20000
1: Image: hisi-sec_uce_boot.img Downalod Address: 0x6a908000
2: Image: recovery.bin Downalod Address: 0x1ac00000
Serial port open successfully!
Start downloading hisi-sec_usb_xloader.img@0x20000…
file total size 99584
downlaod address 0x20000
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
retry: ack 0, len 0, err 5
retry: ack 0, len 0, err 5
retry: ack 0, len 0, err 5
retry: ack 0, len 0, err 5
retry: ack 0, len 0, err 5
retry: ack 0, len 0, err 5
retry: ack 0, len 0, err 5
retry: ack 0, len 0, err 5
retry: ack 0, len 0, err 5
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
I tried another way by this link (https://android.googlesource.com/device/linaro/hikey/+/master/installer/hikey/README)
after running “./flash-all.sh /dev/ttyUSB0” or “./flash-all.sh /dev/ttyUSB0 [4g]” comands I get this output.
android out dir:./…/…/…/…/…/
< waiting for device >
Could you please help to get these issues solwed.
Regards,
Artur