EB9200 revision 282694
1# EB9200 - Custom kernel for the Embest ATEB9200 AT91RM9200 evaluation board.
2#
3# For more information on this file, please read the handbook section on
4# Kernel Configuration Files:
5#
6#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7#
8# An exhaustive list of options and more detailed explanations of the
9# device lines is also present in the ../../conf/NOTES and NOTES files.
10# If you are in doubt as to the purpose or necessity of a line, check first
11# in NOTES.
12#
13# $FreeBSD: head/sys/arm/conf/EB9200 282694 2015-05-09 21:24:55Z andrew $
14
15#NO_UNIVERSE
16
17ident		EB9200
18
19include 	"std.arm"
20include 	"../at91/std.eb9200"
21# The AT91 platform doesn't use /boot/loader, so we have to statically wire
22# hints.
23hints		"EB9200.hints"
24makeoptions	MODULES_OVERRIDE=""
25
26makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
27
28options 	SCHED_4BSD		# 4BSD scheduler
29options 	INET			# InterNETworking
30#options 	INET6			# IPv6 communications protocols
31options 	FFS			# Berkeley Fast Filesystem
32#options 	SOFTUPDATES		# Enable FFS soft updates support
33#options 	UFS_ACL			# Support for access control lists
34#options 	UFS_DIRHASH		# Improve performance on big directories
35#options 	MD_ROOT			# MD is a potential root device
36#options 	MD_ROOT_SIZE=4096	# 4MB ram disk
37#options 	ROOTDEVNAME=\"ufs:/dev/da0s1a\"
38options 	NFSCL			# Network Filesystem Client
39options 	NFSD			# Network Filesystem Server
40options 	NFSLOCKD		# Network Lock Manager
41options 	NFS_ROOT		# NFS usable as /, requires NFSCL
42options 	TMPFS			# Efficient memory filesystem
43#options 	MSDOSFS			# MSDOS Filesystem
44#options 	CD9660			# ISO 9660 Filesystem
45#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
46options 	PSEUDOFS		# Pseudo-filesystem framework
47options 	GEOM_PART_BSD		# BSD partition scheme
48options 	GEOM_PART_MBR		# MBR partition scheme
49#options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
50#options 	KTRACE			# ktrace(1) support
51options 	SYSVSHM			# SYSV-style shared memory
52options 	SYSVMSG			# SYSV-style message queues
53options 	SYSVSEM			# SYSV-style semaphores
54options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
55
56# Debugging for use in -current
57options 	KDB			# Enable kernel debugger support
58options 	DDB			# Enable the kernel debugger
59#options 	DEADLKRES		# Enable the deadlock resolver
60#options 	INVARIANTS		# Enable calls of extra sanity checking
61#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
62#options 	WITNESS			# Enable checks to detect deadlocks and cycles
63#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
64
65# NFS root from boopt/dhcp
66options 	BOOTP
67options 	BOOTP_NFSROOT
68
69# Disable the inlining of mutex, rwlock and sx locks.  These eat up a lot
70# of space.
71options 	MUTEX_NOINLINE
72options 	SX_NOINLINE
73options 	NO_FFS_SNAPSHOT
74options 	NO_SWAPPING
75#options 	NO_SYSCTL_DESCR
76options 	RWLOCK_NOINLINE
77
78# The `bpf' device enables the Berkeley Packet Filter.
79# Be aware of the administrative consequences of enabling this!
80# Note that 'bpf' is required for DHCP.
81device		bpf			# Berkeley packet filter
82
83# Ethernet
84device		ate			# Atmel AT91 Ethernet driver
85device		miibus
86#device		lxtphy
87
88# I2C
89device		at91_twi		# Atmel AT91 Two-wire Interface
90device		iic			# I2C generic I/O device driver
91device		iicbus			# I2C bus system
92device		icee
93
94# MMC/SD
95device		at91_mci		# Atmel AT91 Multimedia Card Interface
96device		mmc			# MMC/SD bus
97device		mmcsd			# MMC/SD memory card
98
99device		at91_spi		# Atmel AT91 Serial Peripheral Interface
100device		spibus			# SPI bus
101
102# Pseudo devices.
103device		loop			# Network loopback
104device		random			# Entropy device
105device		ether			# Ethernet support
106device		md			# Memory "disks"
107
108# SCSI peripherals
109device		scbus			# SCSI bus (required for ATA/SCSI)
110device		da			# Direct Access (disks)
111device		cd			# CD
112device		pass			# Passthrough device (direct ATA/SCSI access)
113
114# Serial (COM) ports
115device		uart			# Multi-uart driver
116
117# USB support
118options 	USB_DEBUG		# enable debug msgs
119device		ohci			# OHCI USB interface
120device		usb			# USB Bus (required)
121device		umass			# Disks/Mass storage - Requires scbus and da
122
123# USB device (gadget) support
124#device		at91_dci		# Atmel's usb device
125#device		usfs			# emulate a flash
126#device		cdce			# emulate an ethernet
127#device		usb_template		# Control of the gadget
128
129device		at91_cfata
130device		ata
131