SAM9X25EK revision 282694
1# Kernel configuration for Atmel AT91SAM9G20EK Rev B. development card 
2#
3# For more information on this file, please read the handbook section on
4# 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: head/sys/arm/conf/SAM9X25EK 282694 2015-05-09 21:24:55Z andrew $
19
20#NO_UNIVERSE
21
22ident		SAM9X25EK
23
24include 	"std.arm"
25include 	"../at91/std.sam9x25ek"
26
27#To statically compile in device wiring instead of /boot/device.hints
28hints		"SAM9G20EK.hints"
29makeoptions	MODULES_OVERRIDE=""
30
31makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
32options 	DDB
33options 	KDB
34
35options 	SCHED_4BSD		# 4BSD scheduler
36options 	INET			# InterNETworking
37#options 	INET6			# IPv6 communications protocols
38options 	FFS			# Berkeley Fast Filesystem
39#options 	SOFTUPDATES		# Enable FFS soft updates support
40#options 	UFS_ACL			# Support for access control lists
41#options 	UFS_DIRHASH		# Improve performance on big directories
42#options 	MD_ROOT			# MD is a potential root device
43#options 	MD_ROOT_SIZE=4096	# 4MB ram disk
44options 	NFSCL			# Network Filesystem Client
45#options 	NFSD			# Network Filesystem Server
46#options 	NFSLOCKD		# Network Lock Manager
47#options 	NFS_ROOT		# NFS usable as /, requires NFSCL
48options 	TMPFS			# Efficient memory filesystem
49#options 	MSDOSFS			# MSDOS Filesystem
50#options 	CD9660			# ISO 9660 Filesystem
51#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
52#options 	PSEUDOFS		# Pseudo-filesystem framework
53options 	GEOM_PART_BSD		# BSD partition scheme
54options 	GEOM_PART_MBR		# MBR partition scheme
55#options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
56#options 	KTRACE			# ktrace(1) 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
61
62
63# Debugging for use in -current
64#options 	INVARIANTS		# Enable calls of extra sanity checking
65#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
66#options 	WITNESS			# Enable checks to detect deadlocks and cycles
67#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
68#options 	DIAGNOSTIC
69
70# NFS root from boopt/dhcp
71#options 	BOOTP
72#options 	BOOTP_NFSROOT
73#options 	BOOTP_COMPAT
74#options 	BOOTP_NFSV3
75#options 	BOOTP_WIRED_TO=ate0
76
77# alternatively, boot from a MMC/SD memory card
78options 	ROOTDEVNAME=\"ufs:/dev/mmcsd0s1a\"
79
80# kernel/memory size reduction
81options 	MUTEX_NOINLINE
82options 	NO_FFS_SNAPSHOT
83options 	NO_SWAPPING
84options 	RWLOCK_NOINLINE
85
86# The `bpf' device enables the Berkeley Packet Filter.
87# Be aware of the administrative consequences of enabling this!
88# Note that 'bpf' is required for DHCP.
89device		bpf			# Berkeley packet filter
90
91# Ethernet
92device		mii			# Minimal MII support
93device		ate			# Atmel AT91 Ethernet driver
94options 	AT91_ATE_USE_RMII
95
96# I2C
97#device		at91_twi		# Atmel AT91 Two-wire Interface
98device		iic
99device		iicbus
100device		icee
101
102# NOTE: SPI DataFlash and mci/mmc/mmcsd have hardware 
103# 	confilict on this card. Use one or the other.
104#       see board_sam9g20ek.c
105
106# MMC/SD
107device		at91_mci		# Atmel AT91 Multimedia Card Interface
108options 	AT91_MCI_HAS_4WIRE
109#options 	AT91_MCI_SLOT_B
110device		mmc			# MMC/SD bus
111device		mmcsd			# MMC/SD memory card
112
113# DataFlash
114#device		at91_spi		# Atmel AT91 Serial Peripheral Interface
115#device		spibus			# SPI bus
116#device		at45d			# Atmel AT45D
117
118# Pseudo devices.
119device		loop			# Network loopback
120device		random			# Entropy device
121device		ether			# Ethernet support
122device		md			# Memory "disks"
123device		pty
124
125# SCSI peripherals
126device		scbus			# SCSI bus (required for ATA/SCSI)
127device		da			# Direct Access (disks)
128device		cd			# CD
129device		pass			# Passthrough device (direct ATA/SCSI access)
130
131# Serial (COM) ports
132device		uart			# Multi-uart driver
133options 	ALT_BREAK_TO_DEBUGGER
134
135# USB support
136#device		ohci			# OHCI USB interface
137#device		usb			# USB Bus (required)
138#device		umass			# Disks/Mass storage - Requires scbus and da
139#device		uhid			# "Human Interface Devices"
140#device		ulpt			# Printer
141#device		udbp			# USB Double Bulk Pipe devices
142
143# USB Ethernet, requires miibus
144device		miibus
145#device		aue			# ADMtek USB Ethernet
146#device		axe			# ASIX Electronics USB Ethernet
147#device		cdce			# Generic USB over Ethernet
148#device		cue			# CATC USB Ethernet
149#device		kue			# Kawasaki LSI USB Ethernet
150#device		rue			# RealTek RTL8150 USB Ethernet
151#device		udav			# Davicom DM9601E USB
152
153# USB Wireless
154#device		rum			# Ralink Technology RT2501USB wireless NICs
155#device		uath			# Atheros AR5523 wireless NICs
156#device		ural			# Ralink Technology RT2500USB wireless NICs
157#device		zyd			# ZyDAS zd1211/zd1211b wireless NICs
158
159# Wireless NIC cards
160#device		wlan			# 802.11 support
161#device		wlan_wep		# 802.11 WEP support
162#device		wlan_ccmp		# 802.11 CCMP support
163#device		wlan_tkip		# 802.11 TKIP support
164#device		wlan_amrr		# AMRR transmit rate control algorithm
165
166# watchdog
167device		at91_wdt		# Atmel AT91 Watchdog Timer
168