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