mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: fpg@pengutronix.de, chalianis1@gmail.com,
	Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH RFT 0/4] efi: payload: allow extension via fragments
Date: Wed, 26 Aug 2026 14:15:28 +0200	[thread overview]
Message-ID: <20260826121640.2936023-1-a.fatoum@pengutronix.de> (raw)

CONFIG_EXTERNAL_DTS_FRAGMENTS can't be used with the EFI payload, because
it has no internal DT at build-time and until recently not even a DT at
runtime.

This series adds the necessary bits to have this work the same on
non-EFI-payload platforms.

@Fabian, can you give this a test?

Ahmad Fatoum (4):
  efi: payload: ignore ESP state.dtb if device tree is populated
  kbuild: dtc: introduce empty fallback device tree
  efi: payload: export device tree in barebox-dtb EFI variable
  Documentation: efi: describe device tree handling

 Documentation/boards/efi.rst | 75 ++++++++++++++++++++++++++++++++++--
 Documentation/user/state.rst |  5 +++
 arch/arm/dts/Makefile        |  2 +
 arch/riscv/dts/Makefile      |  2 +
 arch/x86/Kbuild              |  2 +
 arch/x86/dts/Makefile        |  5 +++
 common/fallback.dts          | 10 +++++
 efi/payload/boarddata.c      | 11 ------
 efi/payload/fdt.c            | 53 +++++++++++++++++++++++++
 efi/payload/handover.c       |  2 +
 efi/payload/image.c          |  2 +
 efi/payload/init.c           | 16 ++++++++
 include/efi/payload.h        |  6 +++
 scripts/Makefile.dtbs        | 10 +++++
 14 files changed, 186 insertions(+), 15 deletions(-)
 create mode 100644 arch/x86/dts/Makefile
 create mode 100644 common/fallback.dts

-- 
2.47.3




             reply	other threads:[~2026-08-26 12:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-26 12:15 Ahmad Fatoum [this message]
2026-08-26 12:15 ` [PATCH RFT 1/4] efi: payload: ignore ESP state.dtb if device tree is populated Ahmad Fatoum
2026-08-26 12:15 ` [PATCH RFT 2/4] kbuild: dtc: introduce empty fallback device tree Ahmad Fatoum
2026-08-26 12:15 ` [PATCH RFT 3/4] efi: payload: export device tree in barebox-dtb EFI variable Ahmad Fatoum
2026-08-26 12:15 ` [PATCH RFT 4/4] Documentation: efi: describe device tree handling Ahmad Fatoum
2026-08-26 22:56 ` [PATCH RFT 0/4] efi: payload: allow extension via fragments chalianis1
2026-08-27  7:31   ` Ahmad Fatoum

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=20260826121640.2936023-1-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=chalianis1@gmail.com \
    --cc=fpg@pengutronix.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