[U-Boot] [RFC] efi_loader: Add test to boot OpenBSD's efi bootloader
Jonathan Gray
jsg at jsg.id.au
Thu Aug 10 03:43:24 UTC 2017
On Sun, Aug 06, 2017 at 03:06:17PM -0400, Rob Clark wrote:
> On Sun, Aug 6, 2017 at 2:54 PM, Mark Kettenis <mark.kettenis at xs4all.nl> wrote:
> >> From: Rob Clark <robdclark at gmail.com>
> >> Date: Sun, 6 Aug 2017 12:10:28 -0400
> >>
> >> Signed-off-by: Rob Clark <robdclark at gmail.com>
> >> ---
> >> Kinda works, but since we don't have an 'exit' command like grub, we
> >> have to reboot, which leaves the "board" in a bad state (I guess,
> >> since the next test fails). I haven't tackled the travis bits to get
> >> travis to download OpenBSD's bootloader, or other little details like
> >> that.
> >
> > What does the grub "exit" command do? Simply call EFI_BOOT_SERVICE.Exit()?
> > Wouldn't be too difficult for me to add a command that does this.
>
> Yeah, I think just calls BS->Exit().. that would be quite useful.
Mark committed the change for this and snapshots now have "machine exit"
and "machine poweroff".
https://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/BOOTARM.EFI
https://ftp.openbsd.org/pub/OpenBSD/snapshots/arm64/BOOTAA64.EFI
More information about the U-Boot
mailing list