SAM9G20EK revision 290509
1# Kernel configuration for Atmel AT91SAM9G20EK Rev B. development card
2# Many after-market boards follow its conventions.
3#
4# For more information on this file, please read the handbook section on
5# Kernel Configuration Files:
6#
7#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8#
9# The handbook is also available locally in /usr/share/doc/handbook
10# if you've installed the doc distribution, otherwise always see the
11# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12# latest information.
13#
14# An exhaustive list of options and more detailed explanations of the
15# device lines is also present in the ../../conf/NOTES and NOTES files.
16# If you are in doubt as to the purpose or necessity of a line, check first
17# in NOTES.
18#
19# $FreeBSD: head/sys/arm/conf/SAM9G20EK 290509 2015-11-07 20:02:07Z imp $
20
21ident		SAM9G20EK
22
23include 	"std.arm"
24include 	"../at91/std.sam9g20ek"
25
26#options		FDT
27#options 	FDT_DTB_STATIC
28#makeoptions	FDT_DTS_FILE=at91sam9g20ek.dts
29
30options 	EARLY_PRINTF
31options 	SOCDEV_PA=0xfc000000
32options 	SOCDEV_VA=0xdc000000
33
34#To statically compile in device wiring instead of /boot/device.hints
35hints		"SAM9G20EK.hints"
36makeoptions	MODULES_OVERRIDE=""
37
38makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
39
40options 	SCHED_4BSD		# 4BSD scheduler
41options 	INET			# InterNETworking
42#options 	INET6			# IPv6 communications protocols
43options 	TMPFS			# Efficient memory filesystem
44options 	FFS			# Berkeley Fast Filesystem
45#options 	SOFTUPDATES		# Enable FFS soft updates support
46#options 	UFS_ACL			# Support for access control lists
47#options 	UFS_DIRHASH		# Improve performance on big directories
48#options 	MD_ROOT			# MD is a potential root device
49#options 	MD_ROOT_SIZE=4096	# 4MB ram disk
50options 	NANDFS			# NAND file system
51options 	NFSCL			# Network Filesystem Client
52options 	NFSD			# Network Filesystem Server
53options 	NFSLOCKD		# Network Lock Manager
54#options 	NFS_ROOT		# NFS usable as /, requires NFSCL
55#options 	MSDOSFS			# MSDOS Filesystem
56#options 	CD9660			# ISO 9660 Filesystem
57#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
58#options 	PSEUDOFS		# Pseudo-filesystem framework
59options 	GEOM_PART_BSD		# BSD partition scheme
60options 	GEOM_PART_MBR		# MBR partition scheme
61#options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
62#options 	KTRACE			# ktrace(1) support
63options 	SYSVSHM			# SYSV-style shared memory
64options 	SYSVMSG			# SYSV-style message queues
65options 	SYSVSEM			# SYSV-style semaphores
66options 	_KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
67
68# Debugging support.  Always need this:
69options 	KDB			# Enable kernel debugger support
70options 	DDB			# Enable the kernel debugger
71# Always turn these off, even in -current builds, they are too slow.
72#options 	INVARIANTS		# Enable calls of extra sanity checking
73#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
74#options 	WITNESS			# Enable checks to detect deadlocks and cycles
75#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
76#options 	DIAGNOSTIC
77
78# NFS root from boopt/dhcp
79#options 	BOOTP
80#options 	BOOTP_NFSROOT
81#options 	BOOTP_COMPAT
82#options 	BOOTP_NFSV3
83#options 	BOOTP_WIRED_TO=ate0
84
85# s2 because s1 is reserved for the DOS parittions sometimes needed to
86# boot off SD cards on the G20 and newer chips.
87options 	ROOTDEVNAME=\"ufs:/dev/mmcsd0s2a\"
88
89# kernel/memory size reduction
90options 	MUTEX_NOINLINE
91options 	NO_FFS_SNAPSHOT
92options 	NO_SWAPPING
93options 	NO_SYSCTL_DESCR
94options 	RWLOCK_NOINLINE
95
96# The `bpf' device enables the Berkeley Packet Filter.
97# Be aware of the administrative consequences of enabling this!
98# Note that 'bpf' is required for DHCP.
99device		bpf			# Berkeley packet filter
100
101# Ethernet
102device		mii			# Minimal MII support
103#device		ate			# Atmel AT91 Ethernet driver
104#options 	AT91_ATE_USE_RMII
105device		macb			# Atmel AT91 Ethernet driver
106options 	AT91_MACB_USE_RMII
107
108# I2C
109device		at91_twi		# Atmel AT91 Two-wire Interface
110device		iic			# I2C generic I/O device driver
111device		iicbus			# I2C bus system
112device		icee
113
114# MMC/SD
115device		at91_mci		# Atmel AT91 Multimedia Card Interface
116options 	AT91_MCI_HAS_4WIRE
117options 	AT91_MCI_SLOT_B
118device		mmc			# MMC/SD bus
119device		mmcsd			# MMC/SD memory card
120
121# DataFlash
122# NOTE: SPI DataFlash and mci/mmc/mmcsd have hardware
123# 	confilict on this card. Use one or the other.
124#       see board_sam9g20ek.c
125#device		at91_spi		# Atmel AT91 Serial Peripheral Interface
126#device		spibus			# SPI bus
127#device		at45d			# at45db642 and maybe others
128
129# Pseudo devices.
130device		loop			# Network loopback
131device		random			# Entropy device
132device		ether			# Ethernet support
133device		md			# Memory "disks"
134
135# SCSI peripherals
136device		scbus			# SCSI bus (required for ATA/SCSI)
137device		da			# Direct Access (disks)
138device		cd			# CD
139device		pass			# Passthrough device (direct ATA/SCSI access)
140
141# Serial (COM) ports
142device		uart			# Multi-uart driver
143options 	ALT_BREAK_TO_DEBUGGER
144
145# USB support
146device		ohci			# OHCI USB interface
147device		usb			# USB Bus (required)
148device		umass			# Disks/Mass storage - Requires scbus and da
149device		uhid			# "Human Interface Devices"
150#device		ulpt			# Printer
151#device		udbp			# USB Double Bulk Pipe devices
152
153# USB Ethernet, requires miibus
154#device		miibus
155#device		aue			# ADMtek USB Ethernet
156#device		axe			# ASIX Electronics USB Ethernet
157#device		cdce			# Generic USB over Ethernet
158#device		cue			# CATC USB Ethernet
159#device		kue			# Kawasaki LSI USB Ethernet
160#device		rue			# RealTek RTL8150 USB Ethernet
161#device		udav			# Davicom DM9601E USB
162
163# USB Wireless
164#device		rum			# Ralink Technology RT2501USB wireless NICs
165#device		uath			# Atheros AR5523 wireless NICs
166#device		ural			# Ralink Technology RT2500USB wireless NICs
167#device		zyd			# ZyDAS zd1211/zd1211b wireless NICs
168
169# Wireless NIC cards
170#device		wlan			# 802.11 support
171#device		wlan_wep		# 802.11 WEP support
172#device		wlan_ccmp		# 802.11 CCMP support
173#device		wlan_tkip		# 802.11 TKIP support
174#device		wlan_amrr		# AMRR transmit rate control algorithm
175
176# watchdog
177device		at91_wdt		# Atmel AT91 Watchdog Timer
178
179# NAND Flash - Reference design has Samsung 256MB but others possible
180device		nand			# NAND interface on CS3
181