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