Page MenuHomeFreeBSD

D59971.id187575.diff
No OneTemporary

D59971.id187575.diff

diff --git a/stand/man/loader.efi.8 b/stand/man/loader.efi.8
--- a/stand/man/loader.efi.8
+++ b/stand/man/loader.efi.8
@@ -435,6 +435,89 @@
invalidating the data and instruction caches, for debugging cache
related problems.
.El
+.Ss EFI Environment Variables
+In addition to the variables described in
+.Xr loader_simp 8 ,
+the following variables are specific to the UEFI environment.
+.Bl -tag -width indent
+.It Va boot_policy
+Controls how
+.Nm
+falls back to other ZFS pools when the one on the boot device has no
+bootable root.
+.Dq Li strict
+.Pq the default
+only tries the boot device's own pool.
+.Dq Li relaxed
+also tries pools on other devices once the boot device's pool fails.
+.It Va efi_8250_uid
+The ACPI UID of the serial port
+.Nm
+selected as the console, as parsed from the
+.Dv ConOut
+UEFI environment variable.
+For debugging only.
+.It Va efi_com_port
+On systems where the Hyper-V-specific serial driver is active
+.Pq detected via Va smbios.bios.version ,
+selects the I/O port of the serial console.
+If unset, it is derived from
+.Dv ConOut
+and reported back into this variable.
+.It Va efi_com_speed
+The baud rate of the serial console, as parsed from the
+.Dv ConOut
+UEFI environment variable.
+For debugging only.
+.It Va efi_disable_vmap
+If set, skip building UEFI runtime services' virtual address map
+before exiting boot services.
+Useful as a workaround on firmware where the virtual map setup itself
+is broken.
+.It Va fail_timeout
+Number of seconds to wait for a keystroke before giving up and
+rebooting when no
+.Va currdev
+can be found.
+.Sy -2
+means always stop and prompt,
+.Sy -1
+means never stop
+.Pq wait forever ,
+.Sy 0
+means poll once and then reboot, and a positive value waits that many
+seconds.
+Defaults to 5.
+.It Va hw.efifb.address
+.It Va hw.efifb.stride
+Override the framebuffer's physical base address and scanline stride,
+respectively, when the values reported by the firmware's console
+protocols are wrong.
+Both must be set together.
+.It Va uefi_ignore_boot_mgr
+Set by
+.Nm
+itself when it has chain-loaded from a boot path constructed on the
+fly
+.Pq e.g.\& a memory disk registered by the ipxe-loaded RAM disk code .
+When set, the normal UEFI boot manager device list is skipped in favor
+of
+.Va uefi_rootdev .
+.It Va uefi_rootdev
+Set by
+.Nm
+itself alongside
+.Va uefi_ignore_boot_mgr
+to the UEFI device path of the device
+.Nm
+should use as
+.Va currdev .
+.It Va xen_cmdline
+.Pq amd64 only
+The command line to pass to a Xen Dom0 kernel loaded via the
+multiboot2 protocol.
+The BIOS loader's multiboot support honors the same variable.
+.El
.Ss Staging Slop
The kernel must parse the firmware memory map tables to know what memory
it can use.
diff --git a/stand/man/loader_simp.8 b/stand/man/loader_simp.8
--- a/stand/man/loader_simp.8
+++ b/stand/man/loader_simp.8
@@ -660,6 +660,17 @@
enabled correctly by the device driver.
Tunable value set to ON (1) by default, but this may cause problems
with some peripherals.
+.It Va kern.geom.eli.passphrase
+Caches a
+.Xr geli 8
+passphrase, once entered, so it can be reused to unlock further
+providers using the same key without prompting again.
+.Sy Security note :
+the passphrase is kept in clear text in the environment for the rest
+of the boot, and, like all loader variables, is copied into the
+kernel environment, where it is visible to anyone who can read
+.Xr kenv 1
+or kernel memory.
.It Va kern.maxusers
Set the size of a number of statically allocated system tables; see
.Xr tuning 7

File Metadata

Mime Type
text/plain
Expires
Fri, Oct 16, 4:23 PM (4 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40905560
Default Alt Text
D59971.id187575.diff (3 KB)

Event Timeline