SAM9260EK revision 266087
1# Kernel configuration for Atmel SAM9260-EK eval board
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 266087 2014-05-14 20:31:54Z 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 	NANDFS			# NAND file system
41options 	NFSCL			# New Network Filesystem Client
42#options 	NFSD			# New Network Filesystem Server
43options 	NFSLOCKD		# Network Lock Manager
44options 	NFS_ROOT		# NFS usable as /, requires NFSCL
45#options 	MSDOSFS			# MSDOS Filesystem
46#options 	CD9660			# ISO 9660 Filesystem
47#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
48#options 	PSEUDOFS		# Pseudo-filesystem framework
49#options 	GEOM_PART_GPT		# GUID Partition Tables.
50#options 	GEOM_LABEL		# Provides labelization
51#options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
52#options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
53#options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
54options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
55options 	KTRACE			# ktrace(1) support
56#options 	STACK			# stack(9) support
57options 	SYSVSHM			# SYSV-style shared memory
58options 	SYSVMSG			# SYSV-style message queues
59options 	SYSVSEM			# SYSV-style semaphores
60options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
61options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
62#options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
63#options 	AUDIT			# Security event auditing
64#options 	CAPABILITY_MODE		# Capsicum capability mode
65#options 	CAPABILITIES		# Capsicum capabilities
66#options 	MAC			# TrustedBSD MAC Framework
67#options 	INCLUDE_CONFIG_FILE	# Include this file in kernel
68
69# required for netbooting
70#options 	BOOTP
71#options 	BOOTP_COMPAT
72#options 	BOOTP_NFSROOT
73#options 	BOOTP_NFSV3
74#options 	BOOTP_WIRED_TO=ate0
75
76# alternatively, boot from a MMC/SD memory card
77#options 	ROOTDEVNAME=\"ufs:/dev/mmcsd0s1a\"
78
79# Alternatively, boot from a USB card.
80options 	ROOTDEVNAME=\"ufs:/dev/da0s1a\"
81
82# kernel/memory size reduction
83options 	MUTEX_NOINLINE
84options 	NO_FFS_SNAPSHOT
85options 	NO_SWAPPING
86options 	NO_SYSCTL_DESCR
87options 	RWLOCK_NOINLINE
88
89# Debugging support.  Always need this:
90#options 	KDB			# Enable kernel debugger support.
91# For minimum debugger support (stable branch) use:
92#options 	KDB_TRACE		# Print a stack trace for a panic.
93# For full debugger support use this instead:
94#options 	DDB			# Support DDB.
95#options 	GDB			# Support remote GDB.
96#options 	DEADLKRES		# Enable the deadlock resolver
97#options 	INVARIANTS		# Enable calls of extra sanity checking
98#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
99#options 	WITNESS			# Enable checks to detect deadlocks and cycles
100#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
101#options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
102
103# The `bpf' device enables the Berkeley Packet Filter.
104# Be aware of the administrative consequences of enabling this!
105# Note that 'bpf' is required for DHCP.
106device		bpf		# Berkeley packet filter
107
108# Ethernet
109device		mii		# Minimal MII support
110device		ate		# Atmel AT91 Ethernet driver
111
112# I2C
113device		at91_twi	# Atmel AT91 Two-wire Interface
114device		iic		# I2C generic I/O device driver
115device		iicbus		# I2C bus system
116device		icee		# I2C eeprom
117
118# MMC/SD
119# See comment for DataFlash below
120device		at91_mci	# Atmel AT91 Multimedia Card Interface
121options 	AT91_MCI_HAS_4WIRE	# 4 wires
122options 	AT91_MCI_SLOT_B		# Wired to slot B
123device		mmc		# MMC/SD bus
124device		mmcsd		# MMC/SD memory card
125
126# DataFlash
127# The DataFlash and MMC card are wired together, so we must pick one or the
128# other.  This is due to pin mux, and also due to the design of the
129# SAM9260EK board.  SLOT A wouldn't have this issue.
130#device		at91_spi	# Atmel AT91 Serial Peripheral Interface
131#device		spibus		# SPI bus
132#device		at45d		# Atmel AT45D
133#device		geom_map	# GEOM partition mapping
134
135# Pseudo devices.
136device		loop		# Network loopback
137device		random		# Entropy device
138device		ether		# Ethernet support
139#device		vlan		# 802.1Q VLAN support
140#device		tun		# Packet tunnel.
141#device		md		# Memory "disks"
142#device		gif		# IPv6 and IPv4 tunneling
143#device		faith		# IPv6-to-IPv4 relaying (translation)
144#device		firmware	# firmware assist module
145
146# SCSI peripherals
147device		scbus		# SCSI bus (required for ATA/SCSI)
148#device		ch		# SCSI media changers
149device		da		# Direct Access (disks)
150#device		sa		# Sequential Access (tape etc)
151device		cd		# CD/DVD
152device		pass		# Passthrough device (direct ATA/SCSI access)
153device		ses		# Enclosure Services (SES and SAF-TE)
154#device		ctl		# CAM Target Layer
155
156# Serial (COM) ports
157device		uart		# Multi-uart driver
158options 	ALT_BREAK_TO_DEBUGGER
159
160# USB support
161options 	USB_HOST_ALIGN=32	# Align usb buffers to cache line size.
162#options 	USB_DEBUG	# enable debug msgs
163device		ohci		# OHCI USB interface
164device		usb		# USB Bus (required)
165device		umass		# Disks/Mass storage - Requires scbus and da
166
167# watchdog
168device		at91_wdt	# Atmel AT91 Watchdog Timer
169
170# NAND Flash - Reference design has Samsung 256MB but others possible
171device		nand			# NAND interface on CS3
172