git: boot: Support to preload firmware files

Aaron LI aly at crater.dragonflybsd.org
Mon Oct 5 04:08:16 PDT 2026


commit 7e90dab7024f4fcfac09155e0c5f84d08e7bab41
Author: LI Leding <lileding at gmail.com>
Date:   Wed Sep 30 13:07:57 2026 +0800

    boot: Support to preload firmware files
    
    Support to preload the firmware files with the "firmware" type for the
    firmware(9) subsystem to register, which is supported in the previous
    commit.
    
    Add the "./firmware" directory (which resolves to "/firmware" or
    "/boot/firmware") to "module_path" variable for searching for the
    firmware files.
    
    Introduce the firmware="dir1/file1.bin dir2/file2.bin ..." variable to
    the loader.conf for specifying the firmware files to be preloaded.
    
    Co-authored-by: Aaron LI <aly at aaronly.me>
    GitHub-PR: https://github.com/DragonFlyBSD/DragonFlyBSD/pull/55

Summary of changes:
 share/man/man5/loader.conf.5         | 35 ++++++++++++++++++++++++--
 stand/boot/common/help.common        |  2 +-
 stand/boot/common/loader.8           | 34 +++++++++++++++++--------
 stand/boot/common/module.c           | 31 ++++++++++++++---------
 stand/boot/dloader/cmds.c            | 48 ++++++++++++++++++++++++++++++------
 stand/boot/dloader/dloader.menu      | 15 +++++++----
 stand/boot/dloader/loader-bootp.conf |  2 +-
 stand/boot/dloader/loader.conf       |  2 +-
 8 files changed, 131 insertions(+), 38 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7e90dab7024f4fcfac09155e0c5f84d08e7bab41


-- 
DragonFly BSD source repository


More information about the Commits mailing list