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