Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2022 23:18:57 -0700
From:      "Simon J. Gerraty" <sjg@juniper.net>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Pete Wright <pete@nomadlogic.org>, Stefan Esser <se@freebsd.org>, "FreeBSD Current" <freebsd-current@freebsd.org>, Yasuhiro Kimura <yasu@freebsd.org>, Oleg Lelchuk <oleglelchuk@gmail.com>, <sjg@juniper.net>
Subject:   Re: Updating EFI boot loader results in boot hangup
Message-ID:  <16144.1660803537@kaos.jnpr.net>
In-Reply-To: <CANCZdfqgQ9ufhaBZ-FRjOAnFQtGJVtVoO4%2BJYgCU3eH_QExDqg@mail.gmail.com>
References:  <20220814.095721.849461222067829352.yasu@FreeBSD.org> <CA%2BGqWgsMYEp4goeLBO4%2BufDU_ap5Opmf4udL_WSd-NZU1Q3dog@mail.gmail.com> <CANCZdfp4Har%2BrLV5kg94EWO_Uc767K7ga9AKLTznvqoC2JvQXw@mail.gmail.com> <20220814.110850.1703361053728529792.yasu@FreeBSD.org> <CA%2BGqWguOkHegLmijD2BAYhj7t9qCVY%2BmYNLN1_tJGp%2Bi=mNn6g@mail.gmail.com> <45007308-136a-8938-33d0-bb2509ee6ae7@FreeBSD.org> <20220814192609.wyfcogl3dwzteuva@colony.nomadlogic.org> <CANCZdfqgQ9ufhaBZ-FRjOAnFQtGJVtVoO4%2BJYgCU3eH_QExDqg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh <imp@bsdimp.com> wrote:
> I think I broke it with my latest updates. I don't have a good ZFS testi=
ng setup
> so I'm spending a little time enhancing the bootable image generator to =
have
> one that I can easily test boot with qemu.

FWIW bhyve is *excellent* for mucking about with EFI and loader in general=
.

I did all the UEFI support for Junos using bhyve (initially so I could
test LOADER_VERIEXEC), and I regurlarly use it to test various install
processes - pxe boot and net install, usb install, etc.

I build loader.efi from a branch off main, everyting else is from
stable/12 at present.

The combination of makefs, mkimg and bhyve - make hacking the low level
boot bits much safer.

Byhve is quick too - my Junos VM's take about 40-50s from start to login
prompt.

--sjg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16144.1660803537>