SAM9260EK revision 266328
164562Sgshapiro# Kernel configuration for Atmel SAM9260-EK eval board
2157001Sgshapiro#
364562Sgshapiro# For more information on this file, please read the config(5) manual page,
464562Sgshapiro# and/or the handbook section on Kernel Configuration Files:
564562Sgshapiro#
664562Sgshapiro#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
764562Sgshapiro#
864562Sgshapiro# The handbook is also available locally in /usr/share/doc/handbook
964562Sgshapiro# if you've installed the doc distribution, otherwise always see the
1064562Sgshapiro# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
1164562Sgshapiro# latest information.
1264562Sgshapiro#
1364562Sgshapiro# An exhaustive list of options and more detailed explanations of the
1464562Sgshapiro# device lines is also present in the ../../conf/NOTES and NOTES files.
1564562Sgshapiro# If you are in doubt as to the purpose or necessity of a line, check first
1690792Sgshapiro# in NOTES.
1790792Sgshapiro#
1890792Sgshapiro# $FreeBSD: stable/10/sys/arm/conf/SAM9260EK 266328 2014-05-17 16:46:15Z ian $
1964562Sgshapiro
2064562Sgshapiroident		SAM9260EK
2164562Sgshapiro
22203004Sgshapiroinclude "../at91/std.sam9260ek"
2364562Sgshapiro
2464562Sgshapiro# To statically compile in device wiring instead of /boot/device.hints
2564562Sgshapirohints		"SAM9260EK.hints"
2664562Sgshapiro
2764562Sgshapiro#makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
2864562Sgshapiromakeoptions	MODULES_OVERRIDE=""
29168515Sgshapiro
30168515Sgshapirooptions 	SCHED_4BSD		# 4BSD scheduler
3164562Sgshapiro#options 	PREEMPTION		# Enable kernel thread preemption
3264562Sgshapirooptions 	INET			# InterNETworking
3364562Sgshapiro#options 	INET6			# IPv6 communications protocols
3464562Sgshapiro#options 	SCTP			# Stream Control Transmission Protocol
35168515Sgshapirooptions 	FFS			# Berkeley Fast Filesystem
36168515Sgshapirooptions 	SOFTUPDATES		# Enable FFS soft updates support
37168515Sgshapiro#options 	UFS_ACL			# Support for access control lists
38168515Sgshapirooptions 	UFS_DIRHASH		# Improve performance on big directories
39168515Sgshapiro#options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
40168515Sgshapiro#options 	MD_ROOT			# MD is a potential root device
41168515Sgshapirooptions 	NANDFS			# NAND file system
42168515Sgshapirooptions 	NFSCL			# New Network Filesystem Client
4364562Sgshapiro#options 	NFSD			# New Network Filesystem Server
4464562Sgshapirooptions 	NFSLOCKD		# Network Lock Manager
45168515Sgshapirooptions 	NFS_ROOT		# NFS usable as /, requires NFSCL
46168515Sgshapirooptions		TMPFS			# Efficient memory filesystem
47168515Sgshapiro#options 	MSDOSFS			# MSDOS Filesystem
48168515Sgshapiro#options 	CD9660			# ISO 9660 Filesystem
49168515Sgshapiro#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
50168515Sgshapiro#options 	PSEUDOFS		# Pseudo-filesystem framework
51168515Sgshapirooptions 	GEOM_PART_BSD		# BSD partition scheme
52168515Sgshapirooptions 	GEOM_PART_MBR		# MBR partition scheme
53168515Sgshapiro#options 	GEOM_PART_GPT		# GUID Partition Tables.
54168515Sgshapiro#options 	GEOM_LABEL		# Provides labelization
55168515Sgshapiro#options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
56168515Sgshapiro#options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
57168515Sgshapiro#options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
58168515Sgshapirooptions 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
59168515Sgshapirooptions 	KTRACE			# ktrace(1) support
60168515Sgshapiro#options 	STACK			# stack(9) support
61168515Sgshapirooptions 	SYSVSHM			# SYSV-style shared memory
62168515Sgshapirooptions 	SYSVMSG			# SYSV-style message queues
63168515Sgshapirooptions 	SYSVSEM			# SYSV-style semaphores
64168515Sgshapirooptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
65168515Sgshapirooptions 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
66168515Sgshapiro#options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
67168515Sgshapiro#options 	AUDIT			# Security event auditing
68168515Sgshapiro#options 	CAPABILITY_MODE		# Capsicum capability mode
69168515Sgshapiro#options 	CAPABILITIES		# Capsicum capabilities
70168515Sgshapiro#options 	MAC			# TrustedBSD MAC Framework
71168515Sgshapiro#options 	INCLUDE_CONFIG_FILE	# Include this file in kernel
72168515Sgshapiro
73168515Sgshapiro# required for netbooting
74168515Sgshapiro#options 	BOOTP
75168515Sgshapiro#options 	BOOTP_COMPAT
76168515Sgshapiro#options 	BOOTP_NFSROOT
77168515Sgshapiro#options 	BOOTP_NFSV3
78168515Sgshapiro#options 	BOOTP_WIRED_TO=ate0
79168515Sgshapiro
80168515Sgshapiro# alternatively, boot from a MMC/SD memory card
81168515Sgshapiro#options 	ROOTDEVNAME=\"ufs:/dev/mmcsd0s1a\"
82168515Sgshapiro
83168515Sgshapiro# Alternatively, boot from a USB card.
84168515Sgshapirooptions 	ROOTDEVNAME=\"ufs:/dev/da0s1a\"
85168515Sgshapiro
86168515Sgshapiro# kernel/memory size reduction
87168515Sgshapirooptions 	MUTEX_NOINLINE
88168515Sgshapirooptions 	NO_FFS_SNAPSHOT
89168515Sgshapirooptions 	NO_SWAPPING
90168515Sgshapirooptions 	NO_SYSCTL_DESCR
91168515Sgshapirooptions 	RWLOCK_NOINLINE
92168515Sgshapiro
93168515Sgshapiro# Debugging support.  Always need this:
94168515Sgshapiro#options 	KDB			# Enable kernel debugger support.
95168515Sgshapiro# For minimum debugger support (stable branch) use:
96168515Sgshapiro#options 	KDB_TRACE		# Print a stack trace for a panic.
97168515Sgshapiro# For full debugger support use this instead:
98168515Sgshapiro#options 	DDB			# Support DDB.
99168515Sgshapiro#options 	GDB			# Support remote GDB.
100168515Sgshapiro#options 	DEADLKRES		# Enable the deadlock resolver
101168515Sgshapiro#options 	INVARIANTS		# Enable calls of extra sanity checking
102168515Sgshapiro#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
103168515Sgshapiro#options 	WITNESS			# Enable checks to detect deadlocks and cycles
104168515Sgshapiro#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
105168515Sgshapiro#options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
106168515Sgshapiro
107168515Sgshapiro# The `bpf' device enables the Berkeley Packet Filter.
108168515Sgshapiro# Be aware of the administrative consequences of enabling this!
109168515Sgshapiro# Note that 'bpf' is required for DHCP.
110168515Sgshapirodevice		bpf			# Berkeley packet filter
111168515Sgshapiro
112168515Sgshapiro# Ethernet
113168515Sgshapirodevice		mii			# Minimal MII support
114168515Sgshapirodevice		ate			# Atmel AT91 Ethernet driver
115168515Sgshapiro
116168515Sgshapiro# I2C
117168515Sgshapirodevice		at91_twi		# Atmel AT91 Two-wire Interface
118168515Sgshapirodevice		iic			# I2C generic I/O device driver
119168515Sgshapirodevice		iicbus			# I2C bus system
120168515Sgshapirodevice		icee			# I2C eeprom
121168515Sgshapiro
122168515Sgshapiro# MMC/SD
123168515Sgshapiro# See comment for DataFlash below
12464562Sgshapirodevice		at91_mci		# Atmel AT91 Multimedia Card Interface
12590792Sgshapirooptions 	AT91_MCI_HAS_4WIRE	# 4 wires
12690792Sgshapirooptions 	AT91_MCI_SLOT_B		# Wired to slot B
12790792Sgshapirodevice		mmc			# MMC/SD bus
12890792Sgshapirodevice		mmcsd			# MMC/SD memory card
12990792Sgshapiro
13064562Sgshapiro# DataFlash
13164562Sgshapiro# The DataFlash and MMC card are wired together, so we must pick one or the
13264562Sgshapiro# other.  This is due to pin mux, and also due to the design of the
13364562Sgshapiro# SAM9260EK board.  SLOT A wouldn't have this issue.
13471345Sgshapiro#device		at91_spi		# Atmel AT91 Serial Peripheral Interface
13571345Sgshapiro#device		spibus			# SPI bus
13671345Sgshapiro#device		at45d			# Atmel AT45D
13771345Sgshapiro#device		geom_map		# GEOM partition mapping
13871345Sgshapiro
13971345Sgshapiro# Pseudo devices.
14071345Sgshapirodevice		loop			# Network loopback
141168515Sgshapirodevice		random			# Entropy device
142168515Sgshapirodevice		ether			# Ethernet support
143168515Sgshapiro#device		vlan			# 802.1Q VLAN support
144168515Sgshapiro#device		tun			# Packet tunnel.
145168515Sgshapiro#device		md			# Memory "disks"
146168515Sgshapiro#device		gif			# IPv6 and IPv4 tunneling
147168515Sgshapiro#device		faith			# IPv6-to-IPv4 relaying (translation)
148168515Sgshapiro#device		firmware		# firmware assist module
149168515Sgshapiro
150168515Sgshapiro# SCSI peripherals
151168515Sgshapirodevice		scbus			# SCSI bus (required for ATA/SCSI)
152168515Sgshapiro#device		ch			# SCSI media changers
153168515Sgshapirodevice		da			# Direct Access (disks)
154168515Sgshapiro#device		sa			# Sequential Access (tape etc)
155168515Sgshapirodevice		cd			# CD/DVD
156168515Sgshapirodevice		pass			# Passthrough device (direct ATA/SCSI access)
157168515Sgshapirodevice		ses			# Enclosure Services (SES and SAF-TE)
158168515Sgshapiro#device		ctl			# CAM Target Layer
159168515Sgshapiro
160168515Sgshapiro# Serial (COM) ports
161168515Sgshapirodevice		uart			# Multi-uart driver
162168515Sgshapirooptions 	ALT_BREAK_TO_DEBUGGER
163168515Sgshapiro
164168515Sgshapiro# USB support
165168515Sgshapiro#options 	USB_DEBUG		# enable debug msgs
166168515Sgshapirodevice		ohci			# OHCI USB interface
167168515Sgshapirodevice		usb			# USB Bus (required)
168168515Sgshapirodevice		umass			# Disks/Mass storage - Requires scbus and da
169132943Sgshapiro
170111823Sgshapiro# watchdog
171111823Sgshapirodevice		at91_wdt		# Atmel AT91 Watchdog Timer
172111823Sgshapiro
173111823Sgshapiro# NAND Flash - Reference design has Samsung 256MB but others possible
174111823Sgshapirodevice		nand			# NAND interface on CS3
175111823Sgshapiro
176111823Sgshapiro# Coming soon, but not yet
177111823Sgshapiro#options 	FDT
178111823Sgshapiro#options 	FDT_DTB_STATIC
179111823Sgshapiro#makeoptions	FDT_DTS_FILE=sam9260ek.dts
180111823Sgshapiro
181111823Sgshapirooptions 	EARLY_PRINTF
182111823Sgshapirooptions  	SOCDEV_PA=0xfc000000
183111823Sgshapirooptions 	SOCDEV_VA=0xdc000000
184111823Sgshapiro