SAM9260EK revision 238823
1235348Smarius# Kernel configuration for Ethernut 5 boards
2235348Smarius#
3235348Smarius# For more information on this file, please read the config(5) manual page,
4235348Smarius# and/or the handbook section on Kernel Configuration Files:
5235348Smarius#
6235348Smarius#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7235348Smarius#
8235348Smarius# The handbook is also available locally in /usr/share/doc/handbook
9235348Smarius# if you've installed the doc distribution, otherwise always see the
10235348Smarius# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11235348Smarius# latest information.
12235348Smarius#
13235348Smarius# An exhaustive list of options and more detailed explanations of the
14235348Smarius# device lines is also present in the ../../conf/NOTES and NOTES files.
15235348Smarius# If you are in doubt as to the purpose or necessity of a line, check first
16235348Smarius# in NOTES.
17235348Smarius#
18235348Smarius# $FreeBSD: head/sys/arm/conf/SAM9260EK 238823 2012-07-27 05:37:01Z imp $
19235348Smarius
20238785Simpident		SAM9260EK
21235348Smarius
22238785Simpinclude "../at91/std.sam9260ek"
23235348Smarius
24235348Smarius# To statically compile in device wiring instead of /boot/device.hints
25238785Simphints		"SAM9260EK.hints"
26235348Smarius
27235348Smarius#makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
28235348Smarius
29235348Smariusoptions 	SCHED_4BSD		# 4BSD scheduler
30235348Smarius#options 	PREEMPTION		# Enable kernel thread preemption
31235348Smariusoptions 	INET			# InterNETworking
32235348Smarius#options 	INET6			# IPv6 communications protocols
33235348Smarius#options 	SCTP			# Stream Control Transmission Protocol
34235348Smariusoptions 	FFS			# Berkeley Fast Filesystem
35235348Smariusoptions 	SOFTUPDATES		# Enable FFS soft updates support
36235348Smarius#options 	UFS_ACL			# Support for access control lists
37235348Smariusoptions 	UFS_DIRHASH		# Improve performance on big directories
38235348Smarius#options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
39235348Smarius#options 	MD_ROOT			# MD is a potential root device
40235348Smariusoptions 	NFSCL			# New Network Filesystem Client
41235348Smarius#options 	NFSD			# New Network Filesystem Server
42235348Smariusoptions 	NFSLOCKD		# Network Lock Manager
43235348Smariusoptions 	NFS_ROOT		# NFS usable as /, requires NFSCL
44235348Smarius#options 	MSDOSFS			# MSDOS Filesystem
45235348Smarius#options 	CD9660			# ISO 9660 Filesystem
46235348Smarius#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
47235348Smarius#options 	PSEUDOFS		# Pseudo-filesystem framework
48235348Smarius#options 	GEOM_PART_GPT		# GUID Partition Tables.
49235348Smarius#options 	GEOM_LABEL		# Provides labelization
50235348Smarius#options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
51235348Smarius#options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
52235348Smarius#options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
53235348Smariusoptions 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
54235348Smariusoptions 	KTRACE			# ktrace(1) support
55235348Smarius#options 	STACK			# stack(9) support
56235348Smariusoptions 	SYSVSHM			# SYSV-style shared memory
57235348Smariusoptions 	SYSVMSG			# SYSV-style message queues
58235348Smariusoptions 	SYSVSEM			# SYSV-style semaphores
59235348Smariusoptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
60235348Smariusoptions 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
61235348Smarius#options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
62235348Smarius#options 	AUDIT			# Security event auditing
63235348Smarius#options 	CAPABILITY_MODE		# Capsicum capability mode
64235348Smarius#options 	CAPABILITIES		# Capsicum capabilities
65235348Smarius#options 	MAC			# TrustedBSD MAC Framework
66235348Smarius#options 	INCLUDE_CONFIG_FILE	# Include this file in kernel
67235348Smarius
68235348Smarius# required for netbooting
69238823Simp#options 	BOOTP
70238823Simp#options 	BOOTP_COMPAT
71238823Simp#options 	BOOTP_NFSROOT
72238823Simp#options 	BOOTP_NFSV3
73238823Simp#options 	BOOTP_WIRED_TO=ate0
74235348Smarius
75235348Smarius# alternatively, boot from a MMC/SD memory card
76238823Simp#options 	ROOTDEVNAME=\"ufs:/dev/mmcsd0s1a\"
77235348Smarius
78238823Simp# Alternatively, boot from a USB card.
79238823Simpoptions 	ROOTDEVNAME=\"ufs:/dev/da0s1a\"
80238823Simp
81235348Smarius# kernel/memory size reduction
82235348Smariusoptions 	MUTEX_NOINLINE
83235348Smariusoptions 	NO_FFS_SNAPSHOT
84235348Smariusoptions 	NO_SWAPPING
85235348Smariusoptions 	NO_SYSCTL_DESCR
86235348Smariusoptions 	RWLOCK_NOINLINE
87235348Smarius
88235348Smarius# Debugging support.  Always need this:
89235348Smarius#options 	KDB			# Enable kernel debugger support.
90235348Smarius# For minimum debugger support (stable branch) use:
91235348Smarius#options 	KDB_TRACE		# Print a stack trace for a panic.
92235348Smarius# For full debugger support use this instead:
93235348Smarius#options 	DDB			# Support DDB.
94235348Smarius#options 	GDB			# Support remote GDB.
95235348Smarius#options 	DEADLKRES		# Enable the deadlock resolver
96235348Smarius#options 	INVARIANTS		# Enable calls of extra sanity checking
97235348Smarius#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
98235348Smarius#options 	WITNESS			# Enable checks to detect deadlocks and cycles
99235348Smarius#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
100235348Smarius#options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
101235348Smarius
102235348Smarius# The `bpf' device enables the Berkeley Packet Filter.
103235348Smarius# Be aware of the administrative consequences of enabling this!
104235348Smarius# Note that 'bpf' is required for DHCP.
105235348Smariusdevice		bpf		# Berkeley packet filter
106235348Smarius
107235348Smarius# Ethernet
108235348Smariusdevice		mii		# Minimal MII support
109238785Simpdevice		ate		# Atmel AT91 Ethernet driver
110235348Smarius
111235348Smarius# I2C
112235348Smariusdevice		at91_twi	# Atmel AT91 Two-wire Interface
113235348Smariusdevice		iic		# I2C generic I/O device driver
114235348Smariusdevice		iicbus		# I2C bus system
115238785Simpdevice		icee		# I2C eeprom
116235348Smarius
117235348Smarius# MMC/SD
118238823Simp# See comment for DataFlash below
119235348Smariusdevice		at91_mci	# Atmel AT91 Multimedia Card Interface
120238823Simpoptions 	AT91_MCI_HAS_4WIRE	# 4 wires
121238823Simpoptions 	AT91_MCI_SLOT_B		# Wired to slot B
122235348Smariusdevice		mmc		# MMC/SD bus
123235348Smariusdevice		mmcsd		# MMC/SD memory card
124235348Smarius
125236497Smarius# DataFlash
126238823Simp# The DataFlash and MMC card are wired together, so we must pick one or the
127238823Simp# other.  This is due to pin mux, and also due to the design of the
128238823Simp# SAM9260EK board.  SLOT A wouldn't have this issue.
129238823Simp#device		at91_spi	# Atmel AT91 Serial Peripheral Interface
130238823Simp#device		spibus		# SPI bus
131238823Simp#device		at45d		# Atmel AT45D
132238823Simp#device		geom_map	# GEOM partition mapping
133235348Smarius
134235348Smarius# Pseudo devices.
135235348Smariusdevice		loop		# Network loopback
136235348Smariusdevice		random		# Entropy device
137235348Smariusdevice		ether		# Ethernet support
138235348Smarius#device		vlan		# 802.1Q VLAN support
139235348Smarius#device		tun		# Packet tunnel.
140235348Smarius#device		md		# Memory "disks"
141235348Smarius#device		gif		# IPv6 and IPv4 tunneling
142235348Smarius#device		faith		# IPv6-to-IPv4 relaying (translation)
143235348Smarius#device		firmware	# firmware assist module
144235348Smarius
145235348Smarius# SCSI peripherals
146238823Simpdevice		scbus		# SCSI bus (required for ATA/SCSI)
147235348Smarius#device		ch		# SCSI media changers
148238823Simpdevice		da		# Direct Access (disks)
149235348Smarius#device		sa		# Sequential Access (tape etc)
150238823Simpdevice		cd		# CD/DVD
151238823Simpdevice		pass		# Passthrough device (direct ATA/SCSI access)
152238823Simpdevice		ses		# Enclosure Services (SES and SAF-TE)
153235348Smarius#device		ctl		# CAM Target Layer
154235348Smarius
155235348Smarius# Serial (COM) ports
156235348Smariusdevice		uart		# Multi-uart driver
157235348Smariusoptions 	ALT_BREAK_TO_DEBUGGER
158235348Smarius
159235348Smarius# USB support
160235348Smarius#options 	USB_DEBUG	# enable debug msgs
161238823Simpdevice		ohci		# OHCI USB interface
162235348Smariusdevice		usb		# USB Bus (required)
163238823Simpdevice		umass		# Disks/Mass storage - Requires scbus and da
164235348Smarius
165235348Smarius# watchdog
166235348Smariusdevice		at91_wdt	# Atmel AT91 Watchdog Timer
167