2008-12-17 00:53:59 +00:00
|
|
|
# CAMBRIA -- Gateworks Cambria 235x boards
|
|
|
|
# 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
|
2008-12-17 00:53:59 +00:00
|
|
|
# in NOTES.
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
ident CAMBRIA
|
|
|
|
|
2015-05-07 12:38:23 +00:00
|
|
|
include "std.arm"
|
|
|
|
include "../xscale/ixp425/std.ixp435"
|
2008-12-17 00:53:59 +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-17 00:53:59 +00:00
|
|
|
options XSCALE_CACHE_READ_WRITE_ALLOCATE
|
|
|
|
#To statically compile in device wiring instead of /boot/device.hints
|
|
|
|
hints "CAMBRIA.hints" # Default places to look for devices.
|
|
|
|
|
2014-03-16 15:22:46 +00:00
|
|
|
makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
|
2008-12-17 00:53:59 +00:00
|
|
|
makeoptions CONF_CFLAGS=-mcpu=xscale
|
|
|
|
makeoptions MODULES_OVERRIDE=""
|
|
|
|
#options HZ=1000
|
|
|
|
options HZ=100
|
|
|
|
options DEVICE_POLLING
|
|
|
|
|
|
|
|
# Debugging for use in -current
|
|
|
|
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-12-17 00:53:59 +00:00
|
|
|
#options DIAGNOSTIC
|
|
|
|
|
2014-03-16 15:22:46 +00:00
|
|
|
options SCHED_4BSD # 4BSD scheduler
|
2008-12-17 00:53:59 +00:00
|
|
|
#options PREEMPTION
|
2014-03-16 15:22:46 +00:00
|
|
|
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-12-17 00:53:59 +00:00
|
|
|
options BOOTP
|
|
|
|
options BOOTP_NFSROOT
|
|
|
|
options BOOTP_NFSV3
|
|
|
|
options BOOTP_WIRED_TO=npe0
|
|
|
|
options BOOTP_COMPAT
|
|
|
|
|
2009-12-23 23:16:54 +00:00
|
|
|
# Hardware performance counters
|
|
|
|
options HWPMC_HOOKS
|
|
|
|
device hwpmc
|
|
|
|
|
2008-12-17 00:53:59 +00:00
|
|
|
#options VERBOSE_SYSINIT
|
|
|
|
options VERBOSE_INIT_ARM
|
|
|
|
|
|
|
|
#device saarm
|
|
|
|
|
|
|
|
device pci
|
|
|
|
device uart
|
|
|
|
|
2014-03-16 15:22:46 +00:00
|
|
|
device ixpwdog # watchdog timer
|
2009-03-10 21:49:51 +00:00
|
|
|
|
2014-03-16 15:22:46 +00:00
|
|
|
options IXP4XX_FLASH_SIZE=0x02000000 # stock 2358 comes w/ 32M
|
|
|
|
device cfi # flash support
|
|
|
|
device cfid # flash disk support
|
|
|
|
device geom_redboot # redboot fis parser
|
2009-03-09 23:25:34 +00:00
|
|
|
|
2008-12-17 00:53:59 +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
|
2008-12-17 00:53:59 +00:00
|
|
|
|
2014-03-16 15:22:46 +00:00
|
|
|
device cambria_fled # Font Panel LED on I2C bus
|
|
|
|
device cambria_led # 8-LED latch
|
2008-12-17 00:53:59 +00:00
|
|
|
|
2010-11-11 20:18:33 +00:00
|
|
|
device gpio
|
|
|
|
device gpioled
|
2014-03-16 15:22:46 +00:00
|
|
|
device cambria_gpio # GPIO pins on J11
|
2010-11-11 20:18:33 +00:00
|
|
|
|
2008-12-17 00:53:59 +00:00
|
|
|
device ata
|
2014-03-16 15:22:46 +00:00
|
|
|
device avila_ata # Gateworks CF/IDE support
|
2008-12-17 00:53:59 +00:00
|
|
|
|
2014-03-16 15:22:46 +00:00
|
|
|
device npe # Network Processing Engine
|
2008-12-17 00:53:59 +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
|
2008-12-17 00:53:59 +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
|
2008-12-17 00:53:59 +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-12-17 00:53:59 +00:00
|
|
|
device wlan_xauth
|
|
|
|
|
2014-03-16 15:22:46 +00:00
|
|
|
device ath # Atheros NICs
|
|
|
|
device ath_pci # Atheros pci/cardbus glue
|
2008-12-17 00:53:59 +00:00
|
|
|
options ATH_DEBUG
|
2009-05-10 00:00:25 +00:00
|
|
|
options ATH_DIAGAPI
|
2012-11-18 14:05:28 +00:00
|
|
|
options ATH_ENABLE_DFS
|
|
|
|
options ATH_ENABLE_11N
|
2009-05-10 00:00:25 +00:00
|
|
|
#options ATH_TX99_DIAG
|
2014-03-16 15:22:46 +00:00
|
|
|
device ath_rate_sample # SampleRate tx rate control for ath
|
2008-12-17 00:53:59 +00:00
|
|
|
|
2012-11-17 21:55:49 +00:00
|
|
|
options AH_DEBUG
|
2009-05-10 00:00:25 +00:00
|
|
|
options AH_PRIVATE_DIAG
|
2011-04-29 14:01:49 +00:00
|
|
|
options AH_SUPPORT_AR5416 # NB: for 11n descriptor format
|
2012-11-17 21:55:49 +00:00
|
|
|
device ath_hal
|
2008-12-17 00:53:59 +00:00
|
|
|
|
2009-03-06 23:26:50 +00:00
|
|
|
# NB: 2 USB 2.0 ports standard
|
2009-03-11 00:12:45 +00:00
|
|
|
device usb
|
2014-03-16 15:22:46 +00:00
|
|
|
options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order
|
2009-05-10 00:00:25 +00:00
|
|
|
#options USB_DEBUG
|
2009-03-11 00:12:45 +00:00
|
|
|
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-03-11 00:12:45 +00:00
|
|
|
#device ural
|
|
|
|
#device zyd
|
2009-03-06 23:26:50 +00:00
|
|
|
#device wlan_amrr
|