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


             reply	other threads:[~2024-01-22 11:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-22 11:10 Mayuresh Chitale [this message]
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

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=20240122111022.229805-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