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