2014-12-21 11:37:00 +00:00
|
|
|
#
|
2012-08-30 20:59:37 +00:00
|
|
|
# RPI-B -- Custom configuration for the Raspberry Pi
|
|
|
|
#
|
2014-12-21 11:37:00 +00:00
|
|
|
# For more information on this file, please read the config(5) manual page,
|
|
|
|
# and/or the handbook section on Kernel Configuration Files:
|
2012-08-30 20:59:37 +00:00
|
|
|
#
|
2017-10-29 08:17:03 +00:00
|
|
|
# https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
|
2012-08-30 20:59:37 +00:00
|
|
|
#
|
|
|
|
# The handbook is also available locally in /usr/share/doc/handbook
|
|
|
|
# if you've installed the doc distribution, otherwise always see the
|
2017-10-29 08:17:03 +00:00
|
|
|
# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the
|
2012-08-30 20:59:37 +00:00
|
|
|
# latest information.
|
|
|
|
#
|
|
|
|
# An exhaustive list of options and more detailed explanations of the
|
2014-12-21 11:37:00 +00:00
|
|
|
# device lines is also present in the ../../conf/NOTES and NOTES files.
|
|
|
|
# If you are in doubt as to the purpose or necessity of a line, check first
|
2012-08-30 20:59:37 +00:00
|
|
|
# in NOTES.
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
ident RPI-B
|
|
|
|
|
2015-05-07 12:38:23 +00:00
|
|
|
include "std.armv6"
|
|
|
|
include "../broadcom/bcm2835/std.rpi"
|
|
|
|
include "../broadcom/bcm2835/std.bcm2835"
|
2012-08-30 20:59:37 +00:00
|
|
|
|
2014-03-16 15:22:46 +00:00
|
|
|
options SCHED_4BSD # 4BSD scheduler
|
2014-05-17 11:27:36 +00:00
|
|
|
options PLATFORM
|
2014-12-21 11:37:00 +00:00
|
|
|
|
|
|
|
# NFS root from boopt/dhcp
|
|
|
|
#options BOOTP
|
|
|
|
#options BOOTP_NFSROOT
|
|
|
|
#options BOOTP_COMPAT
|
|
|
|
#options BOOTP_NFSV3
|
|
|
|
#options BOOTP_WIRED_TO=ue0
|
|
|
|
|
|
|
|
#options ROOTDEVNAME=\"ufs:mmcsd0s2\"
|
2012-08-30 20:59:37 +00:00
|
|
|
|
|
|
|
device bpf
|
|
|
|
device loop
|
|
|
|
device ether
|
|
|
|
device uart
|
|
|
|
device pty
|
2014-12-21 11:37:00 +00:00
|
|
|
device snp
|
|
|
|
device pl011
|
2012-08-30 20:59:37 +00:00
|
|
|
|
2018-01-20 14:00:07 +00:00
|
|
|
# Device mode support
|
|
|
|
device usb_template # Control of the gadget
|
|
|
|
|
2012-11-30 04:56:39 +00:00
|
|
|
# Comment following lines for boot console on serial port
|
2013-12-17 15:23:47 +00:00
|
|
|
device vt
|
2012-11-30 04:56:39 +00:00
|
|
|
device kbdmux
|
|
|
|
device ukbd
|
2012-08-30 20:59:37 +00:00
|
|
|
|
2012-10-29 17:23:45 +00:00
|
|
|
device sdhci
|
|
|
|
device mmc
|
|
|
|
device mmcsd
|
|
|
|
|
2012-11-23 20:04:39 +00:00
|
|
|
device gpio
|
|
|
|
device gpioled
|
|
|
|
|
2013-10-23 12:29:39 +00:00
|
|
|
# I2C
|
|
|
|
device iic
|
|
|
|
device iicbus
|
|
|
|
device bcm2835_bsc
|
|
|
|
|
2012-08-30 20:59:37 +00:00
|
|
|
device md
|
2014-03-16 15:22:46 +00:00
|
|
|
device random # Entropy device
|
2012-08-30 20:59:37 +00:00
|
|
|
|
2012-09-14 08:11:59 +00:00
|
|
|
# USB support
|
|
|
|
device usb
|
2014-03-16 15:22:46 +00:00
|
|
|
device dwcotg # DWC OTG controller
|
2012-08-30 20:59:37 +00:00
|
|
|
|
2012-09-14 08:11:59 +00:00
|
|
|
# USB storage support
|
|
|
|
device scbus
|
|
|
|
device da
|
|
|
|
device umass
|
2012-08-30 20:59:37 +00:00
|
|
|
|
2012-09-14 08:11:59 +00:00
|
|
|
# USB ethernet support
|
|
|
|
device smcphy
|
|
|
|
device mii
|
|
|
|
device smsc
|
2012-08-30 20:59:37 +00:00
|
|
|
|
2013-10-24 16:27:33 +00:00
|
|
|
# SPI
|
|
|
|
device spibus
|
|
|
|
device bcm2835_spi
|
|
|
|
|
2015-02-07 01:03:45 +00:00
|
|
|
device vchiq
|
2015-02-08 01:12:40 +00:00
|
|
|
device sound
|
2015-02-07 01:03:45 +00:00
|
|
|
|
2018-04-08 00:56:19 +00:00
|
|
|
device fdt_pinctrl
|
|
|
|
|
2012-08-30 20:59:37 +00:00
|
|
|
# Flattened Device Tree
|
2014-12-21 11:37:00 +00:00
|
|
|
options FDT # Configure using FDT/DTB data
|
2013-02-26 04:59:02 +00:00
|
|
|
# Note: DTB is normally loaded and modified by RPi boot loader, then
|
|
|
|
# handed to kernel via U-Boot and ubldr.
|
2014-12-21 11:37:00 +00:00
|
|
|
#options FDT_DTB_STATIC
|
2015-02-07 00:41:08 +00:00
|
|
|
#makeoptions FDT_DTS_FILE=rpi.dts
|
2016-10-03 01:08:34 +00:00
|
|
|
makeoptions MODULES_EXTRA="dtb/rpi rpi_ft5406"
|