public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v3 0/2] SPL EBBR - EFI System Partition support
@ 2024-01-22 11:10 Mayuresh Chitale
  2024-01-22 11:10 ` [PATCH v3 1/2] part: Add a function to find ESP partition Mayuresh Chitale
  2024-01-22 11:10 ` [PATCH v3 2/2] spl: Add support for booting from ESP Mayuresh Chitale
  0 siblings, 2 replies; 4+ messages in thread
From: Mayuresh Chitale @ 2024-01-22 11:10 UTC (permalink / raw)
  To: u-boot
  Cc: Mayuresh Chitale, Simon Glass, Heinrich Schuchardt, Bin Meng,
	Johan Jonker, Joshua Watt, Tobias Waldekranz, Marek Vasut,
	Sean Anderson, Marek Vasut, Andre Przywara, Oleksandr Suvorov,
	Xavier Drudis Ferran

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-03-01 23:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-22 11:10 [PATCH v3 0/2] SPL EBBR - EFI System Partition support Mayuresh Chitale
2024-01-22 11:10 ` [PATCH v3 1/2] part: Add a function to find ESP partition Mayuresh Chitale
2024-01-22 11:10 ` [PATCH v3 2/2] spl: Add support for booting from ESP Mayuresh Chitale
2024-03-01 23:33   ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox