From db180ae55c99fa3330e57ad1b76c9d4b30584e25 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Thu, 18 Jan 2018 04:58:54 +0000 Subject: stand: Add /boot/overlays to allow separation of overlays from base FDT This matches directory structure used commonly in Linux-land, and it's cleaner than mixing overlays into the existing module paths. Overlays are still mixed in by specifying fdt_overlays in loader.conf(5). Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D13922 --- stand/arm/loader/loader.conf | 2 +- stand/forth/loader.conf | 2 +- stand/mips/uboot/loader.conf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'stand') diff --git a/stand/arm/loader/loader.conf b/stand/arm/loader/loader.conf index 4154ab7bcc9f..dd2a23a971dc 100644 --- a/stand/arm/loader/loader.conf +++ b/stand/arm/loader/loader.conf @@ -7,7 +7,7 @@ autoboot_delay=10 bootfile="kernel" # Kernel name (possibly absolute path) kernel="kernel" # /boot sub-directory containing kernel and modules loader_conf_files="/boot/loader.conf /boot/loader.conf.local" -module_path="/boot/kernel;/boot/modules;/boot/dtb" +module_path="/boot/kernel;/boot/modules;/boot/dtb;/boot/overlays" nextboot_conf="/boot/nextboot.conf" nextboot_enable="NO" verbose_loading="NO" diff --git a/stand/forth/loader.conf b/stand/forth/loader.conf index 8fe533fd2deb..bc0022b7867c 100644 --- a/stand/forth/loader.conf +++ b/stand/forth/loader.conf @@ -97,7 +97,7 @@ bootenv_autolist="YES" # Auto populate the list of ZFS Boot Environments #comconsole_speed="9600" # Set the current serial console speed #console="vidconsole" # A comma separated list of console(s) #currdev="disk1s1a" # Set the current device -module_path="/boot/modules;/boot/dtb" # Set the module search path +module_path="/boot/modules;/boot/dtb;/boot/overlays" # Set the module search path #prompt="\\${interpret}" # Set the command prompt #root_disk_unit="0" # Force the root disk unit number #rootdev="disk1s1a" # Set the root filesystem diff --git a/stand/mips/uboot/loader.conf b/stand/mips/uboot/loader.conf index 4154ab7bcc9f..dd2a23a971dc 100644 --- a/stand/mips/uboot/loader.conf +++ b/stand/mips/uboot/loader.conf @@ -7,7 +7,7 @@ autoboot_delay=10 bootfile="kernel" # Kernel name (possibly absolute path) kernel="kernel" # /boot sub-directory containing kernel and modules loader_conf_files="/boot/loader.conf /boot/loader.conf.local" -module_path="/boot/kernel;/boot/modules;/boot/dtb" +module_path="/boot/kernel;/boot/modules;/boot/dtb;/boot/overlays" nextboot_conf="/boot/nextboot.conf" nextboot_enable="NO" verbose_loading="NO" -- cgit v1.2.3