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