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
|
|
|
|
|
2015-05-07 12:38:23 +00:00
|
|
|
include "std.arm"
|
|
|
|
include "../xscale/ixp425/std.ixp425"
|
2008-12-13 01:21:37 +00:00
|
|
|
# NB: memory mapping is defined in std.avila
|
2015-05-07 12:38:23 +00:00
|
|
|
include "../xscale/ixp425/std.avila"
|
2008-12-13 01:21:37 +00:00
|
|
|
options XSCALE_CACHE_READ_WRITE_ALLOCATE
|
2006-11-19 23:58:12 +00:00
|
|
|
#To statically compile in device wiring instead of /boot/device.hints
|
2014-03-16 15:22:46 +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
|
|
|
|
2014-03-16 15:22:46 +00:00
|
|
|
makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
|
2006-11-19 23:58:12 +00:00
|
|
|
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
|
2014-03-16 15:22:46 +00:00
|
|
|
options DDB # Enable the kernel debugger
|
|
|
|
#options DEADLKRES # Enable the deadlock resolver
|
|
|
|
options INVARIANTS # Enable calls of extra sanity checking
|
|
|
|
options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
|
|
|
|
#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
|
|
|
|
2014-03-16 15:22:46 +00:00
|
|
|
options SCHED_4BSD # 4BSD scheduler
|
|
|
|
options INET # InterNETworking
|
|
|
|
options GEOM_PART_BSD # BSD partition scheme
|
|
|
|
options GEOM_PART_MBR # MBR partition scheme
|
2014-03-18 14:41:18 +00:00
|
|
|
options TMPFS # Efficient memory filesystem
|
2014-03-16 15:22:46 +00:00
|
|
|
options FFS # Berkeley Fast Filesystem
|
|
|
|
options SOFTUPDATES # Enable FFS soft updates support
|
2015-01-06 16:15:57 +00:00
|
|
|
options NFSCL # Network Filesystem Client
|
2014-03-16 15:22:46 +00:00
|
|
|
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
|
|
|
|
|
2014-03-16 15:22:46 +00:00
|
|
|
device ixpwdog # watchdog timer
|
|
|
|
device cfi # flash support
|
|
|
|
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
|
|
|
|
|
2014-03-16 15:22:46 +00:00
|
|
|
device ixpiic # I2C bus glue
|
|
|
|
device ds1672 # DS1672 on I2C bus
|
|
|
|
device ad7418 # AD7418 on I2C bus
|
2006-11-19 23:58:12 +00:00
|
|
|
|
2006-11-22 12:57:17 +00:00
|
|
|
device avila_led
|
|
|
|
|
2010-11-07 20:33:39 +00:00
|
|
|
device gpio
|
|
|
|
device gpioled
|
2014-03-16 15:22:46 +00:00
|
|
|
device avila_gpio # GPIO pins on J8
|
2010-11-07 20:33:39 +00:00
|
|
|
|
2006-11-19 23:58:12 +00:00
|
|
|
device ata
|
2014-03-16 15:22:46 +00:00
|
|
|
device avila_ata # Gateworks CF/IDE support
|
2006-11-19 23:58:12 +00:00
|
|
|
|
2014-03-16 15:22:46 +00:00
|
|
|
device npe # Network Processing Engine
|
2007-09-27 22:39:49 +00:00
|
|
|
device npe_fw
|
|
|
|
device firmware
|
2014-03-16 15:22:46 +00:00
|
|
|
device qmgr # Q Manager (required by npe)
|
|
|
|
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
|
2014-03-16 15:22:46 +00:00
|
|
|
device random # Entropy device
|
2006-11-19 23:58:12 +00:00
|
|
|
|
|
|
|
# Wireless NIC cards
|
2014-03-16 15:22:46 +00:00
|
|
|
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
|
2014-03-16 15:22:46 +00:00
|
|
|
device wlan_wep # 802.11 WEP support
|
|
|
|
device wlan_ccmp # 802.11 CCMP support
|
|
|
|
device wlan_tkip # 802.11 TKIP support
|
2008-03-20 17:44:58 +00:00
|
|
|
device wlan_xauth
|
2008-12-13 01:21:37 +00:00
|
|
|
|
2014-03-16 15:22:46 +00:00
|
|
|
device ath # Atheros NICs
|
|
|
|
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
|
2014-03-16 15:22:46 +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
|
2014-03-16 15:22:46 +00:00
|
|
|
device scbus # SCSI bus (required for ATA/SCSI)
|
|
|
|
device da # Direct Access (disks)
|
|
|
|
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
|