HL201 revision 282694
1# Kernel configuration for the AT91SAM9G20 based Hot-e configuration file
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# 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: head/sys/arm/conf/HL201 282694 2015-05-09 21:24:55Z andrew $
19
20#NO_UNIVERSE
21
22ident		HL201
23
24include 	"std.arm"
25include 	"../at91/std.hl201"
26
27makeoptions	MODULES_OVERRIDE=""
28
29makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
30
31options 	SCHED_4BSD		# 4BSD scheduler
32options 	INET			# InterNETworking
33#options 	INET6			# IPv6 communications protocols
34options 	FFS			# Berkeley Fast Filesystem
35#options 	SOFTUPDATES		# Enable FFS soft updates support
36#options 	UFS_ACL			# Support for access control lists
37#options 	UFS_DIRHASH		# Improve performance on big directories
38#options 	MD_ROOT			# MD is a potential root device
39#options 	MD_ROOT_SIZE=4096	# 4MB ram disk
40options 	NANDFS			# NAND file system
41options 	NFSCL			# Network Filesystem Client
42#options 	NFSD			# Network Filesystem Server
43#options 	NFSLOCKD		# Network Lock Manager
44options 	NFS_ROOT		# NFS usable as /, requires NFSCL
45options 	TMPFS			# Efficient memory filesystem
46#options 	MSDOSFS			# MSDOS Filesystem
47#options 	CD9660			# ISO 9660 Filesystem
48#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
49options 	PSEUDOFS		# Pseudo-filesystem framework
50options 	GEOM_PART_BSD		# BSD partition scheme
51options 	GEOM_PART_MBR		# MBR partition scheme
52#options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
53#options 	KTRACE			# ktrace(1) support
54options 	SYSVSHM			# SYSV-style shared memory
55options 	SYSVMSG			# SYSV-style message queues
56options 	SYSVSEM			# SYSV-style semaphores
57options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
58
59# Debugging for use in -current
60options 	KDB			# Enable kernel debugger support
61options 	DDB			# Enable the kernel debugger
62#options 	INVARIANTS		# Enable calls of extra sanity checking
63#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
64#options 	WITNESS			# Enable checks to detect deadlocks and cycles
65#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
66#options 	DIAGNOSTIC
67
68# NFS root from boopt/dhcp
69#options 	BOOTP
70#options 	BOOTP_NFSROOT
71#options 	BOOTP_COMPAT
72#options 	BOOTP_NFSV3
73#options 	BOOTP_WIRED_TO=ate0
74
75options 	ROOTDEVNAME=\"ufs:/dev/mmcsd0s1a\"
76
77# kernel/memory size reduction
78options 	MUTEX_NOINLINE
79options 	NO_FFS_SNAPSHOT
80options 	NO_SWAPPING
81options 	RWLOCK_NOINLINE
82
83# The `bpf' device enables the Berkeley Packet Filter.
84# Be aware of the administrative consequences of enabling this!
85# Note that 'bpf' is required for DHCP.
86device		bpf			# Berkeley packet filter
87
88# Ethernet
89device		mii			# Minimal MII support
90device		ate			# Atmel AT91 Ethernet driver
91device		lxtphy
92
93# I2C
94device		at91_twi		# Atmel AT91 Two-wire Interface
95device		iic			# I2C generic I/O device driver
96device		iicbus			# I2C bus system
97
98# DataFlash
99device		at91_spi		# Atmel AT91 Serial Peripheral Interface
100device		spibus			# SPI bus
101device		at45d			# Atmel AT45D
102
103# Pseudo devices.
104device		loop			# Network loopback
105device		random			# Entropy device
106device		ether			# Ethernet support
107device		md			# Memory "disks"
108
109# SCSI peripherals
110device		scbus			# SCSI bus (required for ATA/SCSI)
111device		da			# Direct Access (disks)
112device		cd			# CD
113device		pass			# Passthrough device (direct ATA/SCSI access)
114
115# Serial (COM) ports
116device		uart			# Multi-uart driver
117options 	ALT_BREAK_TO_DEBUGGER
118
119# USB support
120device		ohci			# OHCI USB interface
121device		usb			# USB Bus (required)
122#device		udbp			# USB Double Bulk Pipe devices
123device		uhid			# "Human Interface Devices"
124#device		ulpt			# Printer
125device		umass			# Disks/Mass storage - Requires scbus and da
126
127# USB Ethernet, requires miibus
128device		miibus
129#device		aue			# ADMtek USB Ethernet
130#device		axe			# ASIX Electronics USB Ethernet
131#device		cdce			# Generic USB over Ethernet
132#device		cue			# CATC USB Ethernet
133#device		kue			# Kawasaki LSI USB Ethernet
134#device		rue			# RealTek RTL8150 USB Ethernet
135#device		udav			# Davicom DM9601E USB
136# USB Wireless
137#device		rum			# Ralink Technology RT2501USB wireless NICs
138#device		uath			# Atheros AR5523 wireless NICs
139#device		ural			# Ralink Technology RT2500USB wireless NICs
140#device		zyd			# ZyDAS zd1211/zd1211b wireless NICs
141
142# Wireless NIC cards
143#device		wlan			# 802.11 support
144#device		wlan_wep		# 802.11 WEP support
145#device		wlan_ccmp		# 802.11 CCMP support
146#device		wlan_tkip		# 802.11 TKIP support
147#device		wlan_amrr		# AMRR transmit rate control algorithm
148options 	ROOTDEVNAME=\"ufs:da0s1a\"
149
150# watchdog
151device		at91_wdt		# Atmel AT91 Watchdog Timer
152
153# NAND Flash - my board as 128MB Samsung part, YMMV.
154device		nand			# NAND interface on CS3
155
156# Coming soon, but not yet
157options 	FDT
158options 	FDT_DTB_STATIC
159makeoptions	FDT_DTS_FILE=hl201.dts
160
161options 	EARLY_PRINTF
162options 	SOCDEV_PA=0xfc000000
163options 	SOCDEV_VA=0xdc000000
164