SAM9G20EK revision 292557
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 292557 2015-12-21 18:27:51Z 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# s3 because s1 is reserved for the DOS parittions sometimes needed to
86# boot off SD cards on the G20 and newer chips. s2 is reserved for
87# nanobsd's config partition. s3 and s4 are for the ping-pong upgrade
88# path.
89options 	ROOTDEVNAME=\"ufs:/dev/mmcsd0s3a\"
90
91# kernel/memory size reduction
92options 	MUTEX_NOINLINE
93options 	NO_FFS_SNAPSHOT
94options 	NO_SWAPPING
95options 	NO_SYSCTL_DESCR
96options 	RWLOCK_NOINLINE
97
98# The `bpf' device enables the Berkeley Packet Filter.
99# Be aware of the administrative consequences of enabling this!
100# Note that 'bpf' is required for DHCP.
101device		bpf			# Berkeley packet filter
102
103# Ethernet
104device		mii			# Minimal MII support
105#device		ate			# Atmel AT91 Ethernet driver
106#options 	AT91_ATE_USE_RMII
107device		macb			# Atmel AT91 Ethernet driver
108options 	AT91_MACB_USE_RMII
109
110# I2C
111device		at91_twi		# Atmel AT91 Two-wire Interface
112device		iic			# I2C generic I/O device driver
113device		iicbus			# I2C bus system
114device		icee
115
116# MMC/SD
117device		at91_mci		# Atmel AT91 Multimedia Card Interface
118options 	AT91_MCI_HAS_4WIRE
119options 	AT91_MCI_SLOT_B
120device		mmc			# MMC/SD bus
121device		mmcsd			# MMC/SD memory card
122
123# DataFlash
124# NOTE: SPI DataFlash and mci/mmc/mmcsd have hardware
125# 	confilict on this card. Use one or the other.
126#       see board_sam9g20ek.c
127#device		at91_spi		# Atmel AT91 Serial Peripheral Interface
128#device		spibus			# SPI bus
129#device		at45d			# at45db642 and maybe others
130
131# Pseudo devices.
132device		loop			# Network loopback
133device		random			# Entropy device
134device		ether			# Ethernet support
135device		md			# Memory "disks"
136
137# SCSI peripherals
138device		scbus			# SCSI bus (required for ATA/SCSI)
139device		da			# Direct Access (disks)
140device		cd			# CD
141device		pass			# Passthrough device (direct ATA/SCSI access)
142
143# Serial (COM) ports
144device		uart			# Multi-uart driver
145options 	ALT_BREAK_TO_DEBUGGER
146
147# USB support
148device		ohci			# OHCI USB interface
149device		usb			# USB Bus (required)
150device		umass			# Disks/Mass storage - Requires scbus and da
151device		uhid			# "Human Interface Devices"
152#device		ulpt			# Printer
153#device		udbp			# USB Double Bulk Pipe devices
154
155# USB Ethernet, requires miibus
156#device		miibus
157#device		aue			# ADMtek USB Ethernet
158#device		axe			# ASIX Electronics USB Ethernet
159#device		cdce			# Generic USB over Ethernet
160#device		cue			# CATC USB Ethernet
161#device		kue			# Kawasaki LSI USB Ethernet
162#device		rue			# RealTek RTL8150 USB Ethernet
163#device		udav			# Davicom DM9601E USB
164
165# USB Wireless
166#device		rum			# Ralink Technology RT2501USB wireless NICs
167#device		uath			# Atheros AR5523 wireless NICs
168#device		ural			# Ralink Technology RT2500USB wireless NICs
169#device		zyd			# ZyDAS zd1211/zd1211b wireless NICs
170
171# Wireless NIC cards
172#device		wlan			# 802.11 support
173#device		wlan_wep		# 802.11 WEP support
174#device		wlan_ccmp		# 802.11 CCMP support
175#device		wlan_tkip		# 802.11 TKIP support
176#device		wlan_amrr		# AMRR transmit rate control algorithm
177
178# watchdog
179device		at91_wdt		# Atmel AT91 Watchdog Timer
180
181# NAND Flash - Reference design has Samsung 256MB but others possible
182device		nand			# NAND interface on CS3
183