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