ATMEL revision 238189
1# Kernel configuration to test compile all the atmel bits with one
2# configuration.  This kernel will not (presently) boot.  Do not copy
3# it to create your own custom config file.
4#
5# $FreeBSD: head/sys/arm/conf/ATMEL 238189 2012-07-07 05:02:39Z imp $
6
7ident		ATMEL
8
9include "../at91/std.atmel"
10
11# Arbitrary values for testing purposes.
12options 	STARTUP_PAGETABLE_ADDR=0x20800000
13makeoptions	KERNPHYSADDR=0x20000000
14makeoptions	KERNVIRTADDR=0xc0000000
15options 	KERNPHYSADDR=0x20000000
16options 	KERNVIRTADDR=0xc0000000
17
18makeoptions	MODULES_OVERRIDE=""
19
20# list all boards here, but not just yet (no multiboard in mainline).
21options 	ARM_MANY_BOARD
22device		at91_board_bwct
23device		at91_board_ethernut5
24device		at91_board_hl200
25device		at91_board_hl201
26device		at91_board_kb920x
27device		at91_board_qila9g20
28device		at91_board_sam9g20ek
29device		at91_board_sam9x25ek
30device		at91_board_tsc4370
31
32#makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
33
34options 	SCHED_4BSD		# 4BSD scheduler
35#options 	PREEMPTION		# Enable kernel thread preemption
36options 	INET			# InterNETworking
37options 	INET6			# IPv6 communications protocols
38options 	SCTP			# Stream Control Transmission Protocol
39options 	FFS			# Berkeley Fast Filesystem
40options 	SOFTUPDATES		# Enable FFS soft updates support
41options 	UFS_ACL			# Support for access control lists
42options 	UFS_DIRHASH		# Improve performance on big directories
43options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
44options 	MD_ROOT			# MD is a potential root device
45options 	NFSCL			# New Network Filesystem Client
46options 	NFSD			# New Network Filesystem Server
47options 	NFSLOCKD		# Network Lock Manager
48options 	NFS_ROOT		# NFS usable as /, requires NFSCL
49options 	MSDOSFS			# MSDOS Filesystem
50options 	CD9660			# ISO 9660 Filesystem
51options 	PROCFS			# Process filesystem (requires PSEUDOFS)
52options 	PSEUDOFS		# Pseudo-filesystem framework
53options 	GEOM_PART_GPT		# GUID Partition Tables.
54options 	GEOM_LABEL		# Provides labelization
55options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
56options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
57options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
58options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
59options 	KTRACE			# ktrace(1) support
60options 	STACK			# stack(9) support
61options 	SYSVSHM			# SYSV-style shared memory
62options 	SYSVMSG			# SYSV-style message queues
63options 	SYSVSEM			# SYSV-style semaphores
64options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
65options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
66#options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
67#options 	AUDIT			# Security event auditing
68#options 	CAPABILITY_MODE		# Capsicum capability mode
69#options 	CAPABILITIES		# Capsicum capabilities
70#options 	MAC			# TrustedBSD MAC Framework
71#options 	INCLUDE_CONFIG_FILE	# Include this file in kernel
72
73# required for netbooting
74options 	BOOTP
75options 	BOOTP_COMPAT
76options 	BOOTP_NFSROOT
77options 	BOOTP_NFSV3
78options 	BOOTP_WIRED_TO=ate0
79
80# alternatively, boot from a MMC/SD memory card
81#options 	ROOTDEVNAME=\"ufs:/dev/mmcsd0a\"
82
83# kernel/memory size reduction
84options 	MUTEX_NOINLINE
85options 	NO_FFS_SNAPSHOT
86options 	NO_SWAPPING
87options 	NO_SYSCTL_DESCR
88options 	RWLOCK_NOINLINE
89
90# Debugging support.  Always need this:
91options 	KDB			# Enable kernel debugger support.
92# For minimum debugger support (stable branch) use:
93options 	KDB_TRACE		# Print a stack trace for a panic.
94# For full debugger support use this instead:
95options 	DDB			# Support DDB.
96options 	GDB			# Support remote GDB.
97#options 	DEADLKRES		# Enable the deadlock resolver
98#options 	INVARIANTS		# Enable calls of extra sanity checking
99#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
100#options 	WITNESS			# Enable checks to detect deadlocks and cycles
101#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
102#options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
103
104# The `bpf' device enables the Berkeley Packet Filter.
105# Be aware of the administrative consequences of enabling this!
106# Note that 'bpf' is required for DHCP.
107device		bpf		# Berkeley packet filter
108
109# Ethernet
110device		mii		# Minimal MII support
111device		ate		# Atmel AT91 Ethernet friver
112
113# I2C
114device		at91_twi	# Atmel AT91 Two-wire Interface
115device		iic		# I2C generic I/O device driver
116device		iicbus		# I2C bus system
117device		pcf8563		# NXP PCF8563 clock/calendar
118
119# MMC/SD
120device		at91_mci	# Atmel AT91 Multimedia Card Interface
121options 	AT91_MCI_HAS_4WIRE
122device		mmc		# MMC/SD bus
123device		mmcsd		# MMC/SD memory card
124
125# DataFlash
126device		at91_spi	# Atmel AT91 Serial Peripheral Interface
127device		spibus		# SPI bus
128device		at45d		# Atmel AT45D
129device		geom_map	# GEOM partition mapping
130
131# Pseudo devices.
132device		loop		# Network loopback
133device		random		# Entropy device
134device		ether		# Ethernet support
135device		vlan		# 802.1Q VLAN support
136device		tun		# Packet tunnel.
137device		md		# Memory "disks"
138device		gif		# IPv6 and IPv4 tunneling
139device		faith		# IPv6-to-IPv4 relaying (translation)
140#device		firmware	# firmware assist module
141
142# SCSI peripherals
143device		scbus		# SCSI bus (required for ATA/SCSI)
144device		ch		# SCSI media changers
145device		da		# Direct Access (disks)
146device		sa		# Sequential Access (tape etc)
147device		cd		# CD
148device		pass		# Passthrough device (direct ATA/SCSI access)
149device		ses		# Enclosure Services (SES and SAF-TE)
150device		ctl		# CAM Target Layer
151
152# Serial (COM) ports
153device		uart		# Multi-uart driver
154options 	ALT_BREAK_TO_DEBUGGER
155
156# USB support
157options 	USB_DEBUG	# enable debug msgs
158device		ohci		# OHCI PCI->USB interface
159device		usb		# USB Bus (required)
160device		umass		# Disks/Mass storage - Requires scbus and da
161
162# watchdog
163device		at91_wdt	# Atmel AT91 Watchdog Timer
164
165device		at91_rtc
166device		at91_ssc
167#device		at91_tc		# missing?
168