SAM9X25EK revision 261130
1237742Simp# Kernel configuration for Atmel AT91SAM9G20EK Rev B. development card 
2237742Simp#
3237742Simp# For more information on this file, please read the handbook section on
4237742Simp# Kernel Configuration Files:
5237742Simp#
6237742Simp#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7237742Simp#
8237742Simp# The handbook is also available locally in /usr/share/doc/handbook
9237742Simp# if you've installed the doc distribution, otherwise always see the
10237742Simp# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11237742Simp# latest information.
12237742Simp#
13237742Simp# An exhaustive list of options and more detailed explanations of the
14237742Simp# device lines is also present in the ../../conf/NOTES and NOTES files. 
15237742Simp# If you are in doubt as to the purpose or necessity of a line, check first 
16237742Simp# in NOTES.
17237742Simp#
18237742Simp# $FreeBSD: head/sys/arm/conf/SAM9X25EK 261130 2014-01-24 16:58:50Z imp $
19237742Simp
20237742Simp# NOUNIVERSE:	disable building in make universe
21237742Simpident		SAM9X25EK
22237742Simp
23237742Simpinclude "../at91/std.sam9x25ek"
24237742Simp
25237742Simp#To statically compile in device wiring instead of /boot/device.hints
26237742Simphints		"SAM9G20EK.hints"
27237742Simpmakeoptions	MODULES_OVERRIDE=""
28237742Simp
29237742Simpmakeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
30237742Simpoptions 	DDB
31237742Simpoptions 	KDB
32237742Simp
33237742Simpoptions 	SCHED_4BSD		#4BSD scheduler
34237742Simpoptions 	INET			#InterNETworking
35237742Simp#options 	INET6			#IPv6 communications protocols
36237742Simpoptions 	FFS			#Berkeley Fast Filesystem
37237742Simp#options 	SOFTUPDATES		#Enable FFS soft updates support
38237742Simp#options 	UFS_ACL			#Support for access control lists
39237742Simp#options 	UFS_DIRHASH		#Improve performance on big directories
40237742Simp#options 	MD_ROOT			#MD is a potential root device
41261130Simp#options 	MD_ROOT_SIZE=4096	# 4MB ram disk
42237742Simpoptions 	NFSCL			#New Network Filesystem Client
43237742Simp#options 	NFSD			#New Network Filesystem Server
44237742Simp#options 	NFSLOCKD		#Network Lock Manager
45237742Simp#options 	NFS_ROOT		#NFS usable as /, requires NFSCL
46237742Simp#options 	BOOTP_NFSROOT
47237742Simp#options 	BOOTP
48237742Simp#options 	BOOTP_NFSV3
49237742Simp#options 	BOOTP_WIRED_TO=ate0
50237742Simp#options 	BOOTP_COMPAT
51237742Simp
52237742Simpoptions 	ROOTDEVNAME=\"ufs:/dev/mmcsd0s1a\"
53237742Simp
54240572Sjmgoptions 	ALT_BREAK_TO_DEBUGGER
55237742Simp
56237742Simp#options 	MSDOSFS			#MSDOS Filesystem
57237742Simp#options 	CD9660			#ISO 9660 Filesystem
58237742Simp#options 	PROCFS			#Process filesystem (requires PSEUDOFS)
59237742Simp#options 	PSEUDOFS		#Pseudo-filesystem framework
60237742Simp#options 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
61237742Simp#options 	KTRACE			#ktrace(1) support
62237742Simpoptions 	SYSVSHM			#SYSV-style shared memory
63237742Simpoptions 	SYSVMSG			#SYSV-style message queues
64237742Simpoptions 	SYSVSEM			#SYSV-style semaphores
65237742Simpoptions 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
66237742Simp#options 	SYSCTL_OMIT_DESCR
67237742Simpoptions 	MUTEX_NOINLINE
68237742Simpoptions 	RWLOCK_NOINLINE
69237742Simpoptions 	NO_FFS_SNAPSHOT
70237742Simpoptions 	NO_SWAPPING
71237742Simp
72237742Simp# Debugging for use in -current
73237742Simp#options 	INVARIANTS		#Enable calls of extra sanity checking
74237742Simp#options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
75237742Simp#options 	WITNESS			#Enable checks to detect deadlocks and cycles
76237742Simp#options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
77237742Simp#options 	DIAGNOSTIC
78237742Simp
79237742Simpdevice		random
80237742Simpdevice		pty
81237742Simpdevice		loop
82237742Simpdevice		bpf
83237742Simpdevice		ether
84237742Simpdevice		md
85237742Simp
86237742Simpdevice		uart			# Serial Ports
87237742Simp
88237742Simp# Ethernet
89238932Simpdevice		ate		        # Ethernet Driver	
90237742Simpdevice		mii
91237742Simpoption 		AT91_ATE_USE_RMII
92237742Simp
93237742Simp#device		at91_twi		# TWI: Two Wire Interface (EEPROM)
94237742Simpdevice		at91_wdt		# WDT: Watchdog timer
95237742Simp
96237742Simp# NOTE: SPI DataFlash and mci/mmc/mmcsd have hardware 
97237742Simp# 	confilict on this card. Use one or the other.
98237742Simp#       see board_sam9g20ek.c
99237742Simp
100237742Simp# SPI: Data Flash 
101237742Simp#device		at91_spi		# SPI:
102237742Simp#device		spibus
103237742Simp#device		at45d			# at45db642 and maybe others
104237742Simp
105237742Simp# MMC/SD
106237742Simpdevice		at91_mci
107237742Simpdevice		mmc
108237742Simpdevice		mmcsd
109237742Simp#option		AT91_MCI_SLOT_B
110237742Simpoption		AT91_MCI_HAS_4WIRE
111237742Simp
112237742Simp# iic
113237742Simpdevice		iic
114237742Simpdevice		iicbus
115237742Simpdevice		icee
116237742Simp
117237742Simp# SCSI peripherals
118237742Simpdevice		scbus		# SCSI bus (required for SCSI)
119237742Simpdevice		da		# Direct Access (disks)
120237742Simpdevice		cd		# CD
121237742Simpdevice		pass		# Passthrough device (direct SCSI access)
122237742Simp
123237742Simp# USB support
124260440Sianoptions 	USB_HOST_ALIGN=32	# Align usb buffers to cache line size.
125237742Simp#device		ohci		# OHCI localbus->USB interface
126237742Simp#device		usb		# USB Bus (required)
127237742Simp#device		umass		# Disks/Mass storage - Requires scbus and da
128237742Simp#device		uhid		# "Human Interface Devices"
129237742Simp#device		ulpt		# Printer
130237742Simp#device		udbp		# USB Double Bulk Pipe devices
131237742Simp
132237742Simp# USB Ethernet, requires miibus
133237742Simpdevice		miibus
134237742Simp#device		aue		# ADMtek USB Ethernet
135237742Simp#device		axe		# ASIX Electronics USB Ethernet
136237742Simp#device		cdce		# Generic USB over Ethernet
137237742Simp#device		cue		# CATC USB Ethernet
138237742Simp#device		kue		# Kawasaki LSI USB Ethernet
139237742Simp#device		rue		# RealTek RTL8150 USB Ethernet
140237742Simp#device		udav		# Davicom DM9601E USB
141237742Simp
142237742Simp# USB Wireless
143237742Simp#device		rum		# Ralink Technology RT2501USB wireless NICs
144237742Simp#device		uath		# Atheros AR5523 wireless NICs
145237742Simp#device		ural		# Ralink Technology RT2500USB wireless NICs
146237742Simp#device		zyd		# ZyDAS zd1211/zd1211b wireless NICs
147237742Simp
148237742Simp# Wireless NIC cards
149237742Simp#device		wlan		# 802.11 support
150237742Simp#device		wlan_wep	# 802.11 WEP support
151237742Simp#device		wlan_ccmp	# 802.11 CCMP support
152237742Simp#device		wlan_tkip	# 802.11 TKIP support
153237742Simp#device		wlan_amrr	# AMRR transmit rate control algorithm
154253845Sobrien
155