After UEFI the board doesnt go to fastboot mode


#1

I did the UEFi steps, and now I want to flash linux , but the board doesnt answer to F in the boot process.
This is my log about writing fastboot :

…[Bds]Booting Boot from SD
[Bds]Booting Grub
[Bds]Booting Android Boot
add-symbol-file /home/buildslave/workspace/96boards-reference-uefi-staging/21/edk2/Build/HiKey960/DEBUG_GCC49/AARCH64/EmbeddedPkg/Application/AndroidBoot/AndroidBootApp/DEBUG/AndroidBootApp.dll 0xBA176000
Loading driver at 0x000BA175000 EntryPoint=0x000BA176000 AndroidBootApp.efi
Failed to get Abootimg Size: Invalid Parameter
Error: Image at 000BA175000 start failed: Invalid Parameter
remove-symbol-file /home/buildslave/workspace/96boards-reference-uefi-staging/21/edk2/Build/HiKey960/DEBUG_GCC49/AARCH64/EmbeddedPkg/Application/AndroidBoot/AndroidBootApp/DEBUG/AndroidBootApp.dll 0xBA176000
Image Return Status = Invalid Parameter
[Bds]Booting Android Fastboot
add-symbol-file /home/buildslave/workspace/96boards-reference-uefi-staging/21/edk2/Build/HiKey960/DEBUG_GCC49/AARCH64/EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp/DEBUG/AndroidFastbootApp.dll 0xBA173000
Loading driver at 0x000BA172000 EntryPoint=0x000BA173000 AndroidFastbootApp.efi
Android Fastboot mode - version 0.6.
Press RETURN or SPACE key to quit.
Fastboot platform: check for partition-type:ptable
Downloading 24576 bytes
24576 / 24576 bytes downloaded (100%)
Flashing partition ptable
Done.
Fastboot platform: check for partition-type:xloader
Downloading 154752 bytes
154752 / 154752 bytes downloaded (100%)
Flashing partition xloader
Done.
Fastboot platform: check for partition-type:fastboot
Downloading 1081344 bytes
1081344 / 1081344 bytes downloaded (100%)
Flashing partition fastboot
Done.
Fastboot platform: check for partition-type:fip
Downloading 1470504 bytes
1470504 / 1470504 bytes downloaded (100%)
Flashing partition fip
Done.


#2

Seems to me the booting sequence has entered “fastboot” mode, so don’t need input ‘F’ anymore; and you can flash kernel with command: fastboot flash boot boot.img


#3

No, the device are unable to flash anything in this state.
fastboot device shows nothing


#4

I encounter the same issue, anyone know how to fix it?

After I have done
sudo ./hikey_idt -c config -p /dev/ttyUSB1
and then press the f key, let it stop at:
Press ESCAPE for boot options UfsExecScsiCmds() fails with Target Failure
UfsExecScsiCmds() fails with Target Failure
UfsExecScsiCmds() fails with Target Failure
UfsExecScsiCmds() fails with Target Failure
.[Bds]Booting Android Fastboot
add-symbol-file /home/buildslave/workspace/96boards-reference-uefi-staging/25/edk2/Build/HiKey960/DEBUG_GCC49/AARCH64/EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp/DEBUG/AndroidFastbootApp.dll 0xBA172000
Loading driver at 0x000BA171000 EntryPoint=0x000BA172000 AndroidFastbootApp.efi
Android Fastboot mode - version 0.6.
Press RETURN or SPACE key to quit.

I found the fastboot can not found any devices.