public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Mayuresh Chitale <mchitale@ventanamicro.com>
To: Simon Glass <sjg@chromium.org>, Sean Anderson <seanga2@gmail.com>,
	Andre Przywara <andre.przywara@arm.com>,
	Marek Vasut <marex@denx.de>,
	Oleksandr Suvorov <oleksandr.suvorov@foundries.io>,
	Heinrich Schuchardt <xypron.glpk@gmx.de>,
	Xavier Drudis Ferran <xdrudis@tinet.cat>,
	Bin Meng <bmeng@tinylab.org>,
	Tobias Waldekranz <tobias@waldekranz.com>,
	Johan Jonker <jbx6244@gmail.com>,
	Joshua Watt <jpewhacker@gmail.com>,
	Marek Vasut <marek.vasut+renesas@mailbox.org>
Cc: Mayuresh Chitale <mchitale@ventanamicro.com>, u-boot@lists.denx.de
Subject: [PATCH v2 0/2] SPL EBBR - EFI System Partition support
Date: Tue, 16 Jan 2024 18:06:41 +0530	[thread overview]
Message-ID: <20240116123643.563412-1-mchitale@ventanamicro.com> (raw)

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 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 | 51 ++++++++++++++++++++++++++++++-----------
 common/spl/spl_fat.c    | 34 +++++++++++++++++++++++----
 disk/part.c             | 16 +++++++++++++
 include/part.h          | 11 +++++++++
 5 files changed, 102 insertions(+), 18 deletions(-)

-- 
2.34.1


             reply	other threads:[~2024-01-16 12:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-16 12:36 Mayuresh Chitale [this message]
2024-01-16 12:36 ` [PATCH v2 1/2] part: Add a function to find ESP partition Mayuresh Chitale
2024-01-16 13:45   ` Heinrich Schuchardt
2024-01-16 16:14     ` Heinrich Schuchardt
2024-01-19 15:32       ` mchitale
2024-01-22  9:15     ` Mayuresh Chitale
2024-01-17  1:13   ` Sean Anderson
2024-01-22  9:15     ` Mayuresh Chitale
2024-01-16 12:36 ` [PATCH v2 2/2] spl: Add support for booting from ESP Mayuresh Chitale
2024-01-16 13:39   ` Heinrich Schuchardt
2024-01-22  9:08     ` Mayuresh Chitale

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240116123643.563412-1-mchitale@ventanamicro.com \
    --to=mchitale@ventanamicro.com \
    --cc=andre.przywara@arm.com \
    --cc=bmeng@tinylab.org \
    --cc=jbx6244@gmail.com \
    --cc=jpewhacker@gmail.com \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=marex@denx.de \
    --cc=oleksandr.suvorov@foundries.io \
    --cc=seanga2@gmail.com \
    --cc=sjg@chromium.org \
    --cc=tobias@waldekranz.com \
    --cc=u-boot@lists.denx.de \
    --cc=xdrudis@tinet.cat \
    --cc=xypron.glpk@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox