SAM9X25EK revision 263245
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 263245 2014-03-16 15:22:46Z 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
29263245Simpmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
30237742Simpoptions 	DDB
31237742Simpoptions 	KDB
32237742Simp
33263245Simpoptions 	SCHED_4BSD		# 4BSD scheduler
34263245Simpoptions 	INET			# InterNETworking
35263245Simp#options 	INET6			# IPv6 communications protocols
36263245Simpoptions 	GEOM_PART_BSD		# BSD partition scheme
37263245Simpoptions 	GEOM_PART_MBR		# MBR partition scheme
38263245Simpoptions		TMPFS			# Efficient memory filesystem
39263245Simpoptions 	FFS			# Berkeley Fast Filesystem
40263245Simp#options 	SOFTUPDATES		# Enable FFS soft updates support
41263245Simp#options 	UFS_ACL			# Support for access control lists
42263245Simp#options 	UFS_DIRHASH		# Improve performance on big directories
43263245Simp#options 	MD_ROOT			# MD is a potential root device
44261130Simp#options 	MD_ROOT_SIZE=4096	# 4MB ram disk
45263245Simpoptions 	NFSCL			# New Network Filesystem Client
46263245Simp#options 	NFSD			# New Network Filesystem Server
47263245Simp#options 	NFSLOCKD		# Network Lock Manager
48263245Simp#options 	NFS_ROOT		# NFS usable as /, requires NFSCL
49237742Simp#options 	BOOTP_NFSROOT
50237742Simp#options 	BOOTP
51237742Simp#options 	BOOTP_NFSV3
52237742Simp#options 	BOOTP_WIRED_TO=ate0
53237742Simp#options 	BOOTP_COMPAT
54237742Simp
55237742Simpoptions 	ROOTDEVNAME=\"ufs:/dev/mmcsd0s1a\"
56237742Simp
57240572Sjmgoptions 	ALT_BREAK_TO_DEBUGGER
58237742Simp
59263245Simp#options 	MSDOSFS			# MSDOS Filesystem
60263245Simp#options 	CD9660			# ISO 9660 Filesystem
61263245Simp#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
62263245Simp#options 	PSEUDOFS		# Pseudo-filesystem framework
63263245Simp#options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
64263245Simp#options 	KTRACE			# ktrace(1) support
65263245Simpoptions 	SYSVSHM			# SYSV-style shared memory
66263245Simpoptions 	SYSVMSG			# SYSV-style message queues
67263245Simpoptions 	SYSVSEM			# SYSV-style semaphores
68263245Simpoptions 	_KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
69237742Simpoptions 	MUTEX_NOINLINE
70237742Simpoptions 	RWLOCK_NOINLINE
71237742Simpoptions 	NO_FFS_SNAPSHOT
72237742Simpoptions 	NO_SWAPPING
73237742Simp
74237742Simp# Debugging for use in -current
75263245Simp#options 	INVARIANTS		# Enable calls of extra sanity checking
76263245Simp#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
77263245Simp#options 	WITNESS			# Enable checks to detect deadlocks and cycles
78263245Simp#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
79237742Simp#options 	DIAGNOSTIC
80237742Simp
81237742Simpdevice		random
82237742Simpdevice		pty
83237742Simpdevice		loop
84237742Simpdevice		bpf
85237742Simpdevice		ether
86237742Simpdevice		md
87237742Simp
88237742Simpdevice		uart			# Serial Ports
89237742Simp
90237742Simp# Ethernet
91263245Simpdevice		ate			# Ethernet Driver	
92237742Simpdevice		mii
93237742Simpoption 		AT91_ATE_USE_RMII
94237742Simp
95237742Simp#device		at91_twi		# TWI: Two Wire Interface (EEPROM)
96237742Simpdevice		at91_wdt		# WDT: Watchdog timer
97237742Simp
98237742Simp# NOTE: SPI DataFlash and mci/mmc/mmcsd have hardware 
99237742Simp# 	confilict on this card. Use one or the other.
100237742Simp#       see board_sam9g20ek.c
101237742Simp
102237742Simp# SPI: Data Flash 
103237742Simp#device		at91_spi		# SPI:
104237742Simp#device		spibus
105237742Simp#device		at45d			# at45db642 and maybe others
106237742Simp
107237742Simp# MMC/SD
108237742Simpdevice		at91_mci
109237742Simpdevice		mmc
110237742Simpdevice		mmcsd
111237742Simp#option		AT91_MCI_SLOT_B
112237742Simpoption		AT91_MCI_HAS_4WIRE
113237742Simp
114237742Simp# iic
115237742Simpdevice		iic
116237742Simpdevice		iicbus
117237742Simpdevice		icee
118237742Simp
119237742Simp# SCSI peripherals
120263245Simpdevice		scbus			# SCSI bus (required for SCSI)
121263245Simpdevice		da			# Direct Access (disks)
122263245Simpdevice		cd			# CD
123263245Simpdevice		pass			# Passthrough device (direct SCSI access)
124237742Simp
125237742Simp# USB support
126263245Simp#device		ohci			# OHCI localbus->USB interface
127263245Simp#device		usb			# USB Bus (required)
128263245Simp#device		umass			# Disks/Mass storage - Requires scbus and da
129263245Simp#device		uhid			# "Human Interface Devices"
130263245Simp#device		ulpt			# Printer
131263245Simp#device		udbp			# USB Double Bulk Pipe devices
132237742Simp
133237742Simp# USB Ethernet, requires miibus
134237742Simpdevice		miibus
135263245Simp#device		aue			# ADMtek USB Ethernet
136263245Simp#device		axe			# ASIX Electronics USB Ethernet
137263245Simp#device		cdce			# Generic USB over Ethernet
138263245Simp#device		cue			# CATC USB Ethernet
139263245Simp#device		kue			# Kawasaki LSI USB Ethernet
140263245Simp#device		rue			# RealTek RTL8150 USB Ethernet
141263245Simp#device		udav			# Davicom DM9601E USB
142237742Simp
143237742Simp# USB Wireless
144263245Simp#device		rum			# Ralink Technology RT2501USB wireless NICs
145263245Simp#device		uath			# Atheros AR5523 wireless NICs
146263245Simp#device		ural			# Ralink Technology RT2500USB wireless NICs
147263245Simp#device		zyd			# ZyDAS zd1211/zd1211b wireless NICs
148237742Simp
149237742Simp# Wireless NIC cards
150263245Simp#device		wlan			# 802.11 support
151263245Simp#device		wlan_wep		# 802.11 WEP support
152263245Simp#device		wlan_ccmp		# 802.11 CCMP support
153263245Simp#device		wlan_tkip		# 802.11 TKIP support
154263245Simp#device		wlan_amrr		# AMRR transmit rate control algorithm
155253845Sobrien
156