Make EFI/BOOT/BOOTRISCV64.EFI autostart
JohnAZoidberg opened this issue · 6 comments
See: #7 (comment)
Not sure what's required for this. The filename is correct and MdePkg/Include/Uefi/UefiSpec.h
already has it.
We include BdsDxe
in our image. Not sure what conditions it needs to trigger it.
Can you please help with this, @changab?
As a workaround you can create startup.nsh
with the content: FS0:\EFI\BOOT\BOOTRISCV64.EFI
. cc @kallisti5
Hmm, same thought here. We already have bootriscv64.efi defined in UEfiSpec.h. Boot manager suppose will find the boot image from the storage automatically. Have to check it.
DSC is here: https://github.com/riscv/riscv-edk2-platforms/tree/riscv-virt-540-mod/tree/master/v/edk2-platform-riscv/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc
FDF is here: https://github.com/riscv/riscv-edk2-platforms/blob/riscv-virt-540-mod/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.fdf
It sounds like you need to configure the BootOrder.
Yep, correct. With BoorOrder
set to 2 it works.