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