ETHERNUT5 revision 266331
1235348Smarius# Kernel configuration for Ethernut 5 boards
2235348Smarius#
3235348Smarius# For more information on this file, please read the config(5) manual page,
4235348Smarius# and/or the handbook section on Kernel Configuration Files:
5235348Smarius#
6235348Smarius#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7235348Smarius#
8235348Smarius# The handbook is also available locally in /usr/share/doc/handbook
9235348Smarius# if you've installed the doc distribution, otherwise always see the
10235348Smarius# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11235348Smarius# latest information.
12235348Smarius#
13235348Smarius# An exhaustive list of options and more detailed explanations of the
14235348Smarius# device lines is also present in the ../../conf/NOTES and NOTES files.
15235348Smarius# If you are in doubt as to the purpose or necessity of a line, check first
16235348Smarius# in NOTES.
17235348Smarius#
18235348Smarius# $FreeBSD: stable/10/sys/arm/conf/ETHERNUT5 266331 2014-05-17 17:34:37Z ian $
19235348Smarius
20235348Smariusident		ETHERNUT5
21235348Smarius
22235348Smariusinclude "../at91/std.ethernut5"
23235348Smarius
24235348Smarius# To statically compile in device wiring instead of /boot/device.hints
25235348Smariushints		"ETHERNUT5.hints"
26235348Smarius
27235348Smarius#makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
28235348Smarius
29235348Smariusoptions 	SCHED_4BSD		# 4BSD scheduler
30235348Smarius#options 	PREEMPTION		# Enable kernel thread preemption
31235348Smariusoptions 	INET			# InterNETworking
32235348Smarius#options 	INET6			# IPv6 communications protocols
33235348Smarius#options 	SCTP			# Stream Control Transmission Protocol
34235348Smariusoptions 	FFS			# Berkeley Fast Filesystem
35235348Smariusoptions 	SOFTUPDATES		# Enable FFS soft updates support
36235348Smarius#options 	UFS_ACL			# Support for access control lists
37235348Smariusoptions 	UFS_DIRHASH		# Improve performance on big directories
38235348Smarius#options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
39235348Smarius#options 	MD_ROOT			# MD is a potential root device
40235348Smariusoptions 	NFSCL			# New Network Filesystem Client
41235348Smarius#options 	NFSD			# New Network Filesystem Server
42235348Smariusoptions 	NFSLOCKD		# Network Lock Manager
43235348Smariusoptions 	NFS_ROOT		# NFS usable as /, requires NFSCL
44266328Sianoptions 	GEOM_PART_BSD		# BSD partition scheme
45266328Sianoptions 	GEOM_PART_MBR		# MBR partition scheme
46266331Sianoptions 	TMPFS			# Efficient memory filesystem
47235348Smarius#options 	MSDOSFS			# MSDOS Filesystem
48235348Smarius#options 	CD9660			# ISO 9660 Filesystem
49235348Smarius#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
50235348Smarius#options 	PSEUDOFS		# Pseudo-filesystem framework
51235348Smarius#options 	GEOM_PART_GPT		# GUID Partition Tables.
52235348Smarius#options 	GEOM_LABEL		# Provides labelization
53235348Smarius#options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
54235348Smarius#options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
55235348Smarius#options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
56235348Smariusoptions 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
57235348Smariusoptions 	KTRACE			# ktrace(1) support
58235348Smarius#options 	STACK			# stack(9) support
59235348Smariusoptions 	SYSVSHM			# SYSV-style shared memory
60235348Smariusoptions 	SYSVMSG			# SYSV-style message queues
61235348Smariusoptions 	SYSVSEM			# SYSV-style semaphores
62235348Smariusoptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
63235348Smariusoptions 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
64235348Smarius#options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
65235348Smarius#options 	AUDIT			# Security event auditing
66235348Smarius#options 	CAPABILITY_MODE		# Capsicum capability mode
67235348Smarius#options 	CAPABILITIES		# Capsicum capabilities
68235348Smarius#options 	MAC			# TrustedBSD MAC Framework
69235348Smarius#options 	INCLUDE_CONFIG_FILE	# Include this file in kernel
70235348Smarius
71235348Smarius# required for netbooting
72236497Smariusoptions 	BOOTP
73236497Smariusoptions 	BOOTP_COMPAT
74235348Smariusoptions 	BOOTP_NFSROOT
75235348Smariusoptions 	BOOTP_NFSV3
76235348Smariusoptions 	BOOTP_WIRED_TO=ate0
77235348Smarius
78235348Smarius# alternatively, boot from a MMC/SD memory card
79235348Smarius#options 	ROOTDEVNAME=\"ufs:/dev/mmcsd0a\"
80235348Smarius
81235348Smarius# kernel/memory size reduction
82235348Smariusoptions 	MUTEX_NOINLINE
83235348Smariusoptions 	NO_FFS_SNAPSHOT
84235348Smariusoptions 	NO_SWAPPING
85235348Smariusoptions 	NO_SYSCTL_DESCR
86235348Smariusoptions 	RWLOCK_NOINLINE
87235348Smarius
88235348Smarius# Debugging support.  Always need this:
89235348Smarius#options 	KDB			# Enable kernel debugger support.
90235348Smarius# For minimum debugger support (stable branch) use:
91235348Smarius#options 	KDB_TRACE		# Print a stack trace for a panic.
92235348Smarius# For full debugger support use this instead:
93235348Smarius#options 	DDB			# Support DDB.
94235348Smarius#options 	GDB			# Support remote GDB.
95235348Smarius#options 	DEADLKRES		# Enable the deadlock resolver
96235348Smarius#options 	INVARIANTS		# Enable calls of extra sanity checking
97235348Smarius#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
98235348Smarius#options 	WITNESS			# Enable checks to detect deadlocks and cycles
99235348Smarius#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
100235348Smarius#options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
101235348Smarius
102235348Smarius# The `bpf' device enables the Berkeley Packet Filter.
103235348Smarius# Be aware of the administrative consequences of enabling this!
104235348Smarius# Note that 'bpf' is required for DHCP.
105266328Siandevice		bpf			# Berkeley packet filter
106235348Smarius
107235348Smarius# Ethernet
108266328Siandevice		mii			# Minimal MII support
109266328Siandevice		ate			# Atmel AT91 Ethernet driver
110235348Smarius
111235348Smarius# I2C
112266328Siandevice		at91_twi		# Atmel AT91 Two-wire Interface
113266328Siandevice		iic			# I2C generic I/O device driver
114266328Siandevice		iicbus			# I2C bus system
115266328Siandevice		pcf8563			# NXP PCF8563 clock/calendar
116235348Smarius
117235348Smarius# MMC/SD
118266328Siandevice		at91_mci		# Atmel AT91 Multimedia Card Interface
119235348Smariusoptions 	AT91_MCI_HAS_4WIRE
120266328Siandevice		mmc			# MMC/SD bus
121266328Siandevice		mmcsd			# MMC/SD memory card
122235348Smarius
123236497Smarius# DataFlash
124266328Siandevice		at91_spi		# Atmel AT91 Serial Peripheral Interface
125266328Siandevice		spibus			# SPI bus
126266328Siandevice		at45d			# Atmel AT45D
127266328Siandevice		geom_map		# GEOM partition mapping
128235348Smarius
129235348Smarius# Pseudo devices.
130266328Siandevice		loop			# Network loopback
131266328Siandevice		random			# Entropy device
132266328Siandevice		ether			# Ethernet support
133266328Sian#device		vlan			# 802.1Q VLAN support
134266328Sian#device		tun			# Packet tunnel.
135266328Sian#device		md			# Memory "disks"
136266328Sian#device		gif			# IPv6 and IPv4 tunneling
137266328Sian#device		faith			# IPv6-to-IPv4 relaying (translation)
138266328Sian#device		firmware		# firmware assist module
139235348Smarius
140235348Smarius# SCSI peripherals
141266328Sian#device		scbus			# SCSI bus (required for ATA/SCSI)
142266328Sian#device		ch			# SCSI media changers
143266328Sian#device		da			# Direct Access (disks)
144266328Sian#device		sa			# Sequential Access (tape etc)
145266328Sian#device		cd			# CD
146266328Sian#device		pass			# Passthrough device (direct ATA/SCSI access)
147266328Sian#device		ses			# Enclosure Services (SES and SAF-TE)
148266328Sian#device		ctl			# CAM Target Layer
149235348Smarius
150235348Smarius# Serial (COM) ports
151266328Siandevice		uart			# Multi-uart driver
152235348Smariusoptions 	ALT_BREAK_TO_DEBUGGER
153235348Smarius
154235348Smarius# USB support
155266328Sian#options 	USB_DEBUG		# enable debug msgs
156266328Siandevice		ohci			# OHCI USB interface
157266328Siandevice		usb			# USB Bus (required)
158266328Sian#device		umass			# Disks/Mass storage - Requires scbus and da
159235348Smarius
160235348Smarius# watchdog
161266328Siandevice		at91_wdt		# Atmel AT91 Watchdog Timer
162