At first, grub is now required to boot Linux.
In the second, all boot entries are always hardcoded even before grub integrated. Since someone may not have serial port to monitor, I have to create all boot entries by default. It could avoid hikey becoming brick by accident. But developer can change it. The key is 'autoboot' that you could find it in the wiki of hikey UEFI.
@ enable autoboot that will create all boot entries and boot automatically.
#sudo fastboot oem autoboot 1
@ disable autoboot
#sudo fastboot oem autoboot 0
If you disable the autoboot, you could add any boot entry by UEFI boot manager as you wish.
At last, don't change HiKey.dsc for creating any boot entry. It's not good.
Regards
Haojian
Date: Mon, 10 Aug 2015 15:18:12 +0200
From: jerome.forissier@linaro.org
To: dev@lists.96boards.org
Subject: [Dev] HiKey boot issue with recent 96boards/edk2_______________________________________________ Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/devHi,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 ManagerStart:~~~~~~~~Entries 1-3 seem to do nothing, and just return to the same menu. Prior to this, EDK2 would boot Linux immediately as en EFI application, thanks to some entries in HiKey.dsc (5), which now seems to be ignored (are they really? similar entries are still present in 96boards/hikey which tends to indicate they're not obsolete).What should I do to boot my kernel? I'd rather avoid adding Grub to the boot sequence, which is already complex enough IMHO, but I can of course do that if it is the recommended architecture. Now, if I could simply adjust my HiKey.dsc, that would be great...(4) https://github.com/96boards/edk2/blob/de234273/HisiPkg/HiKeyPkg/Drivers/HiKeyDxe/InstallBootMenu.cThanks,--Jerome