DREAMPLUG-1001 revision 279850
1245955Sian# Kernel config for GlobalScale Technologies DreamPlug version 1001.
2245955Sian#
3245955Sian# This is for units that are version 10, revision 01, with NOR SPI flash.
4245955Sian# These units are identified with the number "1001" on the S/N label.
5245955Sian#
6245955Sian# For more information on this file, please read the handbook section on
7245955Sian# Kernel Configuration Files:
8245955Sian#
9245955Sian#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
10245955Sian#
11245955Sian# The handbook is also available locally in /usr/share/doc/handbook
12245955Sian# if you've installed the doc distribution, otherwise always see the
13245955Sian# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
14245955Sian# latest information.
15245955Sian#
16245955Sian# An exhaustive list of options and more detailed explanations of the
17245955Sian# device lines is also present in the ../../conf/NOTES and NOTES files. 
18245955Sian# If you are in doubt as to the purpose or necessity of a line, check first 
19245955Sian# in NOTES.
20245955Sian#
21245955Sian# $FreeBSD: head/sys/arm/conf/DREAMPLUG-1001 279850 2015-03-10 14:36:51Z ian $
22245955Sian#
23279850Sian#NO_UNIVERSE
24245955Sian
25245955Sianident		DREAMPLUG-1001
26245955Sian
27245955Sianinclude		"../mv/kirkwood/std.db88f6xxx"
28245955Sian
29245955Sianmakeoptions	FDT_DTS_FILE=dreamplug-1001.dts
30245955Sian
31245955Sianoptions 	SOC_MV_KIRKWOOD
32245955Sian
33263245Simpoptions 	SCHED_4BSD		# 4BSD scheduler
34263245Simpoptions 	INET			# InterNETworking
35263245Simpoptions 	INET6			# IPv6 communications protocols
36245955Sianoptions 	SOFTUPDATES
37263301Simpoptions 	TMPFS			# Efficient memory filesystem
38263245Simpoptions 	CD9660			# ISO 9660 filesystem
39263245Simpoptions 	FFS			# Berkeley Fast Filesystem
40263245Simpoptions 	MSDOSFS			# MS DOS File System (FAT, FAT32)
41263245Simpoptions 	NULLFS			# NULL filesystem
42263245Simpoptions 	SYSVSHM			# SYSV-style shared memory
43263245Simpoptions 	SYSVMSG			# SYSV-style message queues
44263245Simpoptions 	SYSVSEM			# SYSV-style semaphores
45263245Simpoptions 	_KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
46263245Simpoptions 	GEOM_PART_BSD		# BSD partition scheme
47263245Simpoptions 	GEOM_PART_MBR		# MBR partition scheme
48245955Sianoptions 	GEOM_ELI		# Disk encryption.
49245955Sianoptions 	GEOM_LABEL		# Providers labelization.
50245955Sianoptions 	GEOM_PART_GPT		# GPT partitioning
51245955Sian
52245955Sian# Flattened Device Tree
53245955Siandevice		fdt
54245955Sianoptions 	FDT
55245955Sianoptions 	FDT_DTB_STATIC
56245955Sian
57245955Sian# Misc pseudo devices
58263245Simpdevice		bpf			# Required for DHCP
59276004Sandrewdevice		firmware		# firmware(9) required for USB wlan
60276004Sandrewdevice		gif			# IPv6 and IPv4 tunneling
61263245Simpdevice		loop			# Network loopback
62276004Sandrewdevice		md			# Memory/malloc disk
63263245Simpdevice		pty			# BSD-style compatibility pseudo ttys
64263245Simpdevice		random			# Entropy device
65276004Sandrewdevice		tun			# Packet tunnel.
66263245Simpdevice		ether			# Required for all ethernet devices
67276004Sandrewdevice		vlan			# 802.1Q VLAN support
68263245Simpdevice		wlan			# 802.11 WLAN support
69245955Sian
70245955Sian# cam support for umass and ahci
71245955Siandevice		scbus
72245955Siandevice		pass
73245955Siandevice		da
74276004Sandrewdevice		cd
75245955Sian
76245955Sian# Serial ports
77245955Siandevice		uart
78245955Sian
79245955Sian# Networking
80245955Siandevice		mge			# Marvell Gigabit Ethernet controller
81245955Siandevice		mii
82245955Siandevice		e1000phy
83245955Sian
84245955Sian# USB
85245955Sianoptions 	USB_HOST_ALIGN=32	# Align DMA to cacheline
86276004Sandrew#options 	USB_DEBUG       	# Compile in USB debug support
87276004Sandrewdevice		usb  			# Basic usb support			
88276004Sandrewdevice		ehci 			# USB host controller
89276004Sandrewdevice		umass			# Mass storage
90276004Sandrewdevice		uhid 			# Human-interface devices
91276004Sandrewdevice		rum  			# Ralink Technology RT2501USB wireless NICs
92276004Sandrewdevice		uath 			# Atheros AR5523 wireless NICs
93276004Sandrewdevice		ural 			# Ralink Technology RT2500USB wireless NICs
94276004Sandrewdevice		zyd  			# ZyDAS zb1211/zb1211b wireless NICs
95276004Sandrewdevice		urtw 			# Realtek RTL8187B/L USB
96276004Sandrewdevice		upgt 			# Conexant/Intersil PrismGT SoftMAC USB
97276004Sandrewdevice		u3g  			# USB-based 3G modems (Option, Huawei, Sierra)
98245955Sian
99245955Sian# I2C (TWSI)
100245955Siandevice		iic
101245955Siandevice		iicbus
102245955Sian
103245955Sian# SATA
104245955Siandevice		mvs
105245955Siandevice		ahci
106245955Sian
107245955Sian# Sound
108276004Sandrewdevice		sound
109276004Sandrewdevice		snd_uaudio
110245955Sian
111245955Sian#crypto
112276004Sandrewdevice		cesa			# Marvell security engine
113276004Sandrewdevice		crypto
114276004Sandrewdevice		cryptodev
115245955Sian
116245955Sian# IPSec
117276004Sandrewdevice		enc
118276004Sandrewoptions 	IPSEC
119276004Sandrewoptions 	IPSEC_NAT_T
120276004Sandrewoptions 	TCP_SIGNATURE		# include support for RFC 2385
121245955Sian
122245955Sian# IPFW
123276004Sandrewoptions 	IPFIREWALL
124276004Sandrewoptions 	IPFIREWALL_DEFAULT_TO_ACCEPT
125276004Sandrewoptions 	IPFIREWALL_VERBOSE
126276004Sandrewoptions 	IPFIREWALL_VERBOSE_LIMIT=100
127276004Sandrewoptions 	IPFIREWALL_NAT
128276004Sandrewoptions 	LIBALIAS
129276004Sandrewoptions 	DUMMYNET
130276004Sandrewoptions 	IPDIVERT
131245955Sian
132245955Sian#PF 
133276004Sandrewdevice		pf
134276004Sandrewdevice		pflog
135276004Sandrewdevice		pfsync
136245955Sian
137245955Sian# ALTQ, required for PF
138276004Sandrewoptions 	ALTQ			# Basic ALTQ support
139276004Sandrewoptions 	ALTQ_CBQ		# Class Based Queueing
140276004Sandrewoptions 	ALTQ_RED		# Random Early Detection
141276004Sandrewoptions 	ALTQ_RIO		# RED In/Out
142276004Sandrewoptions 	ALTQ_HFSC		# Hierarchical Packet Scheduler
143276004Sandrewoptions 	ALTQ_CDNR		# Traffic conditioner
144276004Sandrewoptions 	ALTQ_PRIQ		# Priority Queueing
145276004Sandrewoptions 	ALTQ_NOPCC		# Required if the TSC is unusable
146245955Sian#options 	ALTQ_DEBUG
147245955Sian
148245955Sian# Debugging
149276004Sandrewmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
150245955Sianoptions 	BREAK_TO_DEBUGGER
151245955Sianoptions 	ALT_BREAK_TO_DEBUGGER
152245955Sianoptions 	DDB
153245955Sianoptions 	KDB
154271050Sian#options 	DIAGNOSTIC
155263245Simpoptions 	INVARIANTS		# Enable calls of extra sanity checking
156263245Simpoptions 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
157263245Simp#options 	WITNESS			# Enable checks to detect deadlocks and cycles
158263245Simp#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
159245955Sian#options 	WITNESS_KDB
160245955Sian
161245955Sian# Enable these options for nfs root configured via BOOTP.
162263245Simpoptions 	NFSCL			# Network Filesystem Client
163263245Simpoptions 	NFSLOCKD		# Network Lock Manager
164276096Srmacklem#options 	NFS_ROOT		# NFS usable as /, requires NFSCL
165245955Sian#options 	BOOTP
166245955Sian#options 	BOOTP_NFSROOT
167245955Sian#options 	BOOTP_NFSV3
168245955Sian#options 	BOOTP_WIRED_TO=mge0
169245955Sian
170245955Sian# If not using BOOTP, use something like one of these...
171245955Sian#options 	ROOTDEVNAME=\"ufs:/dev/da1a\"
172245955Sianoptions 	ROOTDEVNAME=\"ufs:/dev/da1s1a\"
173245955Sian#options 	ROOTDEVNAME=\"ufs:/dev/da1p10\"
174245955Sian#options 	ROOTDEVNAME=\"nfs:192.168.0.254/dreamplug\"
175245955Sian
176245955Sian# To use this configuration with the (rare) model 1001N (nand flash),
177245955Sian# create a kernel config file that looks like this:
178245955Sian#
179245955Sian# include DREAMPLUG-1001
180276004Sandrew# nomakeoptions	FDT_DTS_FILE
181245955Sian# makeoptions	FDT_DTS_FILE=dreamplug-1001N.dts
182245955Sian# device 	nand
183245955Sian
184