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