Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Sep 2018 16:34:22 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Rebecca Cran <rebecca@bluestop.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: FreeBSD EFI projects
Message-ID:  <CAPyFy2DayNJ41e-k2ESoxwKRqfThhxtBB%2BOuJC5-LC6vSSZobA@mail.gmail.com>
In-Reply-To: <CANCZdfqP3qh-V916d8wyLiKL-Yj_5OBJ05n_85dURsTQbBMHQA@mail.gmail.com>
References:  <1dbeee10-857e-7fb2-dac2-1047353739ba@bluestop.org> <CANCZdfpWQyR3KRKYjNRoxzJ1uEEXgT4LPQzgguLMjY=dMMcE%2Bg@mail.gmail.com> <3ce6e6cb-a608-2969-09d4-201df07df586@bluestop.org> <CANCZdfqP3qh-V916d8wyLiKL-Yj_5OBJ05n_85dURsTQbBMHQA@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

On 17 September 2018 at 14:17, Warner Losh <imp@bsdimp.com> wrote:
> Items on my list are:
>
> (1) Retiring boot1.efi entirely before 13.0. It was originally designed to
> be a small, never changing blob we'd toss into an ESP and have all the
> smarts in loader.efi.

I'd go further than this: it was originally designed as a stopgap to
have FreeBSD work in an EFI world when we didn't support the standard
UEFI interfaces and did not have a straightforward way for loader.efi
to find its script/configuration files in a different partition or
filesystem. As far as I recall it was never intended to be a permanent
part of the UEFI boot process.

We'll probably reacquire a small first-stage UEFI boot component: the
UEFI Secure Boot shim loader. But it can load loader.efi from the ESP
and won't be used outside of Secure Boot configurations.

> Moving to a
> 'standard' setup for EFI would be a good first step, as well as having a
> script to do this both for when the ESP is mounted in a non-standard place,
> as well as for when it's not mounted.

I'm not sure how far we have to go in catering to non-standard
configurations. I completely agree we should have a standard EFI
configuration and should support seamless upgrades in that
configuration. For other cases I'd personally just ensure we've fully
documented the components and processes.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2DayNJ41e-k2ESoxwKRqfThhxtBB%2BOuJC5-LC6vSSZobA>