public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Mayuresh Chitale <mchitale@ventanamicro.com>
Cc: u-boot@lists.denx.de, Simon Glass <sjg@chromium.org>,
	Sean Anderson <seanga2@gmail.com>, Marek Vasut <marex@denx.de>,
	Andre Przywara <andre.przywara@arm.com>,
	Oleksandr Suvorov <oleksandr.suvorov@foundries.io>,
	Heinrich Schuchardt <xypron.glpk@gmx.de>,
	Xavier Drudis Ferran <xdrudis@tinet.cat>,
	Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Subject: Re: [PATCH v3 2/2] spl: Add support for booting from ESP
Date: Fri, 1 Mar 2024 18:33:30 -0500	[thread overview]
Message-ID: <20240301233330.GA1496871@bill-the-cat> (raw)
In-Reply-To: <20240122111022.229805-3-mchitale@ventanamicro.com>

[-- Attachment #1: Type: text/plain, Size: 1425 bytes --]

On Mon, Jan 22, 2024 at 04:40:22PM +0530, Mayuresh Chitale wrote:

> Some platforms as described by EBBR specification may store images in
> the FIRMWARE directory of the UEFI system partition(ESP). Add support
> to boot from the EFI system partition if it is enabled for a platform.
> 
> Signed-off-by: Mayuresh Chitale <mchitale@ventanamicro.com>
> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
[snip]
> diff --git a/common/spl/Kconfig b/common/spl/Kconfig
> index cf7ffc9b112..48e4e43196a 100644
> --- a/common/spl/Kconfig
> +++ b/common/spl/Kconfig
> @@ -1292,6 +1292,14 @@ config SPL_SATA_RAW_U_BOOT_SECTOR
>  	  Sector on the SATA disk to load U-Boot from, when the SATA disk is being
>  	  used in raw mode. Units: SATA disk sectors (1 sector = 512 bytes).
>  
> +config SPL_ESP_BOOT
> +	bool "Load next stage boot image from the UEFI system partition"
> +	default y if BOOT_DEFAULTS
> +	select SPL_PARTITION_TYPE_GUID
> +	help
> +	  When enabled, first try to boot from the UEFI system partition as
> +	  described in the Ch.4 of the EBBR specification.
> +
>  config SPL_NVME
>  	bool "NVM Express device support"
>  	depends on BLK

This introduces:
WARNING: unmet direct dependencies detected for SPL_PARTITION_TYPE_GUID
  Depends on [n]: SPL_EFI_PARTITION [=n]
  Selected by [y]:
  - SPL_ESP_BOOT [=y] && SPL [=y]

On for example coreboot64.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

      reply	other threads:[~2024-03-01 23:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

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=20240301233330.GA1496871@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=andre.przywara@arm.com \
    --cc=heinrich.schuchardt@canonical.com \
    --cc=marex@denx.de \
    --cc=mchitale@ventanamicro.com \
    --cc=oleksandr.suvorov@foundries.io \
    --cc=seanga2@gmail.com \
    --cc=sjg@chromium.org \
    --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