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

Mayuresh Chitale mchitale at ventanamicro.com
Mon Jan 22 12:10:20 CET 2024


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.

Changes in v3:
- Revert fallback change from v2
- Fix part_get_esp signature and header in part.h
- Add RB tag

Changes in v2:
- Rebase on latest next branch
- Enable SPL_ESP_BOOT by default
- For NVMe boot, remove fallback in case of ESP boot failure

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

 common/spl/Kconfig      |  8 ++++++
 common/spl/spl_blk_fs.c | 60 ++++++++++++++++++++++++++++++-----------
 common/spl/spl_fat.c    | 34 ++++++++++++++++++++---
 disk/part.c             | 16 +++++++++++
 include/part.h          | 13 +++++++++
 5 files changed, 111 insertions(+), 20 deletions(-)

-- 
2.34.1



More information about the U-Boot mailing list