[U-Boot] [RFC] efi_loader: Add test to boot OpenBSD's efi bootloader
robdclark at gmail.com
Thu Aug 10 10:41:46 UTC 2017
On Wed, Aug 9, 2017 at 11:43 PM, Jonathan Gray <jsg at jsg.id.au> wrote:
> 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".
Excellent.. I'll update my patch and give this a spin today.
More information about the U-Boot