DREAMPLUG-1001 revision 253845
1# Kernel config for GlobalScale Technologies DreamPlug version 1001.
2#
3# This is for units that are version 10, revision 01, with NOR SPI flash.
4# These units are identified with the number "1001" on the S/N label.
5#
6# For more information on this file, please read the handbook section on
7# Kernel Configuration Files:
8#
9#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
10#
11# The handbook is also available locally in /usr/share/doc/handbook
12# if you've installed the doc distribution, otherwise always see the
13# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
14# latest information.
15#
16# An exhaustive list of options and more detailed explanations of the
17# device lines is also present in the ../../conf/NOTES and NOTES files. 
18# If you are in doubt as to the purpose or necessity of a line, check first 
19# in NOTES.
20#
21# $FreeBSD: head/sys/arm/conf/DREAMPLUG-1001 253845 2013-07-31 17:21:18Z obrien $
22#
23
24ident		DREAMPLUG-1001
25
26include		"../mv/kirkwood/std.db88f6xxx"
27
28makeoptions	FDT_DTS_FILE=dreamplug-1001.dts
29
30makeoptions	MODULES_OVERRIDE=""
31
32options 	SOC_MV_KIRKWOOD
33
34options 	SCHED_4BSD		#4BSD scheduler
35options 	INET			#InterNETworking
36options 	INET6			#IPv6 communications protocols
37options 	SOFTUPDATES
38options 	CD9660			#ISO 9660 filesystem
39options 	FFS			#Berkeley Fast Filesystem
40options 	MSDOSFS			#MS DOS File System (FAT, FAT32)
41options 	NULLFS			#NULL filesystem
42options 	TMPFS			#Efficient memory filesystem
43options 	SYSVSHM			#SYSV-style shared memory
44options 	SYSVMSG			#SYSV-style message queues
45options 	SYSVSEM			#SYSV-style semaphores
46options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
47options 	GEOM_ELI		# Disk encryption.
48options 	GEOM_LABEL		# Providers labelization.
49options 	GEOM_PART_GPT		# GPT partitioning
50
51# Flattened Device Tree
52device		fdt
53options 	FDT
54options 	FDT_DTB_STATIC
55
56# Misc pseudo devices
57device		bpf			#Required for DHCP
58device  	faith			#IPv6-to-IPv4 relaying (translation)
59device  	firmware		#firmware(9) required for USB wlan
60device  	gif			#IPv6 and IPv4 tunneling
61device		loop			#Network loopback
62device  	md			#Memory/malloc disk
63device		pty			#BSD-style compatibility pseudo ttys
64device		random			#Entropy device
65device  	tun			#Packet tunnel.
66device		ether			#Required for all ethernet devices
67device  	vlan			#802.1Q VLAN support
68device		wlan			#802.11 WLAN support
69
70# cam support for umass and ahci
71device		scbus
72device		pass
73device		da
74device 		cd
75
76# Serial ports
77device		uart
78
79# Networking
80device		mge			# Marvell Gigabit Ethernet controller
81device		mii
82device		e1000phy
83
84# USB
85options 	USB_HOST_ALIGN=32	# Align DMA to cacheline
86#options	USB_DEBUG       	# Compile in USB debug support
87device  	usb  			# Basic usb support			
88device  	ehci 			# USB host controller
89device  	umass			# Mass storage
90device  	uhid 			# Human-interface devices
91device  	rum  			# Ralink Technology RT2501USB wireless NICs
92device  	uath 			# Atheros AR5523 wireless NICs
93device  	ural 			# Ralink Technology RT2500USB wireless NICs
94device  	zyd  			# ZyDAS zb1211/zb1211b wireless NICs
95device  	urtw 			# Realtek RTL8187B/L USB
96device  	upgt 			# Conexant/Intersil PrismGT SoftMAC USB
97device  	u3g  			# USB-based 3G modems (Option, Huawei, Sierra)
98
99# I2C (TWSI)
100device		iic
101device		iicbus
102
103# SATA
104device		mvs
105device		ahci
106
107# Sound
108device 		sound
109device 		snd_uaudio
110
111#crypto
112device  	cesa			# Marvell security engine
113device  	crypto
114device  	cryptodev
115
116# IPSec
117device  	enc
118options  	IPSEC
119options  	IPSEC_NAT_T
120options  	TCP_SIGNATURE           #include support for RFC 2385
121
122# IPFW
123options  	IPFIREWALL
124options  	IPFIREWALL_DEFAULT_TO_ACCEPT
125options  	IPFIREWALL_VERBOSE
126options  	IPFIREWALL_VERBOSE_LIMIT=100
127options  	IPFIREWALL_NAT
128options  	LIBALIAS
129options  	DUMMYNET
130options  	IPDIVERT
131
132#PF 
133device  	pf
134device  	pflog
135device  	pfsync
136
137# ALTQ, required for PF
138options  	ALTQ      	      # Basic ALTQ support
139options  	ALTQ_CBQ  	      # Class Based Queueing
140options  	ALTQ_RED  	      # Random Early Detection
141options  	ALTQ_RIO  	      # RED In/Out
142options  	ALTQ_HFSC 	      # Hierarchical Packet Scheduler
143options  	ALTQ_CDNR 	      # Traffic conditioner
144options  	ALTQ_PRIQ 	      # Priority Queueing
145options  	ALTQ_NOPCC	      # Required if the TSC is unusable
146#options 	ALTQ_DEBUG
147
148# Debugging
149makeoptions 	DEBUG=-g		#Build kernel with gdb(1) debug symbols
150options 	BREAK_TO_DEBUGGER
151options 	ALT_BREAK_TO_DEBUGGER
152options 	DDB
153options 	KDB
154options 	DIAGNOSTIC
155options 	INVARIANTS		#Enable calls of extra sanity checking
156options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
157#options 	WITNESS			#Enable checks to detect deadlocks and cycles
158#options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
159#options 	WITNESS_KDB
160
161# Enable these options for nfs root configured via BOOTP.
162options 	NFSCL			#Network Filesystem Client
163options 	NFSLOCKD		#Network Lock Manager
164#options 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
165#options 	BOOTP
166#options 	BOOTP_NFSROOT
167#options 	BOOTP_NFSV3
168#options 	BOOTP_WIRED_TO=mge0
169
170# If not using BOOTP, use something like one of these...
171#options 	ROOTDEVNAME=\"ufs:/dev/da1a\"
172options 	ROOTDEVNAME=\"ufs:/dev/da1s1a\"
173#options 	ROOTDEVNAME=\"ufs:/dev/da1p10\"
174#options 	ROOTDEVNAME=\"nfs:192.168.0.254/dreamplug\"
175
176# To use this configuration with the (rare) model 1001N (nand flash),
177# create a kernel config file that looks like this:
178#
179# include DREAMPLUG-1001
180# nomakeoptions FDT_DTS_FILE
181# makeoptions	FDT_DTS_FILE=dreamplug-1001N.dts
182# device 	nand
183
184