All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carlo Caione <ccaione@baylibre.com>
To: E Shattow <e@freeshell.de>
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>,
	 Ahmad Fatoum <a.fatoum@barebox.org>,
	David Lechner <dlechner@baylibre.com>,
	 Julien Masson <jmasson@baylibre.com>,
	Vitor Sato Eschholz <vsatoes@baylibre.com>,
	 Ilias Apalodimas <ilias.apalodimas@linaro.org>,
	Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org>,
	Quentin Schulz <quentin.schulz@cherry.de>,
	Marek Vasut <marek.vasut+renesas@mailbox.org>,
	 Johan Jonker <jbx6244@gmail.com>,
	Jonas Karlman <jonas@kwiboo.se>, Randolph Sapp <rs@ti.com>,
	Daniel Golle <daniel@makrotopia.org>,
	James Hilliard <james.hilliard1@gmail.com>,
	 Aristo Chen <aristo.chen@canonical.com>,
	Peng Fan <peng.fan@nxp.com>, Vincent Jardin <vjardin@free.fr>,
	 Peter Robinson <pbrobinson@gmail.com>,
	u-boot@lists.u-boot-project.org
Subject: Re: [PATCH v3 1/5] efi_loader: bootmgr: preserve a passed devicetree
Date: Wed, 7 Oct 2026 11:30:46 +0200	[thread overview]
Message-ID: <asYMDZzyE1EPSSOE@macbook.tail959722.ts.net> (raw)
In-Reply-To: <773e462f-7296-4b21-b090-ff1f27c10f6e@freeshell.de>

On Mon, Sep 28, 2026 at 15:00:03 +0100, E Shattow wrote:
 
> I understand the need for what you describe, however the method of doing
> this is also not clear for me.
> 
> When I have encountered this situation the workaround was to invalidate
> the 'model' compatible property in the tree to prevent a later match and
> whatever process from installing a different Fdt than what I wrote on
> the 'bootefi' command invocation in U-Boot.
> 
> An example of this is the Debian Linux 'mini.efi' netinst
> debian-installer on riscv64 architecture. The 'mini.efi' contains dtb
> information for multiple targets, and there is not much configuration
> choice about this. It would be useful to suppress the Fdt passing logic
> that occurs through EFI, to mask any of the model compatible (possible
> using u-boot 'fdt' command), Fdt, and fdtfile name.
> 
> I would like to see actual examples of why this series is needed.

Hi E,

The case I want to support with this work is booting an unmodified
generic EFI distribution from SD while supplying the board DT and
overlays from firmware storage on eMMC (this is a very specific use-case
but you get the gist).

The FIT describes the supported combinations and, with required
configuration signatures, authenticates the selected combination
independently of the OS image.

About the mini.efi objection, I think that is the same distinction
previously discussed with Simon for GRUB (see [0]): this series controls
the DT U-Boot initially supplies, but cannot prevent an EFI application
from subsequently replacing it.

Basically Patch 1 addresses replacement inside U-Boot, before the EFI
application starts but it does not force subsequent EFI software to
retain it.

Let me know your thought about this,

cheers!

[0] https://lore.kernel.org/all/CADh8LscEUi5kvGQ28GErjEM=WvQ=6t0p5Kh30jQ-S8ZapG8yrw@mail.gmail.com/

--
Carlo Caione

  reply	other threads:[~2026-10-07  9:32 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-03 13:09 [PATCH v3 0/5] firmware-owned devicetree for EBBR / SystemReady DeviceTree Carlo Caione
2026-09-03 13:09 ` [PATCH v3 1/5] efi_loader: bootmgr: preserve a passed devicetree Carlo Caione
2026-09-28 18:45   ` Heinrich Schuchardt
2026-09-28 20:33     ` Carlo Caione
2026-09-28 22:00       ` E Shattow
2026-10-07  9:30         ` Carlo Caione [this message]
2026-09-28 22:10       ` Heinrich Schuchardt
2026-09-03 13:09 ` [PATCH v3 2/5] boot: add a firmware-owned devicetree source Carlo Caione
2026-09-28 17:12   ` Simon Glass
2026-09-03 13:09 ` [PATCH v3 3/5] bootmeth: efi: use the firmware-owned devicetree Carlo Caione
2026-09-28 17:12   ` Simon Glass
2026-09-03 13:09 ` [PATCH v3 4/5] efi_loader: bootmgr: install " Carlo Caione
2026-09-08  8:37   ` Ilias Apalodimas
2026-09-08  9:09     ` Carlo Caione
2026-09-08  9:50       ` Ilias Apalodimas
2026-09-08 10:05         ` Carlo Caione
2026-09-28 17:12   ` Simon Glass
2026-09-03 13:09 ` [PATCH v3 5/5] test: boot: add firmware-FDT source tests Carlo Caione
2026-09-28 17:12   ` Simon Glass
2026-09-22  8:05 ` [PATCH v3 0/5] firmware-owned devicetree for EBBR / SystemReady DeviceTree Carlo Caione
2026-09-28 17:14   ` Simon Glass
2026-09-28 17:12 ` [v3, " Simon Glass
2026-09-28 22:10 ` [PATCH v3 " Heinrich Schuchardt
2026-09-28 22:20   ` Heinrich Schuchardt
2026-10-07 12:07     ` Carlo Caione
2026-10-07 12:02   ` Carlo Caione

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=asYMDZzyE1EPSSOE@macbook.tail959722.ts.net \
    --to=ccaione@baylibre.com \
    --cc=a.fatoum@barebox.org \
    --cc=aristo.chen@canonical.com \
    --cc=daniel@makrotopia.org \
    --cc=dlechner@baylibre.com \
    --cc=e@freeshell.de \
    --cc=ilias.apalodimas@linaro.org \
    --cc=james.hilliard1@gmail.com \
    --cc=jbx6244@gmail.com \
    --cc=jmasson@baylibre.com \
    --cc=jonas@kwiboo.se \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=pbrobinson@gmail.com \
    --cc=peng.fan@nxp.com \
    --cc=quentin.schulz@cherry.de \
    --cc=rs@ti.com \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.u-boot-project.org \
    --cc=vjardin@free.fr \
    --cc=vsatoes@baylibre.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.