freebsd-nq/stand
Warner Losh 9958932695 Teach ufs_module.c about bsd labels and probe 'a' partition.
If the check for a UFS partition at offset 0 on the disk fails, check
to see if there's a BSD disklabel at block 1 (standard) or at offset
512 (install images assume 512 sector size). If found, probe for UFS
on the 'a' partition.

This fixes UEFI booting images from a BSD labeled MBR slice when the
'a' partiton isn't at offset 0. This is a stop-gap fix since we plan
on removing boot1.efi in FreeBSD 12. We can't easily do that for 11.2,
however, hence the short MFC window.

Tested by: emaste@
MFC After: 3 days
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D15598
2018-05-29 03:58:29 +00:00
..
arm Go back to one loader.conf 2018-02-26 03:16:47 +00:00
arm64 No need to make objects here. 2018-04-27 22:15:18 +00:00
common - Unbreak booting sparc64 kernels after the metadata unification in 2018-05-21 01:20:19 +00:00
defaults Default loader.conf: Drop efi_max_resolution to 1x1 2018-04-03 02:41:32 +00:00
efi Teach ufs_module.c about bsd labels and probe 'a' partition. 2018-05-29 03:58:29 +00:00
fdt Eliminate bsd.stand.mk and -fPIC 32-bit intel builds 2018-02-16 00:17:32 +00:00
ficl Prefer uintXX_t to u_intXX_t 2018-03-13 16:33:00 +00:00
ficl32
forth forthloader: Remove "EFI boot environment message" 2018-04-25 02:42:57 +00:00
geli Introduce the 'n' flag for the geli attach command. 2018-05-09 20:53:38 +00:00
i386 Add support for linker-type-specific flags 2018-04-19 20:58:09 +00:00
kshim A more definitions to kernel emulation shim in order to build stand/usb. 2018-02-07 18:50:36 +00:00
liblua Use M. Warner Losh everywhere on my copyrights. 2018-05-01 16:29:22 +00:00
liblua32 Add Lua as a scripting langauge to /boot/loader 2018-02-12 15:31:53 +00:00
libsa libsa: name is not used in dirmatch() 2018-04-07 14:42:47 +00:00
libsa32
lua Remove "All Rights Reserved" on files that I hold sole copyright on 2018-05-09 16:44:19 +00:00
man Clarify that boot_mute / boot -m mutes kernel console only 2018-05-16 02:15:18 +00:00
mips Remove d_type from devdesc. It's not needed as we can fetch it from 2018-03-12 21:39:59 +00:00
ofw - Unbreak booting sparc64 kernels after the metadata unification in 2018-05-21 01:20:19 +00:00
powerpc Prefer uintXX_t to u_intXX_t 2018-03-13 16:33:00 +00:00
sparc64 - Unbreak booting sparc64 kernels after the metadata unification in 2018-05-21 01:20:19 +00:00
uboot ubldr: Bump heap size from 512K to 1M 2018-03-14 02:35:49 +00:00
usb Move the stand/usb test loader into its own directory. 2018-02-07 19:20:59 +00:00
userboot Fix typo that misteriously passes compilation. 2018-03-13 22:54:29 +00:00
zfs Remove d_type from devdesc. It's not needed as we can fetch it from 2018-03-12 21:39:59 +00:00
zfs32
defs.mk Don't add links or cleanfiles for NO_OBJ case, in addition to not 2018-03-18 18:50:48 +00:00
fdt.mk
ficl.mk Now that we no longer conditionally compile some files outside of ficl 2018-02-02 15:01:54 +00:00
loader.mk stand: Fix copy-paste-o, unbreaks libi386 lualoader build 2018-03-09 14:16:33 +00:00
lua.mk Do not include float interfaces when using libsa. 2018-02-23 04:04:25 +00:00
Makefile Create LOADER_UBOOT, and LOADER_OFW. Move these options out of 2018-03-01 19:50:55 +00:00
Makefile.amd64 Create LOADER_UBOOT, and LOADER_OFW. Move these options out of 2018-03-01 19:50:55 +00:00
Makefile.inc Minor flags cleanup 2017-12-02 00:06:58 +00:00
uboot.mk Unify metadata load files for arm, mips, powerpc, sparc64 2018-02-13 03:44:50 +00:00