2012-08-15 05:55:16 +00:00
|
|
|
#
|
|
|
|
# Custom kernel for Marvell Armada XP
|
|
|
|
#
|
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:
|
|
|
|
#
|
2017-10-29 08:17:03 +00:00
|
|
|
# https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
|
2014-12-21 11:37:00 +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-12-21 11:37:00 +00:00
|
|
|
# latest information.
|
2012-08-15 05:55:16 +00:00
|
|
|
#
|
2014-12-21 11:37:00 +00:00
|
|
|
# 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$
|
2012-08-15 05:55:16 +00:00
|
|
|
|
2017-06-03 10:38:41 +00:00
|
|
|
#NO_UNIVERSE
|
|
|
|
|
2012-08-15 05:55:16 +00:00
|
|
|
ident MV-88F78XX0
|
2015-05-05 16:09:25 +00:00
|
|
|
|
2017-10-05 23:01:50 +00:00
|
|
|
include "std.armv7"
|
2015-05-07 12:38:23 +00:00
|
|
|
include "../mv/armadaxp/std.mv78x60"
|
2012-08-15 05:55:16 +00:00
|
|
|
|
|
|
|
options SOC_MV_ARMADAXP
|
|
|
|
|
2015-01-03 23:57:03 +00:00
|
|
|
options SCHED_ULE # ULE scheduler
|
2014-12-21 11:37:00 +00:00
|
|
|
options SMP # Enable multiple cores
|
2012-08-15 05:55:16 +00:00
|
|
|
|
2014-12-21 11:37:00 +00:00
|
|
|
# NFS root from boopt/dhcp
|
|
|
|
options BOOTP
|
|
|
|
options BOOTP_NFSROOT
|
|
|
|
options BOOTP_NFSV3
|
|
|
|
options BOOTP_WIRED_TO=mge0
|
|
|
|
|
|
|
|
options ROOTDEVNAME=\"ufs:/dev/da0p1\"
|
|
|
|
|
|
|
|
options MUTEX_NOINLINE
|
|
|
|
options RWLOCK_NOINLINE
|
|
|
|
options NO_FFS_SNAPSHOT
|
|
|
|
options NO_SWAPPING
|
2012-08-15 05:55:16 +00:00
|
|
|
|
|
|
|
# Pseudo devices
|
|
|
|
device pty
|
|
|
|
device loop
|
|
|
|
device md
|
|
|
|
|
|
|
|
# USB
|
|
|
|
device usb
|
|
|
|
device ehci
|
|
|
|
device umass
|
|
|
|
device scbus
|
|
|
|
device pass
|
|
|
|
device da
|
|
|
|
|
|
|
|
# SATA
|
2013-10-28 07:18:24 +00:00
|
|
|
device mvs
|
2012-08-15 05:55:16 +00:00
|
|
|
|
|
|
|
# Serial ports
|
|
|
|
device uart
|
|
|
|
|
|
|
|
# I2C (TWSI)
|
|
|
|
device iic
|
|
|
|
device iicbus
|
2016-02-14 23:42:07 +00:00
|
|
|
device twsi
|
2012-08-15 05:55:16 +00:00
|
|
|
|
|
|
|
#Network
|
|
|
|
device ether
|
|
|
|
device mge # Marvell Gigabit Ethernet controller
|
|
|
|
device mii
|
2015-10-25 22:00:56 +00:00
|
|
|
device mdio
|
2012-08-15 05:55:16 +00:00
|
|
|
device e1000phy
|
|
|
|
device bpf
|
2012-09-16 19:48:48 +00:00
|
|
|
options DEVICE_POLLING
|
2012-08-15 05:55:16 +00:00
|
|
|
device vlan
|
|
|
|
|
2012-09-14 09:59:27 +00:00
|
|
|
#PCI/PCIE
|
|
|
|
device pci
|
|
|
|
|
2014-12-21 11:37:00 +00:00
|
|
|
# Flattened Device Tree
|
|
|
|
options FDT # Configure using FDT/DTB data
|
2012-08-15 05:55:16 +00:00
|
|
|
options FDT_DTB_STATIC
|
2012-09-14 09:55:19 +00:00
|
|
|
makeoptions FDT_DTS_FILE=db78460.dts
|
2018-04-03 21:17:19 +00:00
|
|
|
|
2018-04-04 08:40:49 +00:00
|
|
|
options PLATFORM
|