2014-12-21 11:37:00 +00:00
|
|
|
#
|
2014-02-02 19:13:02 +00:00
|
|
|
# Kernel configuration for Vybrid Family boards.
|
|
|
|
#
|
|
|
|
# For more information on this file, please read the config(5) manual page,
|
|
|
|
# and/or the handbook section on Kernel Configuration Files:
|
|
|
|
#
|
2017-10-29 08:17:03 +00:00
|
|
|
# https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
|
2014-02-02 19:13:02 +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
|
2014-02-02 19:13:02 +00:00
|
|
|
# latest information.
|
|
|
|
#
|
|
|
|
# An exhaustive list of options and more detailed explanations of the
|
|
|
|
# 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
|
|
|
|
# in NOTES.
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
2014-04-30 18:02:10 +00:00
|
|
|
ident VYBRID
|
2017-10-05 23:01:50 +00:00
|
|
|
include "std.armv7"
|
2015-05-07 12:38:23 +00:00
|
|
|
include "../freescale/vybrid/std.vybrid"
|
2014-02-02 19:13:02 +00:00
|
|
|
|
|
|
|
makeoptions WERROR="-Werror"
|
|
|
|
|
2014-03-18 14:41:18 +00:00
|
|
|
options SCHED_4BSD # 4BSD scheduler
|
2017-06-03 20:14:46 +00:00
|
|
|
options PLATFORM # Platform based SoC
|
2014-12-21 11:37:00 +00:00
|
|
|
#options NANDFS # NAND Filesystem
|
|
|
|
#options SMP # Enable multiple cores
|
2014-02-02 19:13:02 +00:00
|
|
|
|
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=ffec0
|
2014-02-02 19:13:02 +00:00
|
|
|
|
2014-03-18 14:41:18 +00:00
|
|
|
#options ROOTDEVNAME=\"nfs:10.5.0.1:/tftpboot/cosmic\"
|
|
|
|
#options ROOTDEVNAME=\"nandfs:/dev/gnand0s.root\"
|
|
|
|
options ROOTDEVNAME=\"ufs:/dev/da0\"
|
2014-02-02 19:13:02 +00:00
|
|
|
|
2014-12-21 11:37:00 +00:00
|
|
|
options MUTEX_NOINLINE
|
|
|
|
options RWLOCK_NOINLINE
|
|
|
|
options NO_FFS_SNAPSHOT
|
|
|
|
options NO_SWAPPING
|
|
|
|
|
2015-05-10 12:13:27 +00:00
|
|
|
# Interrupt controller
|
|
|
|
device gic
|
2016-04-15 16:05:41 +00:00
|
|
|
options INTRNG
|
2016-02-11 18:01:10 +00:00
|
|
|
|
2015-11-21 16:23:56 +00:00
|
|
|
# ARM MPCore timer
|
|
|
|
device mpcore_timer
|
2015-05-10 12:13:27 +00:00
|
|
|
|
2014-12-21 11:37:00 +00:00
|
|
|
# MMC/SD/SDIO Card slot support
|
|
|
|
device mmc # mmc/sd bus
|
|
|
|
device mmcsd # mmc/sd flash cards
|
|
|
|
device sdhci # generic sdhci
|
2014-02-02 19:13:02 +00:00
|
|
|
|
|
|
|
# Pseudo devices
|
|
|
|
|
|
|
|
device loop
|
|
|
|
device random
|
|
|
|
device pty
|
|
|
|
device md
|
|
|
|
device gpio
|
|
|
|
|
|
|
|
# USB support
|
|
|
|
options USB_HOST_ALIGN=32 # Align usb buffers to cache line size.
|
|
|
|
device usb
|
|
|
|
#device musb
|
|
|
|
device ehci
|
|
|
|
#device ohci
|
|
|
|
|
|
|
|
device umass
|
2014-09-01 03:49:21 +00:00
|
|
|
device scbus # SCSI bus (required for ATA/SCSI)
|
2014-02-02 19:13:02 +00:00
|
|
|
device da # Direct Access (disks)
|
|
|
|
device pass
|
|
|
|
|
|
|
|
# SATA
|
|
|
|
#device ata
|
|
|
|
#device atadisk
|
|
|
|
#device mvs
|
|
|
|
|
|
|
|
device nand
|
|
|
|
|
|
|
|
# Serial ports
|
|
|
|
device uart
|
|
|
|
|
|
|
|
# I2C (TWSI)
|
2014-02-27 09:59:15 +00:00
|
|
|
device iic
|
|
|
|
device iicbus
|
2014-02-02 19:13:02 +00:00
|
|
|
|
|
|
|
# Ethernet
|
|
|
|
device ether
|
|
|
|
device ffec
|
|
|
|
|
|
|
|
# USB ethernet support, requires miibus
|
|
|
|
device miibus
|
|
|
|
device axe # ASIX Electronics USB Ethernet
|
|
|
|
device bpf # Berkeley packet filter
|
|
|
|
|
|
|
|
device sound
|
2014-02-02 20:25:27 +00:00
|
|
|
|
2014-06-11 10:03:06 +00:00
|
|
|
# SPI
|
|
|
|
device spibus
|
|
|
|
device vf_spi
|
|
|
|
|
2014-02-02 20:25:27 +00:00
|
|
|
# Framebuffer
|
|
|
|
device vt
|
|
|
|
device kbdmux
|
|
|
|
device ukbd
|
2014-05-03 03:40:36 +00:00
|
|
|
|
2014-12-21 11:37:00 +00:00
|
|
|
# Flattened Device Tree
|
|
|
|
options FDT # Configure using FDT/DTB data
|