[PATCH v1 0/2] SPL EBBR - EFI System Partition support

Mayuresh Chitale mchitale at ventanamicro.com
Thu Sep 14 12:08:19 CEST 2023


This series adds support to locate an EFI System Partition on a disk and
boot the next stage from such a parition if found. The next stage image
is expected to be under the FIRMWARE directory as described in the EBBR
specification [1]. Also update the spl_blk_fs and spl_fat drivers to
prefer booting from ESP and fall back to the configured parition in
case of a failure.

These patches are built on top of the following series from Sean Anderson:
https://lists.denx.de/pipermail/u-boot/2023-August/525665.html

[1] : https://github.com/ARM-software/ebbr/blob/854ba0e68590102667b84a5ba4e0b076a3f5f2cb/source/chapter4-firmware-media.rst

The patches are also present in the branch below:
https://github.com/mdchitale/u-boot/tree/mchitale_spl_ebbr_v1

Mayuresh Chitale (2):
  part: Add a function to find ESP partition
  spl: Add support for booting from ESP

 common/spl/Kconfig      |  7 +++++
 common/spl/spl_blk_fs.c | 61 +++++++++++++++++++++++++++++------------
 common/spl/spl_fat.c    | 34 ++++++++++++++++++++---
 disk/part.c             | 16 +++++++++++
 include/part.h          | 10 +++++++
 5 files changed, 107 insertions(+), 21 deletions(-)

-- 
2.34.1



More information about the U-Boot mailing list