2006-11-19 23:58:12 +00:00
|
|
|
# AVILA -- Gateworks Avila XScale board
|
|
|
|
# kernel configuration file for FreeBSD/arm
|
|
|
|
#
|
|
|
|
# For more information on this file, please read the handbook section on
|
|
|
|
# Kernel Configuration Files:
|
|
|
|
#
|
|
|
|
# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
|
|
|
|
#
|
|
|
|
# The handbook is also available locally in /usr/share/doc/handbook
|
|
|
|
# if you've installed the doc distribution, otherwise always see the
|
|
|
|
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
|
|
|
|
# latest information.
|
|
|
|
#
|
|
|
|
# An exhaustive list of options and more detailed explanations of the
|
2012-06-13 04:40:29 +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
|
2006-11-19 23:58:12 +00:00
|
|
|
# in NOTES.
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
ident AVILA
|
|
|
|
|
2008-12-13 01:21:37 +00:00
|
|
|
include "../xscale/ixp425/std.ixp425"
|
|
|
|
# NB: memory mapping is defined in std.avila
|
2006-11-19 23:58:12 +00:00
|
|
|
include "../xscale/ixp425/std.avila"
|
2008-12-13 01:21:37 +00:00
|
|
|
options XSCALE_CACHE_READ_WRITE_ALLOCATE
|
|
|
|
#options ARM_USE_SMALL_ALLOC
|
2006-11-19 23:58:12 +00:00
|
|
|
#To statically compile in device wiring instead of /boot/device.hints
|
2007-05-24 16:27:48 +00:00
|
|
|
hints "AVILA.hints" #Default places to look for devices.
|
2008-11-30 17:53:19 +00:00
|
|
|
makeoptions MODULES_OVERRIDE=""
|
2006-11-19 23:58:12 +00:00
|
|
|
|
|
|
|
makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
|
|
|
|
makeoptions CONF_CFLAGS=-mcpu=xscale
|
2008-08-02 07:18:12 +00:00
|
|
|
#options HZ=1000
|
|
|
|
options HZ=100
|
|
|
|
options DEVICE_POLLING
|
2006-11-19 23:58:12 +00:00
|
|
|
|
|
|
|
# Debugging for use in -current
|
2008-08-02 07:18:12 +00:00
|
|
|
options KDB
|
|
|
|
#options GDB
|
2006-11-19 23:58:12 +00:00
|
|
|
options DDB #Enable the kernel debugger
|
2010-02-15 23:44:48 +00:00
|
|
|
#options DEADLKRES #Enable the deadlock resolver
|
2008-12-13 01:21:37 +00:00
|
|
|
options INVARIANTS #Enable calls of extra sanity checking
|
|
|
|
options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
|
2006-11-19 23:58:12 +00:00
|
|
|
#options WITNESS #Enable checks to detect deadlocks and cycles
|
|
|
|
#options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
|
2008-08-02 07:18:12 +00:00
|
|
|
#options DIAGNOSTIC
|
2006-11-19 23:58:12 +00:00
|
|
|
|
|
|
|
options SCHED_4BSD #4BSD scheduler
|
|
|
|
options INET #InterNETworking
|
|
|
|
options FFS #Berkeley Fast Filesystem
|
|
|
|
options SOFTUPDATES #Enable FFS soft updates support
|
2011-08-07 20:16:46 +00:00
|
|
|
options NFSCL #New Network Filesystem Client
|
|
|
|
options NFS_ROOT #NFS usable as /, requires NFSCL
|
2008-08-02 07:18:12 +00:00
|
|
|
options BOOTP
|
|
|
|
options BOOTP_NFSROOT
|
|
|
|
options BOOTP_NFSV3
|
|
|
|
options BOOTP_WIRED_TO=npe0
|
|
|
|
#options BOOTP_WIRED_TO=ath0
|
|
|
|
#options BOOTP_WIRED_TO=rl0
|
|
|
|
options BOOTP_COMPAT
|
|
|
|
#options PREEMPTION
|
|
|
|
#options VERBOSE_SYSINIT
|
2006-11-19 23:58:12 +00:00
|
|
|
|
2009-12-23 23:16:54 +00:00
|
|
|
# Hardware performance counters
|
|
|
|
options HWPMC_HOOKS
|
|
|
|
device hwpmc
|
|
|
|
|
2006-11-19 23:58:12 +00:00
|
|
|
#device saarm
|
|
|
|
|
|
|
|
device pci
|
|
|
|
device uart
|
|
|
|
|
2009-02-03 19:16:04 +00:00
|
|
|
device ixpwdog # watchdog timer
|
|
|
|
device cfi # flash support
|
2009-03-09 23:25:34 +00:00
|
|
|
device cfid # flash disk support
|
|
|
|
device geom_redboot # redboot fis parser
|
2009-02-03 19:16:04 +00:00
|
|
|
|
2006-11-19 23:58:12 +00:00
|
|
|
# I2C Bus
|
|
|
|
device iicbus
|
|
|
|
device iicbb
|
|
|
|
device iic
|
|
|
|
|
2008-03-20 17:44:58 +00:00
|
|
|
device ixpiic # I2C bus glue
|
2006-11-19 23:58:12 +00:00
|
|
|
device ds1672 # DS1672 on I2C bus
|
|
|
|
device ad7418 # AD7418 on I2C bus
|
|
|
|
|
2006-11-22 12:57:17 +00:00
|
|
|
device avila_led
|
|
|
|
|
2010-11-07 20:33:39 +00:00
|
|
|
device gpio
|
|
|
|
device gpioled
|
|
|
|
device avila_gpio # GPIO pins on J8
|
|
|
|
|
2006-11-19 23:58:12 +00:00
|
|
|
device ata
|
|
|
|
device avila_ata # Gateworks CF/IDE support
|
|
|
|
|
|
|
|
device npe # Network Processing Engine
|
2007-09-27 22:39:49 +00:00
|
|
|
device npe_fw
|
|
|
|
device firmware
|
2006-11-19 23:58:12 +00:00
|
|
|
device qmgr # Q Manager (required by npe)
|
2009-02-18 01:37:57 +00:00
|
|
|
device mii # NB: required by npe
|
2006-11-19 23:58:12 +00:00
|
|
|
device ether
|
|
|
|
device bpf
|
|
|
|
|
|
|
|
device loop
|
|
|
|
device if_bridge
|
|
|
|
|
|
|
|
device md
|
2009-05-10 00:00:25 +00:00
|
|
|
device random # Entropy device
|
2006-11-19 23:58:12 +00:00
|
|
|
|
|
|
|
# Wireless NIC cards
|
|
|
|
device wlan # 802.11 support
|
2009-05-10 00:00:25 +00:00
|
|
|
options IEEE80211_DEBUG
|
|
|
|
options IEEE80211_SUPPORT_TDMA
|
2009-07-17 18:35:45 +00:00
|
|
|
options IEEE80211_SUPPORT_MESH
|
2008-03-20 17:44:58 +00:00
|
|
|
device wlan_wep # 802.11 WEP support
|
|
|
|
device wlan_ccmp # 802.11 CCMP support
|
|
|
|
device wlan_tkip # 802.11 TKIP support
|
|
|
|
device wlan_xauth
|
2008-12-13 01:21:37 +00:00
|
|
|
|
2012-08-26 01:21:02 +00:00
|
|
|
device ath # Atheros NICs
|
2011-03-31 08:07:13 +00:00
|
|
|
device ath_pci # Atheros pci/cardbus glue
|
2008-08-02 07:18:12 +00:00
|
|
|
options ATH_DEBUG
|
2009-05-10 00:00:25 +00:00
|
|
|
options ATH_DIAGAPI
|
|
|
|
#options ATH_TX99_DIAG
|
2008-12-13 01:21:37 +00:00
|
|
|
device ath_rate_sample # SampleRate tx rate control for ath
|
2006-11-19 23:58:12 +00:00
|
|
|
|
2009-05-10 00:00:25 +00:00
|
|
|
#options AH_DEBUG
|
|
|
|
#options AH_ASSERT
|
2008-12-13 01:21:37 +00:00
|
|
|
#device ath_ar5210
|
|
|
|
#device ath_ar5211
|
|
|
|
device ath_ar5212
|
|
|
|
device ath_rf2413
|
|
|
|
device ath_rf2417
|
|
|
|
device ath_rf2425
|
|
|
|
device ath_rf5111
|
|
|
|
device ath_rf5112
|
|
|
|
device ath_rf5413
|
|
|
|
#
|
|
|
|
device ath_ar5416
|
2009-05-10 00:00:25 +00:00
|
|
|
options AH_SUPPORT_AR5416
|
2008-12-13 01:21:37 +00:00
|
|
|
device ath_ar9160
|
2009-12-02 00:38:11 +00:00
|
|
|
device ath_ar9280
|
2007-05-24 16:27:48 +00:00
|
|
|
|
2009-05-27 16:16:56 +00:00
|
|
|
device usb
|
2008-12-13 01:21:37 +00:00
|
|
|
#options USB_DEBUG
|
2009-05-27 16:16:56 +00:00
|
|
|
device ohci
|
|
|
|
device ehci
|
|
|
|
device umass
|
2011-04-24 08:58:58 +00:00
|
|
|
device scbus # SCSI bus (required for ATA/SCSI)
|
2009-03-06 23:26:50 +00:00
|
|
|
device da # Direct Access (disks)
|
2011-04-24 08:58:58 +00:00
|
|
|
device pass # Passthrough device (direct ATA/SCSI access)
|
2009-03-06 23:26:50 +00:00
|
|
|
|
2009-05-27 16:16:56 +00:00
|
|
|
#device ural
|
|
|
|
#device zyd
|
2008-12-13 01:21:37 +00:00
|
|
|
#device wlan_amrr
|