| #
240c614d
|
| 23-Jan-2026 |
Michael Osipov <michaelo@FreeBSD.org> |
loader.conf.5: "console" setting does not document multi-value possiblity
PR: 292595 Approved by: ziaee, dab, imp, tsoome MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D54843
|
| #
7fe881e8
|
| 27-Nov-2025 |
Warner Losh <imp@FreeBSD.org> |
loader: Note current autoboot_delay behavior
Some time ago, the boot loader stopped polling for a key press during the kernel and module loading prior to the transition to lua. Inspection of the cod
loader: Note current autoboot_delay behavior
Some time ago, the boot loader stopped polling for a key press during the kernel and module loading prior to the transition to lua. Inspection of the code shows the polling is no longer there. Document the change.
Sponsored by: Netflix
show more ...
|
| #
09ffaa4e
|
| 14-Nov-2025 |
Alexander Ziaee <ziaee@FreeBSD.org> |
loader manuals: Clarify console and boot_serial
console=comconsole is for the loader and boot_serial is for the kernel.
I think we should centralize documentation on the loader settings in one manu
loader manuals: Clarify console and boot_serial
console=comconsole is for the loader and boot_serial is for the kernel.
I think we should centralize documentation on the loader settings in one manual, such a loader.8. The current proliferation is not obvious where to find the documentation. To the user, these are all set in loader.conf or at the loader prompt.
MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D53695
show more ...
|
| #
bd481f1b
|
| 03-Sep-2025 |
Warner Losh <imp@FreeBSD.org> |
loader.conf.5: Add reference to kern.msgbufsize
When booting with boot_verbose, you want a larger msgbuf size. Add a poitner to its tuneable.
Suggested by: John De Boskey (Ages ago) Sponsored by:
loader.conf.5: Add reference to kern.msgbufsize
When booting with boot_verbose, you want a larger msgbuf size. Add a poitner to its tuneable.
Suggested by: John De Boskey (Ages ago) Sponsored by: Netflix
show more ...
|
| #
860f20cc
|
| 19-Jul-2025 |
Aymeric Wibo <obiwac@FreeBSD.org> |
stand: Add print_delay environment variable in loader
This adds support for a new `print_delay` environment variable, which inserts a delay in microseconds when `putchar` encounters a newline charac
stand: Add print_delay environment variable in loader
This adds support for a new `print_delay` environment variable, which inserts a delay in microseconds when `putchar` encounters a newline character. This can be useful when debugging.
Reviewed by: markj, imp, ziaee, mckusick (mentor) Approved by: markj, imp, ziaee, mckusick (mentor) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D50832
show more ...
|
| #
bef6d85b
|
| 06-Jun-2025 |
Kyle Evans <kevans@FreeBSD.org> |
lualoader: allow graphical bits to be disabled with loader_gfx
Some people prefer the old ASCII art look and it's good to have a way to confirm that the fallbacks still work right on systems that ha
lualoader: allow graphical bits to be disabled with loader_gfx
Some people prefer the old ASCII art look and it's good to have a way to confirm that the fallbacks still work right on systems that have a functional framebuffer available. Add a loader_gfx loader.conf(5) variable to disable the eager use of graphics for these use-cases.
While we're here, clean up the style in the area a little bit; the early porting that I did to lualoader did a lot of redundant ~= nil that has carried over into some of the later work. We can drop some of that, and also re-organize some of these variables to improve readability.
ziaee notes that the positioning of the orb is a bit off; this is due to a change in positioning that happened in 1b4e1171315398dec ("loader: Fix orb position") to account for the image dimensions. This should be partially reverted to get it right; we shouldn't assume that we can use the same shift in gfx-* definitions for both the ASCII art and the associated image -- the {image, image_rl} pair should be converted to something more like an fbimg or gfx table that has the image, image width and a shift override to avoid messing up the ASCII positioning when disabled (or with no graphics available).
Reviewed by: imp, manu, ziaee (manpages) Differential Revision: https://reviews.freebsd.org/D50706
show more ...
|
| #
a962800a
|
| 14-Apr-2025 |
Emmanuel Vadot <manu@FreeBSD.org> |
loader: Add loader_menu
If set to 'none' then the menu isn't displayed. The 'brand' and 'logo' part are stil displayed.
Differential Revision: https://reviews.freebsd.org/D49820 Reviewed by: imp, k
loader: Add loader_menu
If set to 'none' then the menu isn't displayed. The 'brand' and 'logo' part are stil displayed.
Differential Revision: https://reviews.freebsd.org/D49820 Reviewed by: imp, kevans Sponsored by: Beckhoff Automation GmbH & Co. KG
show more ...
|
| #
8e727fb4
|
| 14-Apr-2025 |
Emmanuel Vadot <manu@FreeBSD.org> |
loader: Add loader_autoboot_show
It's used to control if the autoboot part of loader is displayed or not.
Differential Revision: https://reviews.freebsd.org/D49819 Reviewed by: imp Sponsored by: Be
loader: Add loader_autoboot_show
It's used to control if the autoboot part of loader is displayed or not.
Differential Revision: https://reviews.freebsd.org/D49819 Reviewed by: imp Sponsored by: Beckhoff Automation GmbH & Co. KG
show more ...
|
| #
36f1db7a
|
| 09-Feb-2025 |
Warner Losh <imp@FreeBSD.org> |
loader.conf: Document boot_verbose
And for the moment, point people to loader.efi(8) for all boot_* variables.
Sponsored by: Netflix MFC After: 1 week
|
| #
1dbbce97
|
| 14-Jun-2024 |
Ahmad Khalifa <ahmadkhalifa570@gmail.com> |
loader.conf.5: Correct terminal size
Signed-off-by: Ahmad Khalifa <ahmadkhalifa570@gmail.com> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1292
|
| #
c475e61f
|
| 21-Dec-2023 |
Stéphane Rochoy <stephane.rochoy@stormshield.eu> |
stand/lua: always allow overriding with local config files
Loader now also read configuration files listed in local_loader_conf_files. Files listed here are the last ones read. And /boot/loader.conf
stand/lua: always allow overriding with local config files
Loader now also read configuration files listed in local_loader_conf_files. Files listed here are the last ones read. And /boot/loader.conf.local was moved from loader_conf_files to local_loader_conf_files leaving only loader.conf and device.hints in loader_conf_files by default.
The idea is to ensure local_loader_conf_files, i.e., /boot/loader.conf.local, can always be used to override other user defined settings.
So the sequencing is now as follow:
1. Bootstrap: /boot/defaults/loader.conf
2. Read loader_conf_files files: /boot/device.hints /boot/loader.conf
3. Read loader_conf_dirs files: /boot/loader.conf.d/*.conf
4. And finally, rread local_loader_conf_files files: /boot/loader.conf.local
Reviewed by: imp, kevans Pull Request: https://github.com/freebsd/freebsd-src/pull/759
show more ...
|
| #
c343eedc
|
| 04-May-2023 |
Stéphane Rochoy <stephane.rochoy@stormshield.eu> |
stand/lua: per-product conf if requested via product_vars
If product_vars is set, it must be a space separated list of environment variable names to walk through to guess the product. Each time a pr
stand/lua: per-product conf if requested via product_vars
If product_vars is set, it must be a space separated list of environment variable names to walk through to guess the product. Each time a product can be guessed (i.e., the corresponding variable is defined), prepend /boot/loader.conf.d/PRODUCT/ to loader_conf_dirs.
It can be typically used as follow:
smbios.system.planar.maker="PLANAR_MAKER" smbios.system.planar.product="PLANAR_PRODUCT" smbios.system.product="PRODUCT" uboot.m_product="M_PRODUCT" product_vars="smbios.system.planar.maker smbios.system.planar.product smbios.system.product uboot.m_product"
to read files found in the following directories, in that order:
/boot/loader.conf.d/PLANAR_MAKER /boot/loader.conf.d/PLANAR_PRODUCT /boot/loader.conf.d/PRODUCT /boot/loader.conf.d/M_PRODUCT
Reviewed by: imp, kevans Pull Request: https://github.com/freebsd/freebsd-src/pull/759
show more ...
|
| #
994865ca
|
| 02-Feb-2024 |
Warner Losh <imp@FreeBSD.org> |
Revert "stand/lua: per-product conf if requested via product_vars"
This reverts commit 754cac4b283eb024a3a6a194130199c860e32ebf. No mail went out and commit message was wrong.
Sponsored by: Netflix
|
| #
5fdf01db
|
| 02-Feb-2024 |
Warner Losh <imp@FreeBSD.org> |
Revert "stand/lua: always allow overriding with local config files"
This reverts commit d3d0b735571d9562812ce5b343a6e91f7a795dbe. no mail sent out, and the commit message was wrong.
Sponsored by:
Revert "stand/lua: always allow overriding with local config files"
This reverts commit d3d0b735571d9562812ce5b343a6e91f7a795dbe. no mail sent out, and the commit message was wrong.
Sponsored by: Netflix
show more ...
|
| #
d3d0b735
|
| 21-Dec-2023 |
Stéphane Rochoy <stephane.rochoy@stormshield.eu> |
stand/lua: always allow overriding with local config files
Loader now also read configuration files listed in local_loader_conf_files. Files listed here are the last ones read. And /boot/loader.conf
stand/lua: always allow overriding with local config files
Loader now also read configuration files listed in local_loader_conf_files. Files listed here are the last ones read. And /boot/loader.conf.local was moved from loader_conf_files to local_loader_conf_files leaving only loader.conf and device.hints in loader_conf_files by default.
The idea is to ensure local_loader_conf_files, i.e., /boot/loader.conf.local, can always be used to override other user defined settings.
So the sequencing is now as follow:
1. Bootstrap: /boot/defaults/loader.conf
2. Read loader_conf_files files: /boot/device.hints /boot/loader.conf
3. Read loader_conf_dirs files: /boot/loader.conf.d/*.conf
4. And finally, rread local_loader_conf_files files: /boot/loader.conf.local
show more ...
|
| #
754cac4b
|
| 04-May-2023 |
Stéphane Rochoy <stephane.rochoy@stormshield.eu> |
stand/lua: per-product conf if requested via product_vars
If product_vars is set, it must be a space separated list of environment variable names to walk through to guess the product. Each time a pr
stand/lua: per-product conf if requested via product_vars
If product_vars is set, it must be a space separated list of environment variable names to walk through to guess the product. Each time a product can be guessed (i.e., the corresponding variable is defined), prepend /boot/loader.conf.d/PRODUCT/ to loader_conf_dirs.
It can be typically used as follow:
smbios.system.planar.maker="PLANAR_MAKER" smbios.system.planar.product="PLANAR_PRODUCT" smbios.system.product="PRODUCT" uboot.m_product="M_PRODUCT" product_vars="smbios.system.planar.maker smbios.system.planar.product smbios.system.product uboot.m_product"
to read files found in the following directories, in that order:
/boot/loader.conf.d/PLANAR_MAKER /boot/loader.conf.d/PLANAR_PRODUCT /boot/loader.conf.d/PRODUCT /boot/loader.conf.d/M_PRODUCT
show more ...
|
| #
7edbf69b
|
| 23-Jan-2024 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
stand: Add 1440p to the list of known resolutions.
MFC after: 1 week Reviewed by: manu, kevans, imp Differential Revision: https://reviews.freebsd.org/D43391
|
| #
64db9a0f
|
| 21-Dec-2023 |
Warner Losh <imp@FreeBSD.org> |
Add kenv .Xr in kldload(8) and loader.conf(5)
Sponsored by: Netflix
|
| #
4722ceb7
|
| 17-Aug-2023 |
Ed Maste <emaste@FreeBSD.org> |
Use 115200 bps by default for serial communication
9600 was a standard baud rate decades ago, but 115200 is now more common so choose defaults that are useful to the largest number of users.
Note t
Use 115200 bps by default for serial communication
9600 was a standard baud rate decades ago, but 115200 is now more common so choose defaults that are useful to the largest number of users.
Note that boot0sio does not support rates above 9600 so it remains unchanged.
Reviewed by: bz, imp, manu Relnotes: Yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D36295
show more ...
|
| #
fa9896e0
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line nroff pattern
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
|
| #
3cb2f5f3
|
| 11-May-2023 |
Kyle Evans <kevans@FreeBSD.org> |
lualoader: add support for .lua configuration files
If a file is specified in loader_conf_files that ends in '.lua', lualoader will now load and execute that file. These may be used in place of a tr
lualoader: add support for .lua configuration files
If a file is specified in loader_conf_files that ends in '.lua', lualoader will now load and execute that file. These may be used in place of a traditional loader.conf to use more complicated logic, where some values may be set based on others or based on the environment that the C bits has left us with.
Lua scripts are run in a limited environment. In particular, it does not get access to any modules or, in-fact, anything except environment variable.
A config.buildenv hook has been added so that a local module can add whatever it may need to to the environment.
When a global var is set in the lua script, it does not immediately alter the loader environment. Instead, the script's environment is initially empty and processed only if the whole script executes successfully. Effectively, a lua configuration file either takes effect or it does not, an error will not leave it in a half-baked state.
Reviewed by: bcr (manpages), imp Differential Revision: https://reviews.freebsd.org/D28450
show more ...
|
| #
de0c7fbe
|
| 31-Jul-2021 |
Li-Wen Hsu <lwhsu@FreeBSD.org> |
loader.conf(5): mention "efi" option for "console" parameter
PR: 213467 Reviewed by: imp MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D31368
|
| #
71f6aea4
|
| 12-Jul-2021 |
Daniel Gerzo <danger@FreeBSD.org> |
loader: update autoboot description and move to loader.conf.5
Document "NO" special value for the autoboot_delay and move the description to loader.conf.5.
imp reworked some of the wording from dan
loader: update autoboot description and move to loader.conf.5
Document "NO" special value for the autoboot_delay and move the description to loader.conf.5.
imp reworked some of the wording from danger's patch.
Reviewed by: imp PR: 85128 Differential Revision: https://reviews.freebsd.org/D11887
show more ...
|
| #
79eca652
|
| 07-Jan-2021 |
Mateusz Piotrowski <0mp@FreeBSD.org> |
Fix date
It's 2021 already.
Reported by: delphij
|
| #
3efe9b3e
|
| 06-Jan-2021 |
Mateusz Piotrowski <0mp@FreeBSD.org> |
Fix a couple of typos and formatting issues
|