freebsd-dev/sys/boot/efi
Steven Hartland 89b50f6b4d Fix EFI multi device boot support
Fix EFI boot support when presented with multiple valid boot partitions
across multiple devices.

It now prefers to boot from partitions that are present on the underlying
device that the boot1 image was loaded from. This means that it will boot
from the partitions on device the user chose from EFI boot menu in
preference to those on other devices.

Also fixed is the recovery from a failed attempt to boot, from a seemingly
valid partition, by continuing to trying all other available partitions
no matter what the error.

boot1 now use * to signify a partition what was accepted from the preferred
device and + otherwise.

Finally some error messages where improved and DPRINTF's with slowed boot
to aid debugging.

ZFS will still be preferred over UFS when both are available on the boot
device.

Reviewed by:	imp
MFC after:	1 week
Sponsored by:	Multiplay
Differential Revision:	https://reviews.freebsd.org/D5108
2016-02-05 15:35:33 +00:00
..
boot1 Fix EFI multi device boot support 2016-02-05 15:35:33 +00:00
fdt Revert r293903 2016-01-14 18:46:57 +00:00
include Fix EFI multi device boot support 2016-02-05 15:35:33 +00:00
libefi Still open the network interface when EFI_OPEN_PROTOCOL_EXCLUSIVE failed. 2016-02-03 14:34:25 +00:00
loader Parse the command line arguments, and do it before we initialize the 2016-01-26 06:26:46 +00:00
Makefile Only build EFI components on supported compilers 2016-01-14 18:53:54 +00:00
Makefile.inc Use CFLAGS_NO_SIMD in preference to varying lists of -mno-xxxx flags. 2015-08-27 23:46:42 +00:00