public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v1 0/2] SPL EBBR - EFI System Partition support
@ 2023-09-14 10:08 Mayuresh Chitale
  2023-09-14 10:08 ` [PATCH v1 1/2] part: Add a function to find ESP partition Mayuresh Chitale
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Mayuresh Chitale @ 2023-09-14 10:08 UTC (permalink / raw)
  To: u-boot
  Cc: Mayuresh Chitale, Simon Glass, Heinrich Schuchardt, Sean Anderson,
	Tom Rini

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


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

end of thread, other threads:[~2023-09-21 15:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-14 10:08 [PATCH v1 0/2] SPL EBBR - EFI System Partition support Mayuresh Chitale
2023-09-14 10:08 ` [PATCH v1 1/2] part: Add a function to find ESP partition Mayuresh Chitale
2023-09-14 16:29   ` Tom Rini
2023-09-21 11:35     ` mchitale
2023-09-14 10:08 ` [PATCH v1 2/2] spl: Add support for booting from ESP Mayuresh Chitale
2023-09-14 16:29   ` Tom Rini
2023-09-21 11:33     ` mchitale
2023-09-21 15:43       ` Tom Rini
2023-09-14 14:15 ` [PATCH v1 0/2] SPL EBBR - EFI System Partition support Heinrich Schuchardt
2023-09-14 14:36   ` Sean Anderson

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