SAM9260EK revision 238443
1222417Sjulian# Kernel configuration for Ethernut 5 boards
2222417Sjulian#
3222417Sjulian# For more information on this file, please read the config(5) manual page,
4222417Sjulian# and/or the handbook section on Kernel Configuration Files:
5222417Sjulian#
6222417Sjulian#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7222417Sjulian#
8222417Sjulian# The handbook is also available locally in /usr/share/doc/handbook
9222417Sjulian# if you've installed the doc distribution, otherwise always see the
10222417Sjulian# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11222417Sjulian# latest information.
12222417Sjulian#
13222417Sjulian# An exhaustive list of options and more detailed explanations of the
14222417Sjulian# device lines is also present in the ../../conf/NOTES and NOTES files.
15222417Sjulian# If you are in doubt as to the purpose or necessity of a line, check first
16222417Sjulian# in NOTES.
17222417Sjulian#
18222417Sjulian# $FreeBSD: head/sys/arm/conf/SAM9260EK 238443 2012-07-14 06:13:23Z imp $
19222417Sjulian
20222417Sjulianident		ETHERNUT5
21222417Sjulian
22222417Sjulianinclude "../at91/std.ethernut5"
23222417Sjulian
24222417Sjulian# To statically compile in device wiring instead of /boot/device.hints
25222417Sjulianhints		"ETHERNUT5.hints"
26222417Sjulian
27222417Sjulian#makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
28222417Sjulian
29222417Sjulianoptions 	SCHED_4BSD		# 4BSD scheduler
30222417Sjulian#options 	PREEMPTION		# Enable kernel thread preemption
31222417Sjulianoptions 	INET			# InterNETworking
32235873Swblock#options 	INET6			# IPv6 communications protocols
33222417Sjulian#options 	SCTP			# Stream Control Transmission Protocol
34222417Sjulianoptions 	FFS			# Berkeley Fast Filesystem
35222417Sjulianoptions 	SOFTUPDATES		# Enable FFS soft updates support
36222417Sjulian#options 	UFS_ACL			# Support for access control lists
37222417Sjulianoptions 	UFS_DIRHASH		# Improve performance on big directories
38222417Sjulian#options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
39222417Sjulian#options 	MD_ROOT			# MD is a potential root device
40222417Sjulianoptions 	NFSCL			# New Network Filesystem Client
41222417Sjulian#options 	NFSD			# New Network Filesystem Server
42222417Sjulianoptions 	NFSLOCKD		# Network Lock Manager
43222417Sjulianoptions 	NFS_ROOT		# NFS usable as /, requires NFSCL
44222417Sjulian#options 	MSDOSFS			# MSDOS Filesystem
45222417Sjulian#options 	CD9660			# ISO 9660 Filesystem
46222417Sjulian#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
47222417Sjulian#options 	PSEUDOFS		# Pseudo-filesystem framework
48222417Sjulian#options 	GEOM_PART_GPT		# GUID Partition Tables.
49222417Sjulian#options 	GEOM_LABEL		# Provides labelization
50222417Sjulian#options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
51222417Sjulian#options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
52222417Sjulian#options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
53222417Sjulianoptions 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
54222417Sjulianoptions 	KTRACE			# ktrace(1) support
55222417Sjulian#options 	STACK			# stack(9) support
56222417Sjulianoptions 	SYSVSHM			# SYSV-style shared memory
57222417Sjulianoptions 	SYSVMSG			# SYSV-style message queues
58222417Sjulianoptions 	SYSVSEM			# SYSV-style semaphores
59222417Sjulianoptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
60222417Sjulianoptions 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
61222417Sjulian#options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
62222417Sjulian#options 	AUDIT			# Security event auditing
63222417Sjulian#options 	CAPABILITY_MODE		# Capsicum capability mode
64222417Sjulian#options 	CAPABILITIES		# Capsicum capabilities
65222417Sjulian#options 	MAC			# TrustedBSD MAC Framework
66222417Sjulian#options 	INCLUDE_CONFIG_FILE	# Include this file in kernel
67222417Sjulian
68222417Sjulian# required for netbooting
69222417Sjulianoptions 	BOOTP
70222417Sjulianoptions 	BOOTP_COMPAT
71222417Sjulianoptions 	BOOTP_NFSROOT
72222417Sjulianoptions 	BOOTP_NFSV3
73222417Sjulianoptions 	BOOTP_WIRED_TO=ate0
74222417Sjulian
75222417Sjulian# alternatively, boot from a MMC/SD memory card
76222417Sjulian#options 	ROOTDEVNAME=\"ufs:/dev/mmcsd0a\"
77222417Sjulian
78222417Sjulian# kernel/memory size reduction
79222417Sjulianoptions 	MUTEX_NOINLINE
80222417Sjulianoptions 	NO_FFS_SNAPSHOT
81222417Sjulianoptions 	NO_SWAPPING
82222417Sjulianoptions 	NO_SYSCTL_DESCR
83222417Sjulianoptions 	RWLOCK_NOINLINE
84222417Sjulian
85222417Sjulian# Debugging support.  Always need this:
86222417Sjulian#options 	KDB			# Enable kernel debugger support.
87222417Sjulian# For minimum debugger support (stable branch) use:
88222417Sjulian#options 	KDB_TRACE		# Print a stack trace for a panic.
89222417Sjulian# For full debugger support use this instead:
90222417Sjulian#options 	DDB			# Support DDB.
91222417Sjulian#options 	GDB			# Support remote GDB.
92222417Sjulian#options 	DEADLKRES		# Enable the deadlock resolver
93222417Sjulian#options 	INVARIANTS		# Enable calls of extra sanity checking
94222417Sjulian#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
95222417Sjulian#options 	WITNESS			# Enable checks to detect deadlocks and cycles
96222417Sjulian#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
97222417Sjulian#options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
98222417Sjulian
99222417Sjulian# The `bpf' device enables the Berkeley Packet Filter.
100222417Sjulian# Be aware of the administrative consequences of enabling this!
101222417Sjulian# Note that 'bpf' is required for DHCP.
102222417Sjuliandevice		bpf		# Berkeley packet filter
103222417Sjulian
104222417Sjulian# Ethernet
105222417Sjuliandevice		mii		# Minimal MII support
106222417Sjuliandevice		ate		# Atmel AT91 Ethernet friver
107222417Sjulian
108222417Sjulian# I2C
109222417Sjuliandevice		at91_twi	# Atmel AT91 Two-wire Interface
110222417Sjuliandevice		iic		# I2C generic I/O device driver
111222417Sjuliandevice		iicbus		# I2C bus system
112222417Sjuliandevice		pcf8563		# NXP PCF8563 clock/calendar
113222417Sjulian
114222417Sjulian# MMC/SD
115222417Sjuliandevice		at91_mci	# Atmel AT91 Multimedia Card Interface
116222417Sjulianoptions 	AT91_MCI_HAS_4WIRE
117222417Sjuliandevice		mmc		# MMC/SD bus
118222417Sjuliandevice		mmcsd		# MMC/SD memory card
119222417Sjulian
120222417Sjulian# DataFlash
121222417Sjuliandevice		at91_spi	# Atmel AT91 Serial Peripheral Interface
122222417Sjuliandevice		spibus		# SPI bus
123222417Sjuliandevice		at45d		# Atmel AT45D
124222417Sjuliandevice		geom_map	# GEOM partition mapping
125222417Sjulian
126238431Sdteske# Pseudo devices.
127device		loop		# Network loopback
128device		random		# Entropy device
129device		ether		# Ethernet support
130#device		vlan		# 802.1Q VLAN support
131#device		tun		# Packet tunnel.
132#device		md		# Memory "disks"
133#device		gif		# IPv6 and IPv4 tunneling
134#device		faith		# IPv6-to-IPv4 relaying (translation)
135#device		firmware	# firmware assist module
136
137# SCSI peripherals
138#device		scbus		# SCSI bus (required for ATA/SCSI)
139#device		ch		# SCSI media changers
140#device		da		# Direct Access (disks)
141#device		sa		# Sequential Access (tape etc)
142#device		cd		# CD
143#device		pass		# Passthrough device (direct ATA/SCSI access)
144#device		ses		# Enclosure Services (SES and SAF-TE)
145#device		ctl		# CAM Target Layer
146
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