SAM9260EK revision 266086
1# Kernel configuration for Ethernut 5 boards
2#
3# For more information on this file, please read the config(5) manual page,
4# and/or the handbook section on Kernel Configuration Files:
5#
6#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7#
8# The handbook is also available locally in /usr/share/doc/handbook
9# if you've installed the doc distribution, otherwise always see the
10# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11# latest information.
12#
13# An exhaustive list of options and more detailed explanations of the
14# device lines is also present in the ../../conf/NOTES and NOTES files.
15# If you are in doubt as to the purpose or necessity of a line, check first
16# in NOTES.
17#
18# $FreeBSD: stable/10/sys/arm/conf/SAM9260EK 266086 2014-05-14 20:17:31Z ian $
19
20ident		SAM9260EK
21
22include "../at91/std.sam9260ek"
23
24# To statically compile in device wiring instead of /boot/device.hints
25hints		"SAM9260EK.hints"
26
27#makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
28
29options 	SCHED_4BSD		# 4BSD scheduler
30#options 	PREEMPTION		# Enable kernel thread preemption
31options 	INET			# InterNETworking
32#options 	INET6			# IPv6 communications protocols
33#options 	SCTP			# Stream Control Transmission Protocol
34options 	FFS			# Berkeley Fast Filesystem
35options 	SOFTUPDATES		# Enable FFS soft updates support
36#options 	UFS_ACL			# Support for access control lists
37options 	UFS_DIRHASH		# Improve performance on big directories
38#options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
39#options 	MD_ROOT			# MD is a potential root device
40options 	NFSCL			# New Network Filesystem Client
41#options 	NFSD			# New Network Filesystem Server
42options 	NFSLOCKD		# Network Lock Manager
43options 	NFS_ROOT		# NFS usable as /, requires NFSCL
44#options 	MSDOSFS			# MSDOS Filesystem
45#options 	CD9660			# ISO 9660 Filesystem
46#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
47#options 	PSEUDOFS		# Pseudo-filesystem framework
48#options 	GEOM_PART_GPT		# GUID Partition Tables.
49#options 	GEOM_LABEL		# Provides labelization
50#options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
51#options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
52#options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
53options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
54options 	KTRACE			# ktrace(1) support
55#options 	STACK			# stack(9) support
56options 	SYSVSHM			# SYSV-style shared memory
57options 	SYSVMSG			# SYSV-style message queues
58options 	SYSVSEM			# SYSV-style semaphores
59options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
60options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
61#options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
62#options 	AUDIT			# Security event auditing
63#options 	CAPABILITY_MODE		# Capsicum capability mode
64#options 	CAPABILITIES		# Capsicum capabilities
65#options 	MAC			# TrustedBSD MAC Framework
66#options 	INCLUDE_CONFIG_FILE	# Include this file in kernel
67
68# required for netbooting
69#options 	BOOTP
70#options 	BOOTP_COMPAT
71#options 	BOOTP_NFSROOT
72#options 	BOOTP_NFSV3
73#options 	BOOTP_WIRED_TO=ate0
74
75# alternatively, boot from a MMC/SD memory card
76#options 	ROOTDEVNAME=\"ufs:/dev/mmcsd0s1a\"
77
78# Alternatively, boot from a USB card.
79options 	ROOTDEVNAME=\"ufs:/dev/da0s1a\"
80
81# kernel/memory size reduction
82options 	MUTEX_NOINLINE
83options 	NO_FFS_SNAPSHOT
84options 	NO_SWAPPING
85options 	NO_SYSCTL_DESCR
86options 	RWLOCK_NOINLINE
87
88# Debugging support.  Always need this:
89#options 	KDB			# Enable kernel debugger support.
90# For minimum debugger support (stable branch) use:
91#options 	KDB_TRACE		# Print a stack trace for a panic.
92# For full debugger support use this instead:
93#options 	DDB			# Support DDB.
94#options 	GDB			# Support remote GDB.
95#options 	DEADLKRES		# Enable the deadlock resolver
96#options 	INVARIANTS		# Enable calls of extra sanity checking
97#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
98#options 	WITNESS			# Enable checks to detect deadlocks and cycles
99#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
100#options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
101
102# The `bpf' device enables the Berkeley Packet Filter.
103# Be aware of the administrative consequences of enabling this!
104# Note that 'bpf' is required for DHCP.
105device		bpf		# Berkeley packet filter
106
107# Ethernet
108device		mii		# Minimal MII support
109device		ate		# Atmel AT91 Ethernet driver
110
111# I2C
112device		at91_twi	# Atmel AT91 Two-wire Interface
113device		iic		# I2C generic I/O device driver
114device		iicbus		# I2C bus system
115device		icee		# I2C eeprom
116
117# MMC/SD
118# See comment for DataFlash below
119device		at91_mci	# Atmel AT91 Multimedia Card Interface
120options 	AT91_MCI_HAS_4WIRE	# 4 wires
121options 	AT91_MCI_SLOT_B		# Wired to slot B
122device		mmc		# MMC/SD bus
123device		mmcsd		# MMC/SD memory card
124
125# DataFlash
126# The DataFlash and MMC card are wired together, so we must pick one or the
127# other.  This is due to pin mux, and also due to the design of the
128# SAM9260EK board.  SLOT A wouldn't have this issue.
129#device		at91_spi	# Atmel AT91 Serial Peripheral Interface
130#device		spibus		# SPI bus
131#device		at45d		# Atmel AT45D
132#device		geom_map	# GEOM partition mapping
133
134# Pseudo devices.
135device		loop		# Network loopback
136device		random		# Entropy device
137device		ether		# Ethernet support
138#device		vlan		# 802.1Q VLAN support
139#device		tun		# Packet tunnel.
140#device		md		# Memory "disks"
141#device		gif		# IPv6 and IPv4 tunneling
142#device		faith		# IPv6-to-IPv4 relaying (translation)
143#device		firmware	# firmware assist module
144
145# SCSI peripherals
146device		scbus		# SCSI bus (required for ATA/SCSI)
147#device		ch		# SCSI media changers
148device		da		# Direct Access (disks)
149#device		sa		# Sequential Access (tape etc)
150device		cd		# CD/DVD
151device		pass		# Passthrough device (direct ATA/SCSI access)
152device		ses		# Enclosure Services (SES and SAF-TE)
153#device		ctl		# CAM Target Layer
154
155# Serial (COM) ports
156device		uart		# Multi-uart driver
157options 	ALT_BREAK_TO_DEBUGGER
158
159# USB support
160options 	USB_HOST_ALIGN=32	# Align usb buffers to cache line size.
161#options 	USB_DEBUG	# enable debug msgs
162device		ohci		# OHCI USB interface
163device		usb		# USB Bus (required)
164device		umass		# Disks/Mass storage - Requires scbus and da
165
166# watchdog
167device		at91_wdt	# Atmel AT91 Watchdog Timer
168