SAM9260EK revision 266087
1261409Sbr# Kernel configuration for Atmel SAM9260-EK eval board
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: stable/10/sys/arm/conf/SAM9260EK 266087 2014-05-14 20:31:54Z ian $
19261409Sbr
20265155Simpident		SAM9260EK
21261409Sbr
22261409Sbrinclude "../at91/std.sam9260ek"
23261409Sbr
24261409Sbr# To statically compile in device wiring instead of /boot/device.hints
25261409Sbrhints		"SAM9260EK.hints"
26263245Simp
27261409Sbr#makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
28261409Sbr
29263301Simpoptions 	SCHED_4BSD		# 4BSD scheduler
30263301Simp#options 	PREEMPTION		# Enable kernel thread preemption
31263301Simpoptions 	INET			# InterNETworking
32263301Simp#options 	INET6			# IPv6 communications protocols
33263301Simp#options 	SCTP			# Stream Control Transmission Protocol
34263301Simpoptions 	FFS			# Berkeley Fast Filesystem
35263301Simpoptions 	SOFTUPDATES		# Enable FFS soft updates support
36263301Simp#options 	UFS_ACL			# Support for access control lists
37263245Simpoptions 	UFS_DIRHASH		# Improve performance on big directories
38263245Simp#options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
39263301Simp#options 	MD_ROOT			# MD is a potential root device
40263301Simpoptions 	NANDFS			# NAND file system
41263301Simpoptions 	NFSCL			# New Network Filesystem Client
42263301Simp#options 	NFSD			# New Network Filesystem Server
43263301Simpoptions 	NFSLOCKD		# Network Lock Manager
44263245Simpoptions 	NFS_ROOT		# NFS usable as /, requires NFSCL
45263301Simp#options 	MSDOSFS			# MSDOS Filesystem
46263301Simp#options 	CD9660			# ISO 9660 Filesystem
47263301Simp#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
48263301Simp#options 	PSEUDOFS		# Pseudo-filesystem framework
49263301Simp#options 	GEOM_PART_GPT		# GUID Partition Tables.
50263301Simp#options 	GEOM_LABEL		# Provides labelization
51263301Simp#options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
52263301Simp#options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
53263301Simp#options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
54263301Simpoptions 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
55261409Sbroptions 	KTRACE			# ktrace(1) support
56261409Sbr#options 	STACK			# stack(9) support
57261409Sbroptions 	SYSVSHM			# SYSV-style shared memory
58261409Sbroptions 	SYSVMSG			# SYSV-style message queues
59263245Simpoptions 	SYSVSEM			# SYSV-style semaphores
60261409Sbroptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
61261409Sbroptions 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
62263245Simp#options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
63263301Simp#options 	AUDIT			# Security event auditing
64263245Simp#options 	CAPABILITY_MODE		# Capsicum capability mode
65263301Simp#options 	CAPABILITIES		# Capsicum capabilities
66263301Simp#options 	MAC			# TrustedBSD MAC Framework
67263245Simp#options 	INCLUDE_CONFIG_FILE	# Include this file in kernel
68263245Simp
69263245Simp# required for netbooting
70263245Simp#options 	BOOTP
71261778Sbr#options 	BOOTP_COMPAT
72261409Sbr#options 	BOOTP_NFSROOT
73261409Sbr#options 	BOOTP_NFSV3
74263301Simp#options 	BOOTP_WIRED_TO=ate0
75263301Simp
76263301Simp# alternatively, boot from a MMC/SD memory card
77261409Sbr#options 	ROOTDEVNAME=\"ufs:/dev/mmcsd0s1a\"
78261409Sbr
79263245Simp# Alternatively, boot from a USB card.
80261409Sbroptions 	ROOTDEVNAME=\"ufs:/dev/da0s1a\"
81261409Sbr
82261409Sbr# kernel/memory size reduction
83261409Sbroptions 	MUTEX_NOINLINE
84261409Sbroptions 	NO_FFS_SNAPSHOT
85261409Sbroptions 	NO_SWAPPING
86261409Sbroptions 	NO_SYSCTL_DESCR
87261409Sbroptions 	RWLOCK_NOINLINE
88261409Sbr
89261409Sbr# Debugging support.  Always need this:
90263301Simp#options 	KDB			# Enable kernel debugger support.
91263301Simp# For minimum debugger support (stable branch) use:
92263301Simp#options 	KDB_TRACE		# Print a stack trace for a panic.
93261409Sbr# For full debugger support use this instead:
94261409Sbr#options 	DDB			# Support DDB.
95261409Sbr#options 	GDB			# Support remote GDB.
96261409Sbr#options 	DEADLKRES		# Enable the deadlock resolver
97261409Sbr#options 	INVARIANTS		# Enable calls of extra sanity checking
98261409Sbr#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
99261409Sbr#options 	WITNESS			# Enable checks to detect deadlocks and cycles
100261409Sbr#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
101261409Sbr#options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
102261409Sbr
103261409Sbr# The `bpf' device enables the Berkeley Packet Filter.
104261409Sbr# Be aware of the administrative consequences of enabling this!
105261409Sbr# Note that 'bpf' is required for DHCP.
106261409Sbrdevice		bpf		# Berkeley packet filter
107263301Simp
108261409Sbr# Ethernet
109261409Sbrdevice		mii		# Minimal MII support
110261409Sbrdevice		ate		# Atmel AT91 Ethernet driver
111261409Sbr
112261409Sbr# I2C
113261409Sbrdevice		at91_twi	# Atmel AT91 Two-wire Interface
114261409Sbrdevice		iic		# I2C generic I/O device driver
115261409Sbrdevice		iicbus		# I2C bus system
116261409Sbrdevice		icee		# I2C eeprom
117261409Sbr
118261409Sbr# MMC/SD
119261409Sbr# See comment for DataFlash below
120261409Sbrdevice		at91_mci	# Atmel AT91 Multimedia Card Interface
121261409Sbroptions 	AT91_MCI_HAS_4WIRE	# 4 wires
122261409Sbroptions 	AT91_MCI_SLOT_B		# Wired to slot B
123261409Sbrdevice		mmc		# MMC/SD bus
124261409Sbrdevice		mmcsd		# MMC/SD memory card
125261409Sbr
126261409Sbr# DataFlash
127261409Sbr# The DataFlash and MMC card are wired together, so we must pick one or the
128261409Sbr# other.  This is due to pin mux, and also due to the design of the
129261409Sbr# SAM9260EK board.  SLOT A wouldn't have this issue.
130262552Sbr#device		at91_spi	# Atmel AT91 Serial Peripheral Interface
131262552Sbr#device		spibus		# SPI bus
132261409Sbr#device		at45d		# Atmel AT45D
133261409Sbr#device		geom_map	# GEOM partition mapping
134261409Sbr
135261409Sbr# Pseudo devices.
136261409Sbrdevice		loop		# Network loopback
137261409Sbrdevice		random		# Entropy device
138261409Sbrdevice		ether		# Ethernet support
139261409Sbr#device		vlan		# 802.1Q VLAN support
140261409Sbr#device		tun		# Packet tunnel.
141261409Sbr#device		md		# Memory "disks"
142261409Sbr#device		gif		# IPv6 and IPv4 tunneling
143261413Sbr#device		faith		# IPv6-to-IPv4 relaying (translation)
144261413Sbr#device		firmware	# firmware assist module
145261413Sbr
146261413Sbr# SCSI peripherals
147263301Simpdevice		scbus		# SCSI bus (required for ATA/SCSI)
148261413Sbr#device		ch		# SCSI media changers
149261413Sbrdevice		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