Create a custom /boot/defaults/loader.conf for ARM. This differs from the

standard file in the following ways:

 - modules_path includes /boot/dtb
 - It doesn't contain 533 lines, of which 500 are either commented out,
   empty, or something_which_doesnt_work_on_arm_anyway=NO

The standard defaults file takes 40+ seconds to process on an arm beaglebone
board.  This one takes just a couple seconds.

This gets installed instead of the original because of the .PATH magic in
the makefile.
This commit is contained in:
Ian Lepore 2015-01-03 19:38:37 +00:00
parent 8495e8b1e9
commit 0d203a6065
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=276632

View File

@ -0,0 +1,13 @@
# This is defaults/loader.conf for ARM, containing defaults for loader(8).
# Do not modify the contents of this file, instead put your customizations
# into /boot/loader.conf or /boot/loader.conf.local
# $FreeBSD$
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"
nextboot_conf="/boot/nextboot.conf"
nextboot_enable="NO"
verbose_loading="NO"