From: Yao Zi <me@ziyao.cc>
To: Umut Tezduyar Lindskog <umut@tezduyar.com>,
u-boot@lists.u-boot-project.org
Cc: Yao Zi <me@ziyao.cc>
Subject: Re: U-Boot UEFI implementation vs EDK II UEFI Payload
Date: Wed, 21 Oct 2026 12:35:21 +0000 [thread overview]
Message-ID: <atixibbQNFPiLJ57@pie> (raw)
In-Reply-To: <CAFKnvs4jwfemfGE0i0zvg3LyjePU0KZU_1fb68PVeOBD+nqZDw@mail.gmail.com>
On Tue, Oct 20, 2026 at 02:15:44PM +0200, Umut Tezduyar Lindskog wrote:
> Hi,
>
> I have been looking into U-Boot’s UEFI implementation and trying to
> understand some of the architectural decisions behind it.
>
> I noticed that EDK II has a UefiPayloadPkg component, which is intended to
> provide UEFI services on top of an existing bootloader. This made me
> curious why U-Boot maintains its own UEFI implementation rather than using
> EDK II’s.
>
> I am not suggesting that one approach is better than the other. I am just
> trying to understand the history and the trade-offs.
>
> I have a few questions:
>
> 1. Was integrating EDK II’s UefiPayloadPkg ever considered for U-Boot? If
> so, what were the main reasons for choosing a native implementation?
> 2. What are the main advantages of U-Boot’s native UEFI implementation
> compared to using EDK II? Is it primarily about binary size, complexity,
> dependencies, or having better control over the implementation?
A point which I could come up with, is that one doesn't need to
re-implement drivers already available in U-Boot on EDK2 with U-Boot
EFI. And porting drivers from Linux to U-Boot would be easier than
targetting EDK2, I think.
And personally speaking, to me it's easier to work with U-Boot :)
> 3. Are there any significant disadvantages to maintaining a separate UEFI
> implementation? For example, keeping up with UEFI specifications,
> compatibility with EFI applications, or implementing features such as
> Secure Boot.
> 4. Would there be any technical advantages to using EDK II’s UefiPayloadPkg
> on top of U-Boot today (instead of it's own UEFI implementation)?
>
> I realize some of these questions might have obvious answers for people
> familiar with U-Boot’s history. I am mainly interested in understanding the
> design decisions and the reasoning behind having two independent
> implementations.
>
> Thanks!
> Umut
Regards,
Yao Zi
prev parent reply other threads:[~2026-10-21 12:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-20 12:15 U-Boot UEFI implementation vs EDK II UEFI Payload Umut Tezduyar Lindskog
2026-10-20 20:26 ` Tom Rini
2026-10-21 12:35 ` Yao Zi [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=atixibbQNFPiLJ57@pie \
--to=me@ziyao.cc \
--cc=u-boot@lists.u-boot-project.org \
--cc=umut@tezduyar.com \
/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.