On Mon, Aug 10, 2015 at 3:27 PM, Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> wrote:
On 08/10/2015 09:18 AM, Jerome Forissier wrote:
> Hi,
>
> I need some help with EDK2 on HiKey (1). After updating my hikey_optee
> project (2) with the latest 96boards/edk2 (3), I can't boot anymore. Is
> Grub now required to boot Linux? It seems that boot menu entries are
> hardcoded in (4), or am I missing something?. I could not really tell by
> reviewing the commit logs. Well in any case I'm getting the following menu:
>
> ~~~~~~~~
>  Fail to start BootNext.
>  The default boot selection will start in   1 seconds
>  [1] fastboot
>  [2] grub on eMMC
>  [3] grub on SD
>  [4] Shell
>  [5] Boot Manager
>  Start:
> ~~~~~~~~
>
> Entries 1-3 seem to do nothing, and just return to the same menu.


Entry 1 should take you to fastboot mode.
Once in fastboot mode you should be able to just follow the instructions
documented here [1] to flash the binaries to the target's eMMC from your
development host.
[1] https://github.com/96boards/documentation/wiki/HiKeyUEFI

is this what is failing for you?

Ah, thanks for pointing me to the wiki -- I realized I had not copied the fastboot binary as 'fastboot.efi' to the boot partition.
It's nice to be able to boot into fastboot directly with J15 5-6 closed, and avoid going through recovery mode.

-- 
Jerome