CAMBRIA revision 266175
1# CAMBRIA -- Gateworks Cambria 235x boards
2# kernel configuration file for FreeBSD/arm
3#
4# For more information on this file, please read the handbook section on
5# Kernel Configuration Files:
6#
7#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8#
9# The handbook is also available locally in /usr/share/doc/handbook
10# if you've installed the doc distribution, otherwise always see the
11# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12# latest information.
13#
14# An exhaustive list of options and more detailed explanations of the
15# device lines is also present in the ../../conf/NOTES and NOTES files.
16# If you are in doubt as to the purpose or necessity of a line, check first
17# in NOTES.
18#
19# $FreeBSD: stable/10/sys/arm/conf/CAMBRIA 266175 2014-05-15 19:09:31Z ian $
20
21ident		CAMBRIA
22
23include		"../xscale/ixp425/std.ixp435"
24# NB: memory mapping is defined in std.avila
25include		"../xscale/ixp425/std.avila"
26options 	XSCALE_CACHE_READ_WRITE_ALLOCATE
27#To statically compile in device wiring instead of /boot/device.hints
28hints		"CAMBRIA.hints"		# Default places to look for devices.
29
30makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
31makeoptions	CONF_CFLAGS=-mcpu=xscale
32makeoptions	MODULES_OVERRIDE=""
33#options 	HZ=1000
34options 	HZ=100
35options 	DEVICE_POLLING
36
37# Debugging for use in -current
38options 	KDB
39#options 	GDB
40options 	DDB			#Enable the kernel debugger
41#options 	DEADLKRES		#Enable the deadlock resolver
42options 	INVARIANTS		#Enable calls of extra sanity checking
43options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
44#options 	WITNESS			#Enable checks to detect deadlocks and cycles
45#options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
46#options 	DIAGNOSTIC
47
48options 	SCHED_4BSD		#4BSD scheduler
49#options 	PREEMPTION
50options 	INET			#InterNETworking
51options 	FFS			#Berkeley Fast Filesystem
52options 	SOFTUPDATES		#Enable FFS soft updates support
53options 	NFSCL			#New Network Filesystem Client
54options 	NFS_ROOT		#NFS usable as /, requires NFSCL
55options 	BOOTP
56options 	BOOTP_NFSROOT
57options 	BOOTP_NFSV3
58options 	BOOTP_WIRED_TO=npe0
59options 	BOOTP_COMPAT
60
61# Hardware performance counters
62options 	HWPMC_HOOKS
63device		hwpmc
64
65#options 	VERBOSE_SYSINIT
66options 	VERBOSE_INIT_ARM
67
68#device		saarm
69
70device		pci
71device		uart
72
73device		ixpwdog		# watchdog timer
74
75options 	IXP4XX_FLASH_SIZE=0x02000000	# stock 2358 comes w/ 32M
76device		cfi		# flash support
77device		cfid		# flash disk support
78device		geom_redboot	# redboot fis parser
79
80# I2C Bus
81device		iicbus
82device		iicbb
83device		iic
84
85device		ixpiic		# I2C bus glue
86device		ds1672		# DS1672 on I2C bus
87device		ad7418		# AD7418 on I2C bus
88
89device		cambria_fled	# Font Panel LED on I2C bus
90device		cambria_led	# 8-LED latch
91
92device		gpio
93device		gpioled
94device		cambria_gpio	# GPIO pins on J11
95
96device		ata
97device		avila_ata	# Gateworks CF/IDE support
98
99device		npe		# Network Processing Engine
100device		npe_fw
101device		firmware
102device		qmgr		# Q Manager (required by npe)
103device		mii		# NB: required by npe
104device		ether
105device		bpf
106
107device		loop
108device		if_bridge
109
110device		md
111device		random		# Entropy device
112
113# Wireless NIC cards
114device		wlan		# 802.11 support
115options 	IEEE80211_DEBUG
116options 	IEEE80211_SUPPORT_TDMA
117options 	IEEE80211_SUPPORT_MESH
118device		wlan_wep	# 802.11 WEP support
119device		wlan_ccmp	# 802.11 CCMP support
120device		wlan_tkip	# 802.11 TKIP support
121device		wlan_xauth
122
123device		ath		# Atheros NICs
124device		ath_pci		# Atheros pci/cardbus glue
125options 	ATH_DEBUG
126options 	ATH_DIAGAPI
127options 	ATH_ENABLE_DFS
128options 	ATH_ENABLE_11N
129#options 	ATH_TX99_DIAG
130device		ath_rate_sample	# SampleRate tx rate control for ath
131
132options 	AH_DEBUG
133options 	AH_PRIVATE_DIAG
134options 	AH_SUPPORT_AR5416	# NB: for 11n descriptor format
135device		ath_hal
136
137# NB: 2 USB 2.0 ports standard
138device		usb
139options 	USB_EHCI_BIG_ENDIAN_DESC	# handle big-endian byte order
140#options 	USB_DEBUG
141device		ehci
142device		umass
143device		scbus		# SCSI bus (required for ATA/SCSI)
144device		da		# Direct Access (disks)
145device		pass		# Passthrough device (direct ATA/SCSI access)
146
147#device		ural
148#device		zyd
149#device		wlan_amrr
150