SAM9260EK revision 236497
1261409Sbr# Kernel configuration for Ethernut 5 boards
2261409Sbr#
3261409Sbr# For more information on this file, please read the config(5) manual page,
4261409Sbr# and/or the handbook section on Kernel Configuration Files:
5261409Sbr#
6261409Sbr#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7261409Sbr#
8261409Sbr# The handbook is also available locally in /usr/share/doc/handbook
9261409Sbr# if you've installed the doc distribution, otherwise always see the
10261409Sbr# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11261409Sbr# latest information.
12261409Sbr#
13261409Sbr# An exhaustive list of options and more detailed explanations of the
14261409Sbr# device lines is also present in the ../../conf/NOTES and NOTES files.
15261409Sbr# If you are in doubt as to the purpose or necessity of a line, check first
16261409Sbr# in NOTES.
17261409Sbr#
18261409Sbr# $FreeBSD: head/sys/arm/conf/ETHERNUT5 236497 2012-06-03 01:07:55Z marius $
19261409Sbr
20261409Sbrident		ETHERNUT5
21261409Sbr
22261409Sbrinclude "../at91/std.ethernut5"
23261409Sbr
24261409Sbr# To statically compile in device wiring instead of /boot/device.hints
25261409Sbrhints		"ETHERNUT5.hints"
26261409Sbr
27261409Sbr#makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
28261409Sbr
29261409Sbroptions 	SCHED_4BSD		# 4BSD scheduler
30261409Sbr#options 	PREEMPTION		# Enable kernel thread preemption
31261409Sbroptions 	INET			# InterNETworking
32261409Sbr#options 	INET6			# IPv6 communications protocols
33261409Sbr#options 	SCTP			# Stream Control Transmission Protocol
34261409Sbroptions 	FFS			# Berkeley Fast Filesystem
35261409Sbroptions 	SOFTUPDATES		# Enable FFS soft updates support
36261409Sbr#options 	UFS_ACL			# Support for access control lists
37261409Sbroptions 	UFS_DIRHASH		# Improve performance on big directories
38261409Sbr#options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
39261409Sbr#options 	MD_ROOT			# MD is a potential root device
40261409Sbroptions 	NFSCL			# New Network Filesystem Client
41261409Sbr#options 	NFSD			# New Network Filesystem Server
42261409Sbroptions 	NFSLOCKD		# Network Lock Manager
43261409Sbroptions 	NFS_ROOT		# NFS usable as /, requires NFSCL
44261409Sbr#options 	MSDOSFS			# MSDOS Filesystem
45261409Sbr#options 	CD9660			# ISO 9660 Filesystem
46261409Sbr#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
47261409Sbr#options 	PSEUDOFS		# Pseudo-filesystem framework
48261409Sbr#options 	GEOM_PART_GPT		# GUID Partition Tables.
49261409Sbr#options 	GEOM_LABEL		# Provides labelization
50261409Sbr#options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
51261409Sbr#options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
52261409Sbr#options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
53261409Sbroptions 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
54261409Sbroptions 	KTRACE			# ktrace(1) support
55261409Sbr#options 	STACK			# stack(9) support
56261409Sbroptions 	SYSVSHM			# SYSV-style shared memory
57261409Sbroptions 	SYSVMSG			# SYSV-style message queues
58261409Sbroptions 	SYSVSEM			# SYSV-style semaphores
59261409Sbroptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
60261409Sbroptions 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
61261409Sbr#options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
62261409Sbr#options 	AUDIT			# Security event auditing
63261409Sbr#options 	CAPABILITY_MODE		# Capsicum capability mode
64261778Sbr#options 	CAPABILITIES		# Capsicum capabilities
65261778Sbr#options 	MAC			# TrustedBSD MAC Framework
66261409Sbr#options 	INCLUDE_CONFIG_FILE	# Include this file in kernel
67261409Sbr
68261778Sbr# required for netbooting
69261409Sbroptions 	BOOTP
70261409Sbroptions 	BOOTP_COMPAT
71261409Sbroptions 	BOOTP_NFSROOT
72261409Sbroptions 	BOOTP_NFSV3
73261409Sbroptions 	BOOTP_WIRED_TO=ate0
74261409Sbr
75261409Sbr# alternatively, boot from a MMC/SD memory card
76261409Sbr#options 	ROOTDEVNAME=\"ufs:/dev/mmcsd0a\"
77261409Sbr
78261409Sbr# kernel/memory size reduction
79261409Sbroptions 	MUTEX_NOINLINE
80261409Sbroptions 	NO_FFS_SNAPSHOT
81261409Sbroptions 	NO_SWAPPING
82261409Sbroptions 	NO_SYSCTL_DESCR
83261409Sbroptions 	RWLOCK_NOINLINE
84261409Sbr
85261409Sbr# Debugging support.  Always need this:
86261409Sbr#options 	KDB			# Enable kernel debugger support.
87261409Sbr# For minimum debugger support (stable branch) use:
88261409Sbr#options 	KDB_TRACE		# Print a stack trace for a panic.
89261409Sbr# For full debugger support use this instead:
90261409Sbr#options 	DDB			# Support DDB.
91261409Sbr#options 	GDB			# Support remote GDB.
92261409Sbr#options 	DEADLKRES		# Enable the deadlock resolver
93261409Sbr#options 	INVARIANTS		# Enable calls of extra sanity checking
94261409Sbr#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
95261409Sbr#options 	WITNESS			# Enable checks to detect deadlocks and cycles
96261409Sbr#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
97261409Sbr#options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
98261409Sbr
99261409Sbr# The `bpf' device enables the Berkeley Packet Filter.
100261409Sbr# Be aware of the administrative consequences of enabling this!
101261409Sbr# Note that 'bpf' is required for DHCP.
102261409Sbrdevice		bpf		# Berkeley packet filter
103261409Sbr
104261409Sbr# Ethernet
105261409Sbrdevice		mii		# Minimal MII support
106261409Sbrdevice		ate		# Atmel AT91 Ethernet friver
107261409Sbr
108261409Sbr# I2C
109261409Sbrdevice		at91_twi	# Atmel AT91 Two-wire Interface
110261409Sbrdevice		iic		# I2C generic I/O device driver
111261409Sbrdevice		iicbus		# I2C bus system
112261409Sbrdevice		pcf8563		# NXP PCF8563 clock/calendar
113261409Sbr
114261409Sbr# MMC/SD
115261409Sbrdevice		at91_mci	# Atmel AT91 Multimedia Card Interface
116261409Sbroptions 	AT91_MCI_HAS_4WIRE
117261409Sbrdevice		mmc		# MMC/SD bus
118261409Sbrdevice		mmcsd		# MMC/SD memory card
119261409Sbr
120261409Sbr# DataFlash
121261409Sbrdevice		at91_spi	# Atmel AT91 Serial Peripheral Interface
122261409Sbrdevice		spibus		# SPI bus
123261409Sbrdevice		at45d		# Atmel AT45D
124261409Sbrdevice		geom_map	# GEOM partition mapping
125261409Sbr
126261409Sbr# Pseudo devices.
127262552Sbrdevice		loop		# Network loopback
128262552Sbrdevice		random		# Entropy device
129261409Sbrdevice		ether		# Ethernet support
130261409Sbr#device		vlan		# 802.1Q VLAN support
131261409Sbr#device		tun		# Packet tunnel.
132261409Sbr#device		md		# Memory "disks"
133261409Sbr#device		gif		# IPv6 and IPv4 tunneling
134261409Sbr#device		faith		# IPv6-to-IPv4 relaying (translation)
135261409Sbr#device		firmware	# firmware assist module
136261409Sbr
137261409Sbr# SCSI peripherals
138261409Sbr#device		scbus		# SCSI bus (required for ATA/SCSI)
139261409Sbr#device		ch		# SCSI media changers
140261413Sbr#device		da		# Direct Access (disks)
141261413Sbr#device		sa		# Sequential Access (tape etc)
142261413Sbr#device		cd		# CD
143261413Sbr#device		pass		# Passthrough device (direct ATA/SCSI access)
144261413Sbr#device		ses		# Enclosure Services (SES and SAF-TE)
145261413Sbr#device		ctl		# CAM Target Layer
146261413Sbr
147# Serial (COM) ports
148device		uart		# Multi-uart driver
149options 	ALT_BREAK_TO_DEBUGGER
150
151# USB support
152#options 	USB_DEBUG	# enable debug msgs
153device		ohci		# OHCI PCI->USB interface
154device		usb		# USB Bus (required)
155#device		umass		# Disks/Mass storage - Requires scbus and da
156
157# watchdog
158device		at91_wdt	# Atmel AT91 Watchdog Timer
159