]> git.dujemihanovic.xyz Git - u-boot.git/commit
boot: correct finding the default EFI binary
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 3 Apr 2024 21:39:48 +0000 (23:39 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 8 Apr 2024 11:05:21 +0000 (13:05 +0200)
commit92f4cb6f9ac36242826186593fddec3c53ef1dbe
tree1635d081de2381e4dcf38418d1b61589851554d2
parenta0a749787aa4cebd8a1b919ee04cc8f450796fcb
boot: correct finding the default EFI binary

* The sandbox must not use an arbitrary file name bootsbox.efi but the
  file name matching the host architecture to properly boot the respective
  file. We already have an include which provides a macro with the name of
  the EFI binary. Use it.

* The path to the EFI binary should be absolute.

* The path and the file name must be capitalized to conform to the UEFI
  specification. This is important when reading from case sensitive
  file systems.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Tested-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
boot/bootmeth_efi.c
test/boot/bootflow.c