2016-01-20 13:14:36 +00:00
|
|
|
#
|
|
|
|
# Kernel configuration for Marvell Armada38x
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
include "../mv/armada38x/std.armada38x"
|
|
|
|
include "std.armv6"
|
|
|
|
|
|
|
|
ident ARMADA38X
|
|
|
|
|
|
|
|
options SOC_MV_ARMADA38X
|
|
|
|
|
|
|
|
makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
|
|
|
|
makeoptions WERROR="-Werror"
|
|
|
|
|
|
|
|
options MD_ROOT
|
|
|
|
#makeoptions MFS_IMAGE=/path/to/miniroot
|
2016-01-20 14:00:32 +00:00
|
|
|
#options ROOTDEVNAME=\"ufs:md0\"
|
|
|
|
options ROOTDEVNAME=\"/dev/da0s1a\"
|
2016-01-20 13:14:36 +00:00
|
|
|
|
|
|
|
options SCHED_ULE # ULE scheduler
|
|
|
|
#options SCHED_4BSD # 4BSD scheduler
|
|
|
|
|
2016-01-20 14:49:16 +00:00
|
|
|
options SMP
|
|
|
|
|
2016-01-20 13:14:36 +00:00
|
|
|
# Debugging
|
|
|
|
#options DEBUG
|
|
|
|
#options VERBOSE_SYSINIT
|
|
|
|
options ALT_BREAK_TO_DEBUGGER
|
|
|
|
options DDB
|
|
|
|
#options GDB
|
|
|
|
#options DIAGNOSTIC
|
|
|
|
options INVARIANTS # Enable calls of extra sanity checking
|
|
|
|
options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
|
|
|
|
options KDB
|
|
|
|
options KDB_TRACE
|
|
|
|
#options WITNESS # Enable checks to detect deadlocks and cycles
|
|
|
|
#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
|
|
|
|
#options WITNESS_KDB
|
|
|
|
#options BOOTVERBOSE
|
|
|
|
|
|
|
|
# Pseudo devices
|
|
|
|
device random
|
|
|
|
device pty
|
|
|
|
device loop
|
|
|
|
device md
|
|
|
|
|
|
|
|
# Serial ports
|
|
|
|
device uart
|
|
|
|
device uart_ns8250
|
|
|
|
|
|
|
|
# Network
|
|
|
|
device ether
|
|
|
|
device vlan
|
2016-01-20 14:14:30 +00:00
|
|
|
device mii
|
|
|
|
device bpf
|
|
|
|
device re
|
|
|
|
|
|
|
|
# PCI
|
|
|
|
device pci
|
2016-01-20 13:14:36 +00:00
|
|
|
|
|
|
|
# Interrupt controllers
|
|
|
|
device gic
|
2016-02-11 18:01:10 +00:00
|
|
|
options ARM_INTRNG
|
2016-01-20 13:14:36 +00:00
|
|
|
|
|
|
|
# Timers
|
|
|
|
device mpcore_timer
|
|
|
|
|
2016-01-20 14:00:32 +00:00
|
|
|
# USB
|
|
|
|
device usb
|
|
|
|
device ehci
|
2016-03-14 07:14:34 +00:00
|
|
|
device xhci
|
2016-01-20 14:00:32 +00:00
|
|
|
device umass
|
|
|
|
device scbus
|
|
|
|
device pass
|
|
|
|
device da
|
|
|
|
|
2016-01-20 14:21:06 +00:00
|
|
|
# I2C
|
|
|
|
device iic
|
|
|
|
device iicbus
|
2016-02-14 23:42:07 +00:00
|
|
|
device twsi
|
2016-01-20 14:21:06 +00:00
|
|
|
|
2016-01-20 13:14:36 +00:00
|
|
|
#FDT
|
|
|
|
options FDT
|
|
|
|
options FDT_DTB_STATIC
|
|
|
|
makeoptions FDT_DTS_FILE=armada-388-gp.dts
|